forked from pool/usbguard
Accepting request 363506 from home:msmeissn:branches:hardware
- split off a library package libusbguard0 OBS-URL: https://build.opensuse.org/request/show/363506 OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=3
This commit is contained in:
parent
22746d2832
commit
59d9712112
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 1 12:08:51 UTC 2016 - meissner@suse.com
|
||||
|
||||
- split off a library package libusbguard0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 31 09:40:56 UTC 2016 - meissner@suse.com
|
||||
|
||||
|
@ -18,6 +18,8 @@
|
||||
|
||||
%global _hardened_build 1
|
||||
|
||||
%define lname libusbguard0
|
||||
|
||||
Name: usbguard
|
||||
Version: 0.4
|
||||
Release: 1
|
||||
@ -45,10 +47,21 @@ The USBGuard software framework helps to protect your computer against rogue USB
|
||||
devices by implementing basic whitelisting/blacklisting capabilities based on
|
||||
USB device attributes.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for implementing USB device usage policy
|
||||
License: GPL-2.0+
|
||||
Group: System Environment/Daemons
|
||||
|
||||
%description -n %lname
|
||||
The USBGuard software framework helps to protect your computer against rogue USB
|
||||
devices by implementing basic whitelisting/blacklisting capabilities based on
|
||||
USB device attributes.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %lname = %{version}
|
||||
Requires: libstdc++-devel
|
||||
Requires: pkgconfig
|
||||
|
||||
@ -94,7 +107,7 @@ mkdir -p %{buildroot}%{_unitdir}
|
||||
install -p -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/usbguard.service
|
||||
|
||||
# Cleanup
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
|
||||
%preun
|
||||
%service_del_preun usbguard.service
|
||||
@ -115,7 +128,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_libdir}/*.so.*
|
||||
%{_sbindir}/usbguard-daemon
|
||||
%dir %{_sysconfdir}/usbguard
|
||||
%config(noreplace) %{_sysconfdir}/usbguard/usbguard-daemon.conf
|
||||
@ -124,6 +136,11 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%{_datadir}/man/man5/usbguard-daemon.conf.5.gz
|
||||
%{_datadir}/man/man5/usbguard-rules.conf.5.gz
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/*
|
||||
|
Loading…
Reference in New Issue
Block a user