Accepting request 581248 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581248 OBS-URL: https://build.opensuse.org/package/show/Base:System/libgudev?expand=0&rev=11
This commit is contained in:
parent
562b2e04b9
commit
665a9106a0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:35:11 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 1 10:35:17 UTC 2017 - zaitor@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libgudev
|
||||
#
|
||||
# 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,9 +20,9 @@ Name: libgudev
|
||||
Version: 232
|
||||
Release: 0
|
||||
Summary: Library that provides GObject bindings for libudev
|
||||
License: LGPL-2.0+
|
||||
License: LGPL-2.0-or-later
|
||||
Group: Development/Libraries/GNOME
|
||||
Url: https://wiki.gnome.org/Projects/libgudev
|
||||
URL: https://wiki.gnome.org/Projects/libgudev
|
||||
Source0: https://download.gnome.org/sources/libgudev/%{version}/%{name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
BuildRequires: pkgconfig
|
||||
@ -34,7 +34,6 @@ BuildRequires: pkgconfig(gtk-doc) >= 1.18
|
||||
BuildRequires: pkgconfig(libudev) >= 199
|
||||
# FIXME - not yet in openSUSE
|
||||
#BuildRequires: pkgconfig(umockdev-1.0)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Library provides GObject bindings for libudev. It used to be part
|
||||
@ -77,24 +76,21 @@ provides GObject access to udev device information.
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libgudev-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgudev-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libgudev-1_0-0
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/libgudev-1.0.so.*
|
||||
|
||||
%files -n typelib-1_0-GUdev-1_0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/girepository-1.0/GUdev-1.0.typelib
|
||||
|
||||
%files -n libgudev-1_0-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/gudev-1.0/
|
||||
%{_libdir}/libgudev-1.0.so
|
||||
%{_libdir}/pkgconfig/gudev-1.0.pc
|
||||
|
Loading…
Reference in New Issue
Block a user