mt-daapd-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Summary: A multi-threaded implementation of Apple's DAAP server
  2. Name: mt-daapd
  3. Version: 0.2.4
  4. Release: 2%{?_dist_release}
  5. License: GPL
  6. Group: System Environment/Daemons
  7. URL: http://www.mt-daapd.org/
  8. Source0: %{name}-%{version}.tar.gz
  9. Patch0: mt-daapd-0.2.4-cp932.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libid3tag-devel gdbm-devel libogg-devel libvorbis-devel
  12. %description
  13. A multi-threaded implementation of Apple's DAAP server, mt-daapd
  14. allows a Linux machine to advertise MP3 files to to used by
  15. Windows or Mac iTunes clients. This version uses Apple's ASPL Rendezvous
  16. daemon.
  17. %prep
  18. %setup -q
  19. %patch0 -p1
  20. %build
  21. #configure --enable-howl --with-howl-includes=%{_includedir}/avahi-compat-howl
  22. %configure --enable-oggvorbis
  23. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. %makeinstall
  27. mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
  28. mkdir -p $RPM_BUILD_ROOT/var/cache/mt-daapd
  29. cp contrib/mt-daapd $RPM_BUILD_ROOT/etc/rc.d/init.d
  30. cp contrib/mt-daapd.conf $RPM_BUILD_ROOT/etc
  31. cp contrib/mt-daapd.playlist $RPM_BUILD_ROOT/etc
  32. %post
  33. /sbin/chkconfig --add mt-daapd
  34. %preun
  35. if [ $1 = 0 ]; then
  36. /sbin/service mt-daapd stop > /dev/null 2>&1
  37. /sbin/chkconfig --del mt-daapd
  38. fi
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS COPYING CREDITS ChangeLog NEWS README
  44. %config /etc/mt-daapd.conf
  45. %config /etc/mt-daapd.playlist
  46. /etc/rc.d/init.d/mt-daapd
  47. %{_datadir}/mt-daapd
  48. /usr/sbin/mt-daapd
  49. /var/cache/mt-daapd
  50. %changelog
  51. * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.4-2vl5
  52. - applied new versioning policy
  53. * Tue Nov 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.4-1vl2
  54. - replaced Patch0 from http://www.kzsoft.to/~kazu/mt-daapd/
  55. - disabled avahi
  56. - enabled ogg, vorbis
  57. * Sat May 6 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.4-1vl1
  58. - Initial build for Vine Linux
  59. - added Patch0 from http://ouchi.nahi.to/~kaidempa/mt-daapd/
  60. - used avahi (instead of howl)
  61. * Tue Jan 18 2005 ron <ron@pedde.com>
  62. - Update to 0.2.1, add oggvorbis
  63. * Tue Jun 01 2004 ron <ron@pedde.com>
  64. - Update to 0.2.0
  65. * Mon Apr 06 2004 ron <ron@pedde.com>
  66. - Update to 0.2.0-pre1
  67. - Add /var/cache/mt-daapd
  68. * Thu Jan 29 2004 ron <ron@pedde.com>
  69. - Update to 0.1.1
  70. * Fri Nov 14 2003 root <root@hafnium.corbey.com>
  71. - Initial build.