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
|
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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,11 +20,12 @@ Name: gupnp
|
|||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Implementation of the UPnP specification
|
Summary: Implementation of the UPnP specification
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
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
|
Source: http://download.gnome.org/sources/gupnp/1.0/%{name}-%{version}.tar.xz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
BuildRequires: pkgconfig
|
||||||
# Needed for the GTest
|
# Needed for the GTest
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
|
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.4
|
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(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(uuid)
|
BuildRequires: pkgconfig(uuid)
|
||||||
BuildRequires: pkgconfig(vapigen)
|
BuildRequires: pkgconfig(vapigen)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GUPnP implements the UPnP specification: resource announcement and
|
GUPnP implements the UPnP specification: resource announcement and
|
||||||
@ -91,30 +91,24 @@ libraries utilizing the GUPnP framework.
|
|||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-context-manager=network-manager
|
--with-context-manager=network-manager
|
||||||
%__make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post -n libgupnp-1_0-4 -p /sbin/ldconfig
|
%post -n libgupnp-1_0-4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libgupnp-1_0-4 -p /sbin/ldconfig
|
%postun -n libgupnp-1_0-4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libgupnp-1_0-4
|
%files -n libgupnp-1_0-4
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING NEWS README
|
%doc AUTHORS NEWS README
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-GUPnP-1_0
|
%files -n typelib-1_0-GUPnP-1_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/GUPnP-1.0.typelib
|
%{_libdir}/girepository-1.0/GUPnP-1.0.typelib
|
||||||
|
|
||||||
%files -n libgupnp-devel
|
%files -n libgupnp-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/gupnp-binding-tool
|
%{_bindir}/gupnp-binding-tool
|
||||||
%{_includedir}/%{name}-1.0
|
%{_includedir}/%{name}-1.0
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user