Switch to unified view

a/rpm/upmpdcli.spec b/rpm/upmpdcli.spec
1
Summary:        UPnP Media Renderer front-end to MPD, the Music Player Daemon
1
Summary:        UPnP Media Renderer front-end to MPD, the Music Player Daemon
2
Name:           upmpdcli
2
Name:           upmpdcli
3
Version:        0.8.1
3
Version:        0.8.4
4
Release:        1%{?dist}
4
Release:        1%{?dist}
5
Group:          Applications/Multimedia
5
Group:          Applications/Multimedia
6
License:        GPLv2+
6
License:        GPLv2+
7
URL:            http://www.lesbonscomptes.com/updmpdcli
7
URL:            http://www.lesbonscomptes.com/updmpdcli
8
Source0:        http://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-%{version}.tar.gz
8
Source0:        http://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-%{version}.tar.gz
9
Requires(pre):  shadow-utils
9
Requires(pre):  shadow-utils
10
Requires(post): systemd
10
Requires(post): systemd
11
Requires(preun): systemd
11
Requires(preun): systemd
12
Requires(postun): systemd
12
Requires(postun): systemd
13
BuildRequires:  libupnpp
13
BuildRequires:  libupnp-devel
14
BuildRequires:  libupnp-devel
14
BuildRequires:  libmpdclient-devel
15
BuildRequires:  libmpdclient-devel
15
BuildRequires:  expat-devel
16
BuildRequires:  expat-devel
16
BuildRequires:  systemd-units
17
BuildRequires:  systemd-units
17
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
...
...
37
exit 0
38
exit 0
38
39
39
%install
40
%install
40
%{__rm} -rf %{buildroot}
41
%{__rm} -rf %{buildroot}
41
%{__make} install DESTDIR=%{buildroot} STRIP=/bin/true INSTALL='install -p'
42
%{__make} install DESTDIR=%{buildroot} STRIP=/bin/true INSTALL='install -p'
42
%{__rm} -f %{buildroot}%{_libdir}/libupnpp.a
43
%{__rm} -f %{buildroot}%{_libdir}/libupnpp.la
44
install -D -m644 systemd/upmpdcli.service \
43
install -D -m644 systemd/upmpdcli.service \
45
        %{buildroot}%{_unitdir}/upmpdcli.service
44
        %{buildroot}%{_unitdir}/upmpdcli.service
46
45
47
46
48
%clean
47
%clean
49
%{__rm} -rf %{buildroot}
48
%{__rm} -rf %{buildroot}
50
49
51
%files
50
%files
52
%defattr(-, root, root, -)
51
%defattr(-, root, root, -)
53
%{_bindir}/%{name}
52
%{_bindir}/%{name}
54
%{_includedir}/libupnpp
55
%{_libdir}/libupnpp-%{version}.so*
56
%{_libdir}/libupnpp.so
57
%{_datadir}/%{name}
53
%{_datadir}/%{name}
58
%{_mandir}/man1/%{name}.1*
54
%{_mandir}/man1/%{name}.1*
59
%{_unitdir}/upmpdcli.service
55
%{_unitdir}/upmpdcli.service
60
%config(noreplace) /etc/upmpdcli.conf
56
%config(noreplace) /etc/upmpdcli.conf
61
57
...
...
67
63
68
%postun
64
%postun
69
%systemd_postun_with_restart upmpdcli.service 
65
%systemd_postun_with_restart upmpdcli.service 
70
66
71
%changelog
67
%changelog
68
* Mon Jun 09 2014 J.F. Dockes <jf@dockes.org> - 0.8.4
69
- Separated libupnpp
72
* Mon Jun 09 2014 J.F. Dockes <jf@dockes.org> - 0.7.1
70
* Mon Jun 09 2014 J.F. Dockes <jf@dockes.org> - 0.7.1
73
- Implement OpenHome services
71
- Implement OpenHome services
74
* Sun Apr 20 2014 J.F. Dockes <jf@dockes.org> - 0.6.4
72
* Sun Apr 20 2014 J.F. Dockes <jf@dockes.org> - 0.6.4
75
- Configuration of UPnP interface and port, MPD password.
73
- Configuration of UPnP interface and port, MPD password.
76
* Wed Mar 26 2014 J.F. Dockes <jf@dockes.org> - 0.6.3
74
* Wed Mar 26 2014 J.F. Dockes <jf@dockes.org> - 0.6.3