SPECS: mt-daapd.spec - up to SVN rev 1376 - the name is Firefly no...

jpc jpc at pld-linux.org
Tue Sep 12 17:07:05 CEST 2006


Author: jpc                          Date: Tue Sep 12 15:07:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to SVN rev 1376
- the name is Firefly now but the source package remains the same :/ ?!
- add more autotoolization
- remove missing mt-daapd.playllist
- change var/lib/mt-daapd permissions

---- Files affected:
SPECS:
   mt-daapd.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/mt-daapd.spec
diff -u SPECS/mt-daapd.spec:1.8 SPECS/mt-daapd.spec:1.9
--- SPECS/mt-daapd.spec:1.8	Tue May  2 03:52:11 2006
+++ SPECS/mt-daapd.spec	Tue Sep 12 17:06:59 2006
@@ -1,19 +1,27 @@
 # $Revision$, $Date$
+%define		_rev 1376
+#
 Summary:	A multi-threaded implementation of Apple's DAAP server
 Summary(pl):	Wielowątkowa implementacja serwera DAAP Apple
 Name:		mt-daapd
 Version:	0.2.4
-Release:	1
+Release:	1.%{_rev}.1
 License:	GPL
 Group:		Networking/Daemons
-Source0:	http://dl.sourceforge.net/mt-daapd/%{name}-%{version}.tar.gz
-# Source0-md5:	2e1cdbe6b94ef153e915806f80a28dca
+Source0:        http://nightlies.mt-daapd.org/mt-daapd-svn-%{_rev}.tar.gz
+# Source0-md5:	1c552fbc0822f943fd00abd46739193f
+#Source0:	http://dl.sourceforge.net/mt-daapd/%{name}-%{version}.tar.gz
 URL:		http://www.mt-daapd.org/
 BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	avahi-compat-howl-devel
-BuildRequires:	gdbm-devel
 BuildRequires:	libid3tag-devel
+BuildRequires:	libogg-devel
+BuildRequires:	libtool
+BuildRequires:	libvorbis-devel
+BuildRequires:	sqlite-devel
 Requires(post,preun):	/sbin/chkconfig
+Requires:	vorbis-tools
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,11 +36,17 @@
 Rendezvous Apple.
 
 %prep
-%setup -q
+%setup -q -n %{name}-svn-%{_rev}
 
 %build
+%{__libtoolize}
+%{__aclocal}
 %{__autoconf}
-%configure
+%{__autoheader}
+%{__automake}
+%configure \
+	--enable-oggvorbis \
+	--enable-sqlite
 %{__make}
 
 %install
@@ -43,9 +57,8 @@
 
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 install -d $RPM_BUILD_ROOT/var/cache/mt-daapd
-install contrib/mt-daapd $RPM_BUILD_ROOT/etc/rc.d/init.d
+install contrib/init.d/mt-daapd-fedora $RPM_BUILD_ROOT/etc/rc.d/init.d/mt-daapd
 install contrib/mt-daapd.conf $RPM_BUILD_ROOT%{_sysconfdir}
-install contrib/mt-daapd.playlist $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -61,11 +74,11 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/mt-daapd
+%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
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mt-daapd.playlist
 %{_datadir}/mt-daapd
-/var/cache/mt-daapd
+%attr(777,root,root) /var/cache/mt-daapd
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,6 +86,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/09/12 15:06:59  jpc
+- up to SVN rev 1376
+- the name is Firefly now but the source package remains the same :/ ?!
+- add more autotoolization
+- remove missing mt-daapd.playllist
+- change var/lib/mt-daapd permissions
+
 Revision 1.8  2006/05/02 01:52:11  aredridel
 - use avahi howl library
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mt-daapd.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list