From c29b5f1fc99c728ce480a683ef6a1318dfa32bb0 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 18 Jan 2005 04:58:55 +0000 Subject: [PATCH] specfile for fc3, with both oggvorbis and howl support --- contrib/mt-daapd.fc3.spec | 68 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 contrib/mt-daapd.fc3.spec diff --git a/contrib/mt-daapd.fc3.spec b/contrib/mt-daapd.fc3.spec new file mode 100644 index 00000000..1c0845b4 --- /dev/null +++ b/contrib/mt-daapd.fc3.spec @@ -0,0 +1,68 @@ +Summary: A multi-threaded implementation of Apple's DAAP server +Name: mt-daapd +Version: 0.2.1 +Release: 1 +License: GPL +Group: Development/Networking +URL: http://sourceforge.net/project/showfiles.php?group_id=98211 +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +Requires: libid3tag gdbm libogg howl libvorbis howl-libs +BuildRequires: libid3tag-devel gdbm-devel howl-devel libogg-devel libvorbis-devel + +%description +A multi-threaded implementation of Apple's DAAP server, mt-daapd +allows a Linux machine to advertise MP3 files to to used by +Windows or Mac iTunes clients. This version uses Apple's ASPL Rendezvous +daemon. +%prep +%setup -q + +%build +# Someone could give me some autoconf that would find the howl include dir... +./configure --prefix=$RPM_BUILD_ROOT/usr --enable-howl --enable-oggvorbis --with-howl-includes=/usr/include/howl-0.9.6 + +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" + +%install +rm -rf $RPM_BUILD_ROOT +make install +mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d +mkdir -p $RPM_BUILD_ROOT/var/cache/mt-daapd +cp contrib/mt-daapd $RPM_BUILD_ROOT/etc/rc.d/init.d +cp contrib/mt-daapd.conf $RPM_BUILD_ROOT/etc +cp contrib/mt-daapd.playlist $RPM_BUILD_ROOT/etc + +%post +/sbin/chkconfig --add mt-daapd + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%config /etc/mt-daapd.conf +%config /etc/mt-daapd.playlist +/etc/rc.d/init.d/mt-daapd +/usr/sbin/mt-daapd +/usr/share/mt-daapd/* +/var/cache/mt-daapd + +%doc + + +%changelog +* Tue Jun 01 2004 ron +- Update to 0.2.0 + +* Mon Apr 06 2004 ron +- Update to 0.2.0-pre1 +- Add /var/cache/mt-daapd + +* Thu Jan 29 2004 ron +- Update to 0.1.1 + +* Fri Nov 14 2003 root +- Initial build. + +