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