mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-20 04:24:20 -04:00
Initial attempt
This commit is contained in:
parent
adefee7897
commit
58faf3f8f9
43
contrib/mt-daapd.spec
Normal file
43
contrib/mt-daapd.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
Summary: A multi-threaded implementation of Apple's DAAP server
|
||||||
|
Name: mt-daapd
|
||||||
|
Version: 0.1.0
|
||||||
|
Release: 1
|
||||||
|
License: GPL
|
||||||
|
Group: Development/Networking
|
||||||
|
URL: http://www.pedde.com/downloads/%{name}-%{version}.tar.gz
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
|
|
||||||
|
%description
|
||||||
|
A multi-threaded implementation of Apple's DAAP server, mt-daapd
|
||||||
|
allows a linux machine to advertise MP3 files to to used by
|
||||||
|
Windows or Mac iTunes clients.
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
./configure --enable-howl --prefix=$RPM_BUILD_ROOT/usr
|
||||||
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||||
|
cp contrib/mt-daapd $RPM_BUILD_ROOT/etc/init.d
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/chkconfig --add mt-daapd
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Nov 14 2003 root <root@hafnium.corbey.com>
|
||||||
|
- Initial build.
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user