forked from pool/libgusb
Accepting request 583098 from hardware
OBS-URL: https://build.opensuse.org/request/show/583098 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgusb?expand=0&rev=17
This commit is contained in:
commit
2e31f94cdd
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:35:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 6 20:08:26 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
16
libgusb.spec
16
libgusb.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libgusb
|
||||
#
|
||||
# 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,10 +20,11 @@ Name: libgusb
|
||||
Version: 0.2.11
|
||||
Release: 0
|
||||
Summary: GObject-based library for libusb1
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Url: https://github.com/hughsie/libgusb
|
||||
URL: https://github.com/hughsie/libgusb
|
||||
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: vala
|
||||
BuildRequires: xz
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
|
||||
@ -75,24 +76,21 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libgusb2 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgusb2 -p /sbin/ldconfig
|
||||
|
||||
%files -n libgusb2
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README
|
||||
%{_libdir}/libgusb.so.?
|
||||
%{_libdir}/libgusb.so.?.0.*
|
||||
|
||||
%files -n typelib-1_0-GUsb-1_0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/gusbcmd
|
||||
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
||||
%dir %{_datadir}/vala/vapi
|
||||
|
Loading…
Reference in New Issue
Block a user