Accepting request 581229 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581229 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp?expand=0&rev=94
This commit is contained in:
parent
f009602bd8
commit
a28a5da5dd
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:33:07 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 14:26:57 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
22
gupnp.spec
22
gupnp.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gupnp
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,11 +20,12 @@ Name: gupnp
|
||||
Version: 1.0.2
|
||||
Release: 0
|
||||
Summary: Implementation of the UPnP specification
|
||||
License: LGPL-2.0+
|
||||
License: LGPL-2.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://www.gupnp.org/
|
||||
URL: http://www.gupnp.org/
|
||||
Source: http://download.gnome.org/sources/gupnp/1.0/%{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
BuildRequires: pkgconfig
|
||||
# Needed for the GTest
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.4
|
||||
@ -33,7 +34,6 @@ BuildRequires: pkgconfig(libsoup-2.4) >= 2.28.2
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(uuid)
|
||||
BuildRequires: pkgconfig(vapigen)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
GUPnP implements the UPnP specification: resource announcement and
|
||||
@ -91,30 +91,24 @@ libraries utilizing the GUPnP framework.
|
||||
%build
|
||||
%configure --disable-static \
|
||||
--with-context-manager=network-manager
|
||||
%__make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -n libgupnp-1_0-4 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgupnp-1_0-4 -p /sbin/ldconfig
|
||||
|
||||
%files -n libgupnp-1_0-4
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n typelib-1_0-GUPnP-1_0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/girepository-1.0/GUPnP-1.0.typelib
|
||||
|
||||
%files -n libgupnp-devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gupnp-binding-tool
|
||||
%{_includedir}/%{name}-1.0
|
||||
%{_libdir}/*.so
|
||||
|
Loading…
Reference in New Issue
Block a user