Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
libnetfilter_cthelper
libnetfilter_cthelper.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libnetfilter_cthelper.spec of Package libnetfilter_cthelper
%define realname libnetfilter_cthelper %define realver 1.0.0 %define srcext tar.bz2 %define so_ver 0 # 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_cthelper/ Summary: User-space infrastructure for connection tracking helpers # Install-time parameters Provides: %{realname} # Build-time parameters BuildRequires: pkgconfig BuildRequires: libmnl-devel >= 1.0.0 BuildRoot: %{_tmppath}/%{name}-root Source: http://www.netfilter.org/projects/libnetfilter_cthelper/files/%{realname}-%{realver}.%{srcext} %description Connection tracking helpers allows you to filter multi-flow protocols that usually separate control and data traffic into different flows. This is the case of application protocols like FTP, SIP and H.323 that are already supported by Netfilter. These helpers are implemented in kernel-space. %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 %changelog n %{realname}-devel
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