|
a |
|
b/rpm/upmpdcli.spec |
|
|
1 |
Summary: UPnP Media Renderer front-end to MPD, the Music Player Daemon
|
|
|
2 |
Name: upmpdcli
|
|
|
3 |
Version: 0.4
|
|
|
4 |
Release: 1%{?dist}
|
|
|
5 |
Group: Applications/Multimedia
|
|
|
6 |
License: GPLv2+
|
|
|
7 |
URL: http://www.lesbonscomptes.com/updmpdcli
|
|
|
8 |
Source0: http://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-%{version}.tar.gz
|
|
|
9 |
BuildRequires: libupnp-devel
|
|
|
10 |
BuildRequires: libmpdclient-devel
|
|
|
11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
12 |
|
|
|
13 |
%description
|
|
|
14 |
Upmpdcli turns MPD, the Music Player Daemon into an UPnP Media Renderer,
|
|
|
15 |
usable with most UPnP Control Point applications, such as those which run
|
|
|
16 |
on Android tablets or phones.
|
|
|
17 |
|
|
|
18 |
%prep
|
|
|
19 |
%setup -q
|
|
|
20 |
|
|
|
21 |
%build
|
|
|
22 |
%configure
|
|
|
23 |
%{__make} %{?_smp_mflags}
|
|
|
24 |
%{__rm} -f %{buildroot}/usr/lib64/libupnpp.a
|
|
|
25 |
%{__rm} -f %{buildroot}/usr/lib64/libupnpp.la
|
|
|
26 |
|
|
|
27 |
%install
|
|
|
28 |
%{__rm} -rf %{buildroot}
|
|
|
29 |
%{__make} install DESTDIR=%{buildroot} STRIP=/bin/true INSTALL='install -p'
|
|
|
30 |
%{__rm} -f %{buildroot}/usr/lib64/libupnpp.a
|
|
|
31 |
%{__rm} -f %{buildroot}/usr/lib64/libupnpp.la
|
|
|
32 |
%{__rm} -f %{buildroot}/etc/upmpdcli.conf
|
|
|
33 |
|
|
|
34 |
%clean
|
|
|
35 |
%{__rm} -rf %{buildroot}
|
|
|
36 |
|
|
|
37 |
%files
|
|
|
38 |
%defattr(-, root, root, -)
|
|
|
39 |
%{_bindir}/%{name}
|
|
|
40 |
%{_libdir}/libupnpp.so*
|
|
|
41 |
%{_datadir}/%{name}
|
|
|
42 |
%{_datadir}/%{name}/*
|
|
|
43 |
%{_mandir}/man1/%{name}.1*
|
|
|
44 |
|
|
|
45 |
%changelog
|
|
|
46 |
* Wed Feb 12 2014 J.F. Dockes <jf@dockes.org> - 0.4
|
|
|
47 |
- Version 0.4
|