From 0063dc5174b5c72e3fd03a3f37bc24fbb01f3e98d4637acbbce4691ab898103f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 29 Dec 2011 21:31:39 +0000 Subject: [PATCH] Initial commit OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_acct?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + baselibs.conf | 1 + libnetfilter_acct-0.0.0.26.tar.xz | 3 ++ libnetfilter_acct.changes | 4 ++ libnetfilter_acct.spec | 77 +++++++++++++++++++++++++++++++ 6 files changed, 109 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libnetfilter_acct-0.0.0.26.tar.xz create mode 100644 libnetfilter_acct.changes create mode 100644 libnetfilter_acct.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..0d2f359 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libnetfilter_acct0 diff --git a/libnetfilter_acct-0.0.0.26.tar.xz b/libnetfilter_acct-0.0.0.26.tar.xz new file mode 100644 index 0000000..d44c390 --- /dev/null +++ b/libnetfilter_acct-0.0.0.26.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5731e4bdb2cf62e92c1b166ce78f10ade3708124e7679855c9c485bcdf0b90d +size 18064 diff --git a/libnetfilter_acct.changes b/libnetfilter_acct.changes new file mode 100644 index 0000000..0fa5c1c --- /dev/null +++ b/libnetfilter_acct.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Dec 29 21:28:40 UTC 2011 - jengelh@medozas.de + +- Initial package for build.opensuse.org diff --git a/libnetfilter_acct.spec b/libnetfilter_acct.spec new file mode 100644 index 0000000..8d9932c --- /dev/null +++ b/libnetfilter_acct.spec @@ -0,0 +1,77 @@ +# +# spec file for package libnetfilter_acct +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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: libnetfilter_acct +%define lname %{name}0 +Version: 0.0.0.26 +Release: 1 +License: LGPL-2.1+ +Group: Productivity/Networking/Security +URL: http://netfilter.org/projects/libnetfilter_acct/ +Source: %name-%version.tar.xz +Source3: baselibs.conf +BuildRoot: %_tmppath/%name-%version-build +BuildRequires: automake, libtool, pkgconfig xz +Summary: Userspace library for the in-kernel Netfilter counters + +%description +This library provides the programming interface (API) to the +Netfilter extended accounting infrastructure. + +%package -n %lname +Group: System/Libraries +Summary: Userspace library for the in-kernel Netfilter counters + +%description -n %lname +This library provides the programming interface (API) to the +Netfilter extended accounting infrastructure. + +%package devel +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Summary: Userspace library for the in-kernel Netfilter counters + +%description devel +This library provides the programming interface (API) to the +Netfilter extended accounting infrastructure. + +%prep +%setup -q + +%build +%configure --disable-static --includedir=%_includedir/%name-%version +make %{?_smp_mflags} + +%install +%makeinstall +rm -f "%buildroot/%_libdir"/*.la; + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%_libdir/libnetfilter_acct.so.* + +%files devel +%defattr(-,root,root) +%_includedir/libnetfilter_acct* +%_libdir/libnetfilter_acct.so +%_libdir/pkgconfig/libnetfilter_acct.pc + +%changelog