From: Sebastian Harl Date: Thu, 29 Oct 2009 08:21:16 +0000 (+0100) Subject: Initial commit. X-Git-Tag: libmpdclient-2.0-1~4 X-Git-Url: https://git.tokkee.org/?p=pkg-libmpdclient.git;a=commitdiff_plain;h=b32c49c888f48fa5a89ef0ae46692f59208cf3bc Initial commit. Packaging of libmpdclient 2.0. --- b32c49c888f48fa5a89ef0ae46692f59208cf3bc diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3cf8f4b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +libmpdclient (2.0-1) unstable; urgency=low + + * Initial release (Closes: #549646). + + -- Sebastian Harl Thu, 22 Oct 2009 00:51:34 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a5726db --- /dev/null +++ b/debian/control @@ -0,0 +1,44 @@ +Source: libmpdclient +Section: libs +Priority: optional +Maintainer: Sebastian Harl +Build-Depends: debhelper (>= 7), autotools-dev, doxygen +Standards-Version: 3.8.3 +Homepage: http://mpd.wikia.com/wiki/ClientLib:libmpdclient +Vcs-Git: git://git.tokkee.org/pkg-libmpdclient.git +Vcs-Browser: http://git.tokkee.org/?p=pkg-libmpdclient.git + +Package: libmpdclient-dev +Section: libdevel +Architecture: any +Depends: libmpdclient2 (= ${binary:Version}) +Description: client library for the Music Player Daemon (development files) + libmpdclient provides an API for interfacing the Music Player Daemon (MPD). It + offers a low-level asynchronous API which knowns the MPD protocol syntax as + well as a higher level synchronous API implementing the MPD commands and + parsing all responses. + . + This package contains the header files and the static library. + +Package: libmpdclient2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: client library for the Music Player Daemon + libmpdclient provides an API for interfacing the Music Player Daemon (MPD). It + offers a low-level asynchronous API which knowns the MPD protocol syntax as + well as a higher level synchronous API implementing the MPD commands and + parsing all responses. + . + This package contains the shared library. + +Package: libmpdclient-doc +Section: doc +Architecture: all +Description: client library for the Music Player Daemon (API documentation) + libmpdclient provides an API for interfacing the Music Player Daemon (MPD). It + offers a low-level asynchronous API which knowns the MPD protocol syntax as + well as a higher level synchronous API implementing the MPD commands and + parsing all responses. + . + This package contains the API documentation. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..99f7161 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,98 @@ +This package was debianized by Sebastian Harl on +Thu, 22 Oct 2009 00:51:34 +0200. + +It was downloaded from . + +Upstream Author: + Core Developer: + Max Kellermann + + For individual credits, see AUTHORS. + +Copyright Holders (in alphabetical order): + Matteo Frigo + Steven G. Johnson + The Music Player Daemon Project + +License: + + File m4/ax_check_compiler_flags.m4: + Copyright © 2009 Steven G. Johnson + Copyright © 2009 Matteo Frigo + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General + Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program. If not, see . + + As a special exception, the respective Autoconf Macro's copyright owner + gives unlimited permission to copy, distribute and modify the configure + scripts that are the output of Autoconf when processing the Macro. You + need not follow the terms of the GNU General Public License when using + or distributing such scripts, even though portions of the text of the + Macro appear in them. The GNU General Public License (GPL) does govern + all other use of the material that constitutes the Autoconf Macro. + + This special exception to the GPL applies to versions of the Autoconf + Macro released by the Autoconf Archive. When you make and distribute a + modified version of the Autoconf Macro, you may extend this special + exception to the GPL to apply to your modified version as well. + +On Debian systems, the complete text of the GNU General Public License, +version 3, can be found in `/usr/share/common-licenses/GPL-3'. The complete +text of the latest version can be found in `/usr/share/common-licenses/GPL'. + + Files m4/libtool.m4, m4/lt~obsolete.m4, m4/ltoptions.m4, m4/ltsugar.m4, + m4/ltversion.m4: + Copyright © 1996-2008 Free Software Foundation, Inc. + + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + All other files: + Copyright © 2003-2009 The Music Player Daemon Project + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of the Music Player Daemon nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + Some files are licensed under the above mentioned 3-clause BSD License, + while any others are licensed under the 2-clause BSD License, which does + not include the third (endorsement / promotion) clause. + +The Debian packaging is © 2009, Sebastian Harl and is +licensed under the 2-clause BSD License, see above (without the endorsement / +promotion clause). + diff --git a/debian/libmpdclient-dev.install b/debian/libmpdclient-dev.install new file mode 100644 index 0000000..54ff25b --- /dev/null +++ b/debian/libmpdclient-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* + diff --git a/debian/libmpdclient-doc.doc-base b/debian/libmpdclient-doc.doc-base new file mode 100644 index 0000000..e49e975 --- /dev/null +++ b/debian/libmpdclient-doc.doc-base @@ -0,0 +1,11 @@ +Document: libmpdclient +Title: Debian libmpdclient Manual +Author: The Music Player Daemon Project +Abstract: This manual describes the Music Player Daemon (MPD) client library + API. It provides an overview over the available functionality. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libmpdclient-doc/html/index.html +Files: /usr/share/doc/libmpdclient-doc/html/*.html + diff --git a/debian/libmpdclient-doc.install b/debian/libmpdclient-doc.install new file mode 100644 index 0000000..1786233 --- /dev/null +++ b/debian/libmpdclient-doc.install @@ -0,0 +1,2 @@ +usr/share/doc/libmpdclient/html/* usr/share/doc/libmpdclient-doc/html/ + diff --git a/debian/libmpdclient2.install b/debian/libmpdclient2.install new file mode 100644 index 0000000..5e9c55d --- /dev/null +++ b/debian/libmpdclient2.install @@ -0,0 +1,2 @@ +usr/lib/lib*.so.* + diff --git a/debian/libmpdclient2.symbols b/debian/libmpdclient2.symbols new file mode 100644 index 0000000..576e4a5 --- /dev/null +++ b/debian/libmpdclient2.symbols @@ -0,0 +1,252 @@ +libmpdclient.so.2 libmpdclient2 #MINVER# + libmpdclient2@libmpdclient2 2.0 + mpd_async_events@libmpdclient2 2.0 + mpd_async_free@libmpdclient2 2.0 + mpd_async_get_error@libmpdclient2 2.0 + mpd_async_get_error_message@libmpdclient2 2.0 + mpd_async_get_fd@libmpdclient2 2.0 + mpd_async_get_system_error@libmpdclient2 2.0 + mpd_async_io@libmpdclient2 2.0 + mpd_async_new@libmpdclient2 2.0 + mpd_async_recv_line@libmpdclient2 2.0 + mpd_async_send_command@libmpdclient2 2.0 + mpd_async_send_command_v@libmpdclient2 2.0 + mpd_command_list_begin@libmpdclient2 2.0 + mpd_command_list_end@libmpdclient2 2.0 + mpd_connection_clear_error@libmpdclient2 2.0 + mpd_connection_cmp_server_version@libmpdclient2 2.0 + mpd_connection_free@libmpdclient2 2.0 + mpd_connection_get_async@libmpdclient2 2.0 + mpd_connection_get_error@libmpdclient2 2.0 + mpd_connection_get_error_message@libmpdclient2 2.0 + mpd_connection_get_fd@libmpdclient2 2.0 + mpd_connection_get_server_error@libmpdclient2 2.0 + mpd_connection_get_server_version@libmpdclient2 2.0 + mpd_connection_get_system_error@libmpdclient2 2.0 + mpd_connection_new@libmpdclient2 2.0 + mpd_connection_new_async@libmpdclient2 2.0 + mpd_connection_set_timeout@libmpdclient2 2.0 + mpd_count_db_songs@libmpdclient2 2.0 + mpd_directory_begin@libmpdclient2 2.0 + mpd_directory_dup@libmpdclient2 2.0 + mpd_directory_feed@libmpdclient2 2.0 + mpd_directory_free@libmpdclient2 2.0 + mpd_directory_get_path@libmpdclient2 2.0 + mpd_enqueue_pair@libmpdclient2 2.0 + mpd_entity_begin@libmpdclient2 2.0 + mpd_entity_feed@libmpdclient2 2.0 + mpd_entity_free@libmpdclient2 2.0 + mpd_entity_get_directory@libmpdclient2 2.0 + mpd_entity_get_playlist@libmpdclient2 2.0 + mpd_entity_get_song@libmpdclient2 2.0 + mpd_entity_get_type@libmpdclient2 2.0 + mpd_idle_name@libmpdclient2 2.0 + mpd_idle_name_parse@libmpdclient2 2.0 + mpd_idle_parse_pair@libmpdclient2 2.0 + mpd_output_begin@libmpdclient2 2.0 + mpd_output_feed@libmpdclient2 2.0 + mpd_output_free@libmpdclient2 2.0 + mpd_output_get_enabled@libmpdclient2 2.0 + mpd_output_get_id@libmpdclient2 2.0 + mpd_output_get_name@libmpdclient2 2.0 + mpd_parser_feed@libmpdclient2 2.0 + mpd_parser_free@libmpdclient2 2.0 + mpd_parser_get_at@libmpdclient2 2.0 + mpd_parser_get_message@libmpdclient2 2.0 + mpd_parser_get_name@libmpdclient2 2.0 + mpd_parser_get_server_error@libmpdclient2 2.0 + mpd_parser_get_value@libmpdclient2 2.0 + mpd_parser_is_discrete@libmpdclient2 2.0 + mpd_parser_new@libmpdclient2 2.0 + mpd_playlist_begin@libmpdclient2 2.0 + mpd_playlist_dup@libmpdclient2 2.0 + mpd_playlist_feed@libmpdclient2 2.0 + mpd_playlist_free@libmpdclient2 2.0 + mpd_playlist_get_last_modified@libmpdclient2 2.0 + mpd_playlist_get_path@libmpdclient2 2.0 + mpd_recv_directory@libmpdclient2 2.0 + mpd_recv_entity@libmpdclient2 2.0 + mpd_recv_idle@libmpdclient2 2.0 + mpd_recv_output@libmpdclient2 2.0 + mpd_recv_pair@libmpdclient2 2.0 + mpd_recv_pair_named@libmpdclient2 2.0 + mpd_recv_pair_tag@libmpdclient2 2.0 + mpd_recv_playlist@libmpdclient2 2.0 + mpd_recv_queue_change_brief@libmpdclient2 2.0 + mpd_recv_song@libmpdclient2 2.0 + mpd_recv_song_id@libmpdclient2 2.0 + mpd_recv_stats@libmpdclient2 2.0 + mpd_recv_status@libmpdclient2 2.0 + mpd_recv_update_id@libmpdclient2 2.0 + mpd_response_finish@libmpdclient2 2.0 + mpd_response_next@libmpdclient2 2.0 + mpd_return_pair@libmpdclient2 2.0 + mpd_run_add@libmpdclient2 2.0 + mpd_run_add_id@libmpdclient2 2.0 + mpd_run_add_id_to@libmpdclient2 2.0 + mpd_run_clear@libmpdclient2 2.0 + mpd_run_consume@libmpdclient2 2.0 + mpd_run_crossfade@libmpdclient2 2.0 + mpd_run_current_song@libmpdclient2 2.0 + mpd_run_delete@libmpdclient2 2.0 + mpd_run_delete_id@libmpdclient2 2.0 + mpd_run_delete_range@libmpdclient2 2.0 + mpd_run_disable_output@libmpdclient2 2.0 + mpd_run_enable_output@libmpdclient2 2.0 + mpd_run_get_queue_song_id@libmpdclient2 2.0 + mpd_run_get_queue_song_pos@libmpdclient2 2.0 + mpd_run_idle@libmpdclient2 2.0 + mpd_run_idle_mask@libmpdclient2 2.0 + mpd_run_load@libmpdclient2 2.0 + mpd_run_move@libmpdclient2 2.0 + mpd_run_move_id@libmpdclient2 2.0 + mpd_run_move_range@libmpdclient2 2.0 + mpd_run_next@libmpdclient2 2.0 + mpd_run_noidle@libmpdclient2 2.0 + mpd_run_password@libmpdclient2 2.0 + mpd_run_pause@libmpdclient2 2.0 + mpd_run_play@libmpdclient2 2.0 + mpd_run_play_id@libmpdclient2 2.0 + mpd_run_play_pos@libmpdclient2 2.0 + mpd_run_playlist_add@libmpdclient2 2.0 + mpd_run_playlist_clear@libmpdclient2 2.0 + mpd_run_playlist_delete@libmpdclient2 2.0 + mpd_run_previous@libmpdclient2 2.0 + mpd_run_random@libmpdclient2 2.0 + mpd_run_rename@libmpdclient2 2.0 + mpd_run_repeat@libmpdclient2 2.0 + mpd_run_rescan@libmpdclient2 2.0 + mpd_run_rm@libmpdclient2 2.0 + mpd_run_save@libmpdclient2 2.0 + mpd_run_seek_id@libmpdclient2 2.0 + mpd_run_seek_pos@libmpdclient2 2.0 + mpd_run_set_volume@libmpdclient2 2.0 + mpd_run_shuffle@libmpdclient2 2.0 + mpd_run_shuffle_range@libmpdclient2 2.0 + mpd_run_single@libmpdclient2 2.0 + mpd_run_stats@libmpdclient2 2.0 + mpd_run_status@libmpdclient2 2.0 + mpd_run_stop@libmpdclient2 2.0 + mpd_run_swap@libmpdclient2 2.0 + mpd_run_swap_id@libmpdclient2 2.0 + mpd_run_toggle_pause@libmpdclient2 2.0 + mpd_run_update@libmpdclient2 2.0 + mpd_search_add_any_tag_constraint@libmpdclient2 2.0 + mpd_search_add_db_songs@libmpdclient2 2.0 + mpd_search_add_tag_constraint@libmpdclient2 2.0 + mpd_search_add_uri_constraint@libmpdclient2 2.0 + mpd_search_cancel@libmpdclient2 2.0 + mpd_search_commit@libmpdclient2 2.0 + mpd_search_db_songs@libmpdclient2 2.0 + mpd_search_db_tags@libmpdclient2 2.0 + mpd_search_queue_songs@libmpdclient2 2.0 + mpd_send_add@libmpdclient2 2.0 + mpd_send_add_id@libmpdclient2 2.0 + mpd_send_add_id_to@libmpdclient2 2.0 + mpd_send_allowed_commands@libmpdclient2 2.0 + mpd_send_clear@libmpdclient2 2.0 + mpd_send_command@libmpdclient2 2.0 + mpd_send_consume@libmpdclient2 2.0 + mpd_send_crossfade@libmpdclient2 2.0 + mpd_send_current_song@libmpdclient2 2.0 + mpd_send_delete@libmpdclient2 2.0 + mpd_send_delete_id@libmpdclient2 2.0 + mpd_send_delete_range@libmpdclient2 2.0 + mpd_send_disable_output@libmpdclient2 2.0 + mpd_send_disallowed_commands@libmpdclient2 2.0 + mpd_send_enable_output@libmpdclient2 2.0 + mpd_send_get_queue_song_id@libmpdclient2 2.0 + mpd_send_get_queue_song_pos@libmpdclient2 2.0 + mpd_send_idle@libmpdclient2 2.0 + mpd_send_idle_mask@libmpdclient2 2.0 + mpd_send_list_all@libmpdclient2 2.0 + mpd_send_list_all_meta@libmpdclient2 2.0 + mpd_send_list_meta@libmpdclient2 2.0 + mpd_send_list_playlist@libmpdclient2 2.0 + mpd_send_list_playlist_meta@libmpdclient2 2.0 + mpd_send_list_queue_meta@libmpdclient2 2.0 + mpd_send_list_queue_range_meta@libmpdclient2 2.0 + mpd_send_list_tag_types@libmpdclient2 2.0 + mpd_send_list_url_schemes@libmpdclient2 2.0 + mpd_send_load@libmpdclient2 2.0 + mpd_send_move@libmpdclient2 2.0 + mpd_send_move_id@libmpdclient2 2.0 + mpd_send_move_range@libmpdclient2 2.0 + mpd_send_next@libmpdclient2 2.0 + mpd_send_noidle@libmpdclient2 2.0 + mpd_send_outputs@libmpdclient2 2.0 + mpd_send_password@libmpdclient2 2.0 + mpd_send_pause@libmpdclient2 2.0 + mpd_send_play@libmpdclient2 2.0 + mpd_send_play_id@libmpdclient2 2.0 + mpd_send_play_pos@libmpdclient2 2.0 + mpd_send_playlist_add@libmpdclient2 2.0 + mpd_send_playlist_clear@libmpdclient2 2.0 + mpd_send_playlist_delete@libmpdclient2 2.0 + mpd_send_playlist_move@libmpdclient2 2.0 + mpd_send_previous@libmpdclient2 2.0 + mpd_send_queue_changes_brief@libmpdclient2 2.0 + mpd_send_queue_changes_meta@libmpdclient2 2.0 + mpd_send_random@libmpdclient2 2.0 + mpd_send_rename@libmpdclient2 2.0 + mpd_send_repeat@libmpdclient2 2.0 + mpd_send_rescan@libmpdclient2 2.0 + mpd_send_rm@libmpdclient2 2.0 + mpd_send_save@libmpdclient2 2.0 + mpd_send_seek_id@libmpdclient2 2.0 + mpd_send_seek_pos@libmpdclient2 2.0 + mpd_send_set_volume@libmpdclient2 2.0 + mpd_send_shuffle@libmpdclient2 2.0 + mpd_send_shuffle_range@libmpdclient2 2.0 + mpd_send_single@libmpdclient2 2.0 + mpd_send_stats@libmpdclient2 2.0 + mpd_send_status@libmpdclient2 2.0 + mpd_send_stop@libmpdclient2 2.0 + mpd_send_swap@libmpdclient2 2.0 + mpd_send_swap_id@libmpdclient2 2.0 + mpd_send_toggle_pause@libmpdclient2 2.0 + mpd_send_update@libmpdclient2 2.0 + mpd_song_begin@libmpdclient2 2.0 + mpd_song_dup@libmpdclient2 2.0 + mpd_song_feed@libmpdclient2 2.0 + mpd_song_free@libmpdclient2 2.0 + mpd_song_get_duration@libmpdclient2 2.0 + mpd_song_get_id@libmpdclient2 2.0 + mpd_song_get_last_modified@libmpdclient2 2.0 + mpd_song_get_pos@libmpdclient2 2.0 + mpd_song_get_tag@libmpdclient2 2.0 + mpd_song_get_uri@libmpdclient2 2.0 + mpd_song_set_pos@libmpdclient2 2.0 + mpd_stats_begin@libmpdclient2 2.0 + mpd_stats_feed@libmpdclient2 2.0 + mpd_stats_free@libmpdclient2 2.0 + mpd_stats_get_db_play_time@libmpdclient2 2.0 + mpd_stats_get_db_update_time@libmpdclient2 2.0 + mpd_stats_get_number_of_albums@libmpdclient2 2.0 + mpd_stats_get_number_of_artists@libmpdclient2 2.0 + mpd_stats_get_number_of_songs@libmpdclient2 2.0 + mpd_stats_get_play_time@libmpdclient2 2.0 + mpd_stats_get_uptime@libmpdclient2 2.0 + mpd_status_begin@libmpdclient2 2.0 + mpd_status_feed@libmpdclient2 2.0 + mpd_status_free@libmpdclient2 2.0 + mpd_status_get_audio_format@libmpdclient2 2.0 + mpd_status_get_consume@libmpdclient2 2.0 + mpd_status_get_crossfade@libmpdclient2 2.0 + mpd_status_get_elapsed_time@libmpdclient2 2.0 + mpd_status_get_error@libmpdclient2 2.0 + mpd_status_get_kbit_rate@libmpdclient2 2.0 + mpd_status_get_queue_length@libmpdclient2 2.0 + mpd_status_get_queue_version@libmpdclient2 2.0 + mpd_status_get_random@libmpdclient2 2.0 + mpd_status_get_repeat@libmpdclient2 2.0 + mpd_status_get_single@libmpdclient2 2.0 + mpd_status_get_song_id@libmpdclient2 2.0 + mpd_status_get_song_pos@libmpdclient2 2.0 + mpd_status_get_state@libmpdclient2 2.0 + mpd_status_get_total_time@libmpdclient2 2.0 + mpd_status_get_update_id@libmpdclient2 2.0 + mpd_status_get_volume@libmpdclient2 2.0 + mpd_tag_name@libmpdclient2 2.0 + mpd_tag_name_iparse@libmpdclient2 2.0 + mpd_tag_name_parse@libmpdclient2 2.0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d1f6c7f --- /dev/null +++ b/debian/rules @@ -0,0 +1,100 @@ +#! /usr/bin/make -f +# debian/rules for libmpdclient +# +# Written by Sebastian Harl + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + + ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + CFLAGS="$(CFLAGS)" + +build: build-stamp + +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + # we do not want .la files in Debian + rm -f debian/tmp/usr/lib/libmpdclient.la + + # these files do not include any useful content + rm -f debian/tmp/usr/share/doc/libmpdclient/README + rm -f debian/tmp/usr/share/doc/libmpdclient/COPYING + + # install that file as changelog instead + rm -f debian/tmp/usr/share/doc/libmpdclient/NEWS + + dh_install --sourcedir=debian/tmp --fail-missing + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs -i NEWS + dh_installdocs -i AUTHORS + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -a NEWS + dh_installdocs -a AUTHORS + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ac11400 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://sf.net/musicpd/libmpdclient-([0-9.]+)\.tar\.gz +