# # spec file for package libusbauth-configparser # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 Stefan Koch # Copyright (c) 2015 SUSE LLC. All Rights Reserved. # Author: Stefan Koch # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libusbauth-configparser Version: 1.0 Release: 0 Summary: Library for USB Firewall including flex/bison parser License: LGPL-2.1 Group: Development/Languages/C and C++ Url: https://github.com/kochstefan/usbauth-all/tree/master/libusbauth-configparser BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}.tar.bz2 BuildRequires: bison BuildRequires: flex BuildRequires: libtool BuildRequires: libudev-devel %description Library to read usbauth config file into data structures %package -n %{name}1 Summary: Library for USB Firewall including flex/bison parser Group: System/Libraries %package devel Summary: Development part of library for USB Firewall including flex/bison parser Group: Development/Languages/C and C++ Requires: libusbauth-configparser1 = %{version} %description -n %{name}1 Library to read usbauth config file into data structures %description devel Development part of library to read usbauth config file into data structures %prep %setup -n %{name} %build autoreconf -f -i %configure %make_build %install %make_install %files -n %{name}1 %defattr(-,root,root) %doc COPYING README %_libdir/*lib*.so.* %files devel %defattr(-,root,root) %doc COPYING README %doc %_mandir/*/* %_includedir/* %_libdir/lib*.so %_libdir/pkgconfig/* %post -n %{name}1 -p /sbin/ldconfig %postun -n %{name}1 -p /sbin/ldconfig %changelog