#%%global snapshot 20110224 Summary: Music Player Daemon Library Name: libmpd Version: 11.8.17 Release: 2.n0i.9%{?snapshot:.%{snapshot}git}%{?dist} License: GPLv2+ Url: http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client Group: Applications/Multimedia %if %{?snapshot:1}0 Source0: %{name}-%{snapshot}.tar.bz2 Source99: %{name}-snapshot.sh %else Source0: http://download.sarine.nl/Programs/gmpc/%{version}/%{name}-%{version}.tar.gz %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glib2-devel >= 2.16 %package devel Summary: Header files for developing programs with libmpd Requires: %{name} = %{version} Group: Development/Libraries Requires: pkgconfig %description libmpd is an abstraction around libmpdclient. It provides an easy and reliable callback based interface to mpd. %description devel libmpd-devel is a sub-package which contains header files and static libraries for developing program with libmpd. %prep %if %{?snapshot:1}0 %setup -q -n %{name}-%{snapshot} %else %setup -q %endif %build %configure --disable-dependency-tracking --disable-static %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} DESTDIR="$RPM_BUILD_ROOT" install %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc COPYING %{_libdir}/*.so.* %files devel %defattr (-,root,root) %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %changelog * Sat Jul 28 2012 Marius FERARU - 11.8.17-2.n0i.9 - rebuild on Fedora 17 * Mon Sep 05 2011 Marius FERARU - 11.8.17-1.n0i.8 - version 11.8.17 * Thu Feb 24 2011 Marius FERARU - 0.20.95-0.n0i.7.20110224git - git snapshot from 20110224 * Sat Nov 27 2010 Marius FERARU - 0.20.95-0.n0i.6.20101127git - support building git snapshots - build a current snapshot - dropped empty/obsolete documents * Mon Apr 12 2010 Marius FERARU - 0.20.0-1.n0i.5 - version 0.20.0 * Wed Mar 03 2010 Marius FERARU - 0.19.100-1.n0i.4 - version 0.19.100 * Sun Sep 27 2009 Marius FERARU - 0.19.0-1.n0i.3 - version 0.19.0 * Mon Sep 07 2009 Marius FERARU - 0.18.100-1.n0i.2 - version 0.18.100 * Sat Aug 15 2009 Marius FERARU - 0.18.96-1.n0i.1 - version 0.18.96 * Fri Jul 24 2009 Fedora Release Engineering - 0.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Apr 08 2009 Adrian Reber - 0.18.0-1 - updated to 0.18.0 * Wed Feb 25 2009 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Nov 27 2008 Adrian Reber - 0.16.1-1 - updated to 0.16.1 * Mon Feb 25 2008 Adrian Reber - 0.15.0-3 - added patch to remove a few inline statements from functions which are actually not inline'd * Fri Feb 15 2008 Adrian Reber - 0.15.0-2 - rebuilt for gcc43 * Sun Dec 23 2007 Adrian Reber - 0.15.0-1 - update to 0.15.0 - added BR glib2-devel * Sun Nov 11 2007 Adrian Reber - 0.14.0-1 - update to 0.14.0 * Sun Aug 26 2007 Adrian Reber - 0.13.0-2 - rebuilt * Sun Mar 25 2007 Adrian Reber - 0.13.0-1 - update to 0.13.0 * Sat Nov 25 2006 Adrian Reber - 0.12.0-3 - added requires pkgconfig to -devel package * Sat Nov 25 2006 Adrian Reber - 0.12.0-2 - small changes for FE submission * Mon Mar 27 2006 Jan "Yenya" Kasprzak 0.12.0-1 - initial build