Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
libnetfilter_cttimeout
libnetfilter_cttimeout.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libnetfilter_cttimeout.spec of Package libnetfilter_cttimeout
%define realname libnetfilter_cttimeout %define realver 1.0.0 %define srcext tar.bz2 %define so_ver 1 # Common info Name: %{realname}%{?so_ver} Version: %{realver} Release: wiz%{?extraver:0.}1%{?dist} License: GPL-2.0 Group: System/Libraries URL: http://www.netfilter.org/projects/libnetfilter_cttimeout/ Summary: Timeout policy tuning for Netfilter/conntrack # Install-time parameters Provides: %{realname} # Build-time parameters BuildRequires: pkgconfig %if 0%{?suse_version} && ! 0%{?sles_version} BuildRequires: pkgconfig(libmnl) >= 1.0.0 %else BuildRequires: libmnl-devel %endif BuildRoot: %{_tmppath}/%{name}-root Source: http://www.netfilter.org/projects/libnetfilter_cttimeout/files/%{realname}-%{realver}.%{srcext} %description libnetfilter_cttimeout is the userspace library that provides the programming interface to the fine-grain connection tracking timeout infrastructure. With this library, you can create, update and delete timeout policies that can be attached to traffic flows. This library is used by conntrack-tools. %package -n %{realname}-devel Group: Development/Languages/C and C++ Summary: Development files for %{name} Requires: %{name} = %{version} %description -n %{realname}-devel Development files for %{name} # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} %build %configure \ --disable-static \ CFLAGS="%{optflags} %{?gcc_lto}" \ CXXFLAGS="%{optflags} %{?gcc_lto}" \ LDFLAGS="-Wl,--as-needed -Wl,--strip-all %{?gcc_lto}" %__make %{?_smp_mflags} %install %__make install DESTDIR=%{buildroot} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING README %{_libdir}/*.so.%{?so_ver}* # Development stuff %files -n %{realname}-devel %defattr(-,root,root) %{_libdir}/pkgconfig/%{realname}.pc %{_includedir}/%{realname}/ %{_libdir}/*.so %exclude %{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %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