SPECS: mt-daapd.spec - 0.2.4.2

blues blues at pld-linux.org
Wed Apr 15 13:57:00 CEST 2009


Author: blues                        Date: Wed Apr 15 11:57:00 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.2.4.2

---- Files affected:
SPECS:
   mt-daapd.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/mt-daapd.spec
diff -u SPECS/mt-daapd.spec:1.12 SPECS/mt-daapd.spec:1.13
--- SPECS/mt-daapd.spec:1.12	Tue Feb 13 08:16:48 2007
+++ SPECS/mt-daapd.spec	Wed Apr 15 13:56:54 2009
@@ -3,20 +3,18 @@
 # - the init script is severly broken
 # - the deamon runs as nobody (won't work without a+rw /var/cache/mt-daapd
 #   and this is wrong)
+# - as-needed has to be fixed
 # 
-%define		_rev 1376
-#
 Summary:	A multi-threaded implementation of Apple's DAAP server
 Summary(pl.UTF-8):	Wielowątkowa implementacja serwera DAAP Apple
 Name:		mt-daapd
-Version:	0.2.4
-Release:	1.%{_rev}.1
+Version:	0.2.4.2
+Release:	1
 License:	GPL
 Group:		Networking/Daemons
-Source0:        http://nightlies.mt-daapd.org/mt-daapd-svn-%{_rev}.tar.gz
+Source0:	http://dl.sourceforge.net/mt-daapd/%{name}-%{version}.tar.gz
 # Source0-md5:	1c552fbc0822f943fd00abd46739193f
-#Source0:	http://dl.sourceforge.net/mt-daapd/%{name}-%{version}.tar.gz
-URL:		http://www.mt-daapd.org/
+URL:		http://www.fireflymediaserver.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	avahi-compat-howl-devel
@@ -29,6 +27,8 @@
 Requires:	vorbis-tools
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		filterout_ld	-Wl,--as-needed
+
 %description
 A multi-threaded implementation of Apple's DAAP server, mt-daapd
 allows a Linux machine to advertise MP3 files to be used by Windows or
@@ -41,7 +41,7 @@
 Rendezvous Apple.
 
 %prep
-%setup -q -n %{name}-svn-%{_rev}
+%setup -q
 
 %build
 %{__libtoolize}
@@ -56,13 +56,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/cache/mt-daapd}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-install -d $RPM_BUILD_ROOT/var/cache/mt-daapd
-install contrib/init.d/mt-daapd-fedora $RPM_BUILD_ROOT/etc/rc.d/init.d/mt-daapd
+install contrib/mt-daapd $RPM_BUILD_ROOT/etc/rc.d/init.d/mt-daapd
 install contrib/mt-daapd.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
@@ -78,10 +77,10 @@
 
 %files
 %defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mt-daapd.conf
 %attr(755,root,root) %{_sbindir}/mt-daapd
-%attr(755,root,root) %{_bindir}/*
+#%attr(755,root,root) %{_bindir}/*
 %attr(754,root,root) /etc/rc.d/init.d/mt-daapd
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mt-daapd.conf
 %{_datadir}/mt-daapd
 /var/cache/mt-daapd
 
@@ -91,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2009/04/15 11:56:54  blues
+- 0.2.4.2
+
 Revision 1.12  2007/02/13 07:16:48  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mt-daapd.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list