mt-daapd-vl.spec 2.4 KB

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