Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
netcontrol.30089
netcontrol.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netcontrol.spec of Package netcontrol.30089
# # spec file for package netcontrol # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: netcontrol Version: 0.3.2 Release: 0 Summary: A network configuration library # # License note: # libnetcontrol contains source code which is based on wicked. # Wicked is licensed under the GPL-2.0-or-later, but permission has # been granted by the authors of wicked to use the code derived from # wicked under the LGPL-2.1-or-later in libnetcontrol. # License: LGPL-2.1-or-later Group: Productivity/Networking/System Source0: %{name}-%{version}.tar.bz2 Source1: baselibs.conf Patch1: 0001-xml-reader-fix-xml_getc-and-xml_ungetc.patch Patch2: 0002-xml-reader-allow-uppercase-for-lt-gt-and-amp-expansi.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1310 BuildRequires: autoconf BuildRequires: automake BuildRequires: libnl3-devel BuildRequires: libtool %else %if 0%{?suse_version} >= 1210 BuildRequires: libnl-1_1-devel %else BuildRequires: libnl-devel %endif %endif BuildRequires: pkg-config %if 0%{?suse_version} >= 1230 Requires: sysconfig >= 0.80.0 %else Requires: sysconfig >= 0.71.0 %endif %description A interim network configuration library, currently implementing the libnetcf interface for libvirt. Authors: -------- Olaf Kirch <okir@suse.de> Marius Tomaschewski <mt@suse.de> %package -n libnetcontrol0 Summary: A network configuration library Group: Productivity/Networking/System %description -n libnetcontrol0 A interim network configuration library, currently implementing the libnetcf interface for libvirt. The libnetcontrol0 package provides the shared library. Authors: -------- Olaf Kirch <okir@suse.de> Marius Tomaschewski <mt@suse.de> %package -n libnetcontrol-devel Summary: Development header and library files Group: Development/Libraries/C and C++ Requires: libnetcontrol0 = %{version} %description -n libnetcontrol-devel A interim network configuration library, currently implementing the libnetcf interface for libvirt. The libnetcontrol-devel package contains libraries and header files required for development. Authors: -------- Olaf Kirch <okir@suse.de> Marius Tomaschewski <mt@suse.de> %prep %setup -q %patch1 -p1 %patch2 -p1 %build export CFLAGS="-W -Wall $RPM_OPT_FLAGS" %configure \ %if 0%{?suse_version} >= 1230 --enable-network-service \ %endif --enable-pthreads \ --disable-static make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %post -n libnetcontrol0 /sbin/ldconfig %postun -n libnetcontrol0 /sbin/ldconfig %files -n libnetcontrol0 %defattr(-,root,root,-) %{_libdir}/*.so.* %files -n libnetcontrol-devel %defattr(-,root,root,-) %doc README COPYING.LGPL COPYING.GPL ChangeLog.git %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/netcontrol.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor