source: projects/specs/branches/6/m/mt-daapd/mt-daapd-vl.spec @ 916

Revision 916, 2.4 KB checked in by kaneko, 14 years ago (diff)
  • Sun May 02 2010 KANEKO Seiji <giraffe@…> 0.2.4.2-1
  • upstream release
  • adjust Patch0
  • add Vendor and Distribution
Line 
1Summary: A multi-threaded implementation of Apple's DAAP server
2Name: mt-daapd
3Version: 0.2.4.2
4Release: 1%{?_dist_release}
5License: GPL
6Group: System Environment/Daemons
7URL: http://www.mt-daapd.org/
8Source0: %{name}-%{version}.tar.gz
9Patch0: mt-daapd-0.2.4.2-cp932.patch
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildRequires: libid3tag-devel gdbm-devel libogg-devel libvorbis-devel
12
13Vendor: Project Vine
14Distribution: Vine Linux
15
16%description
17A multi-threaded implementation of Apple's DAAP server, mt-daapd
18allows a Linux machine to advertise MP3 files to to used by
19Windows or Mac iTunes clients.  This version uses Apple's ASPL Rendezvous
20daemon.
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
30make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
31
32%install
33rm -rf $RPM_BUILD_ROOT
34%makeinstall
35
36mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
37mkdir -p $RPM_BUILD_ROOT/var/cache/mt-daapd
38cp contrib/mt-daapd $RPM_BUILD_ROOT/etc/rc.d/init.d
39cp contrib/mt-daapd.conf $RPM_BUILD_ROOT/etc
40cp contrib/mt-daapd.playlist $RPM_BUILD_ROOT/etc
41
42%post
43/sbin/chkconfig --add mt-daapd
44
45%preun
46if [ $1 = 0 ]; then
47    /sbin/service mt-daapd stop > /dev/null 2>&1
48    /sbin/chkconfig --del mt-daapd
49fi
50
51%clean
52rm -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
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
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
Note: See TracBrowser for help on using the repository browser.