commit edfdfe27d8d053a12c8a9ac8a9fb3a9ed8874b1a07ba8460ab78fd17cfe17c21 Author: Jan Engelhardt Date: Tue Oct 19 11:05:32 2010 +0000 Initial package OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=1 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/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..0637f6e --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libmnl0 diff --git a/libmnl-0+git71.tar.xz b/libmnl-0+git71.tar.xz new file mode 100644 index 0000000..1d7bfd5 --- /dev/null +++ b/libmnl-0+git71.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77cc715f35c353a9c95bffc945f790a7cc4c6d6e3708a383f3699cfacb3e7e06 +size 23712 diff --git a/libmnl.changes b/libmnl.changes new file mode 100644 index 0000000..60bf06e --- /dev/null +++ b/libmnl.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Oct 19 11:01:25 UTC 2010 - jengelh@medozas.de + +- Initial package + diff --git a/libmnl.spec b/libmnl.spec new file mode 100644 index 0000000..323a8e6 --- /dev/null +++ b/libmnl.spec @@ -0,0 +1,77 @@ + + +Name: libmnl +%define soname 0 +Version: 0+git71 +Release: 0 +License: GPLv2+ +Group: Productivity/Networking/Security +URL: http://netfilter.org/projects/libmnl/ +Source: %name-%version.tar.xz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libnfnetlink-devel >= 1.0.0 +BuildRequires: linux-glibc-devel, pkg-config, xz +Summary: Minimalistic Netlink communication library + +%description +libmnl is a minimalistic user-space library oriented to Netlink +developers. There are a lot of common tasks in parsing, validating, +constructing of both the Netlink header and TLVs that are repetitive +and easy to get wrong. This library aims to provide simple helpers +that allows you to re-use code and to avoid re-inventing the wheel. + +%define debug_package_requires %name%soname = %version-%release + +%package -n %name%soname +Group: System/Libraries +Summary: Minimalistic Netlink communication library + +%description -n %name%soname +libmnl is a minimalistic user-space library oriented to Netlink +developers. There are a lot of common tasks in parsing, validating, +constructing of both the Netlink header and TLVs that are repetitive +and easy to get wrong. This library aims to provide simple helpers +that allows you to re-use code and to avoid re-inventing the wheel. + +%package -n %name-devel +Group: Development/Libraries/C and C++ +Requires: %name%soname = %version +Summary: Development files for libmnl + +%description -n %name-devel +libmnl is a minimalistic user-space library oriented to Netlink +developers. There are a lot of common tasks in parsing, validating, +constructing of both the Netlink header and TLVs that are repetitive +and easy to get wrong. This library aims to provide simple helpers +that allows you to re-use code and to avoid re-inventing the wheel. + +%prep +%setup -qn %name + +%build +if [ ! -e configure ]; then + ./autogen.sh; +fi; +%configure +make %{?_smp_mflags} + +%install +%makeinstall +find "%buildroot" -name "*.la" -delete; + +%post -n %name%soname -p /sbin/ldconfig + +%postun -n %name%soname -p /sbin/ldconfig + +%files -n %name%soname +%defattr(-,root,root) +%_libdir/*.so.* + +%files -n %name-devel +%defattr(-,root,root) +%_includedir/* +%_libdir/*.so +%_libdir/pkgconfig/* + +%changelog