owntone-server/contrib/mt-daapd.spec

64 lines
1.4 KiB
Plaintext
Raw Normal View History

2003-12-03 15:17:20 -05:00
Summary: A multi-threaded implementation of Apple's DAAP server
Name: mt-daapd
2004-04-06 09:51:21 -04:00
Version: 0.2.0-pre1
2003-12-03 15:17:20 -05:00
Release: 1
License: GPL
Group: Development/Networking
2004-01-29 14:41:11 -05:00
URL: http://sourceforge.net/project/showfiles.php?group_id=98211
2003-12-03 15:17:20 -05:00
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
2004-04-05 22:03:55 -04:00
Requires: libid3tag gdbm
BuildRequires: libid3tag-devel gdbm-devel
2003-12-03 15:17:20 -05:00
%description
A multi-threaded implementation of Apple's DAAP server, mt-daapd
2003-12-29 14:46:58 -05:00
allows a Linux machine to advertise MP3 files to to used by
2004-01-29 13:10:04 -05:00
Windows or Mac iTunes clients. This version uses Apple's ASPL Rendezvous
daemon.
2003-12-03 15:17:20 -05:00
%prep
%setup -q
%build
2004-01-29 13:10:04 -05:00
./configure --prefix=$RPM_BUILD_ROOT/usr
2003-12-03 15:17:20 -05:00
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make install
2004-01-04 16:07:42 -05:00
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
2004-04-05 22:03:55 -04:00
mkdir -p $RPM_BUILD_ROOT/var/cache/mt-daapd
2004-01-04 16:07:42 -05:00
cp contrib/mt-daapd $RPM_BUILD_ROOT/etc/rc.d/init.d
2003-12-29 14:46:58 -05:00
cp contrib/mt-daapd.conf $RPM_BUILD_ROOT/etc
cp contrib/mt-daapd.playlist $RPM_BUILD_ROOT/etc
2003-12-03 15:17:20 -05:00
%post
/sbin/chkconfig --add mt-daapd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
2004-01-29 13:10:04 -05:00
%config /etc/mt-daapd.conf
%config /etc/mt-daapd.playlist
2004-01-29 14:05:53 -05:00
/etc/rc.d/init.d/mt-daapd
2004-04-05 22:03:55 -04:00
/usr/sbin/mt-daapd
2003-12-29 14:46:58 -05:00
/usr/share/mt-daapd/*
2004-04-06 09:51:21 -04:00
/var/cache/mt-daapd
2003-12-29 14:46:58 -05:00
2003-12-03 15:17:20 -05:00
%doc
%changelog
2004-04-05 22:03:55 -04:00
* Mon Apr 06 2004 ron <ron@pedde.com>
2004-04-06 09:51:21 -04:00
- Update to 0.2.0-pre1
2004-04-05 22:03:55 -04:00
- Add /var/cache/mt-daapd
2004-01-29 13:10:04 -05:00
* Thu Jan 29 2004 ron <ron@pedde.com>
- Update to 0.1.1
2003-12-03 15:17:20 -05:00
* Fri Nov 14 2003 root <root@hafnium.corbey.com>
- Initial build.