Spec cleanups and fixes

This commit is contained in:
Peter Robinson 2018-03-08 22:11:28 +00:00
parent 1fa43d18af
commit 28a956e6bf

View File

@ -1,9 +1,7 @@
Name: gupnp-dlna
Version: 0.10.5
Release: 7%{?dist}
Release: 8%{?dist}
Summary: A collection of helpers for building UPnP AV applications
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.gupnp.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.10/%{name}-%{version}.tar.xz
@ -29,8 +27,7 @@ Living Network Alliance) compliant applications using GUPnP.
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Contains libraries and header files for developing applications that
@ -38,7 +35,6 @@ use %{name}.
%package docs
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
@ -67,11 +63,11 @@ make check
%postun -p /sbin/ldconfig
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc AUTHORS README TODO
%{_bindir}/gupnp-dlna*
%{_libdir}/lib*.so.*
%dir %{_libdir}/gupnp-dlna/
%{_libdir}/gupnp-dlna/libgstreamer.so
%{_libdir}/girepository-1.0/GUPnPDLNA-2.0.typelib
%{_libdir}/girepository-1.0/GUPnPDLNAGst-2.0.typelib
@ -79,7 +75,6 @@ make check
%files devel
%{_libdir}/lib*.so
%{_libdir}/gupnp-dlna/libgstreamer.so
%{_libdir}/pkgconfig/%{name}-2.0.pc
%{_libdir}/pkgconfig/%{name}-gst-2.0.pc
%{_libdir}/pkgconfig/%{name}-metadata-2.0.pc
@ -94,6 +89,9 @@ make check
%{_datadir}/gtk-doc/html/%{name}-metadata
%changelog
* Thu Mar 8 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.10.5-8
- Spec cleanups and fixes
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild