Stephan Kulow 2010-12-07 11:02:15 +00:00 committed by Git OBS Bridge
parent e230622133
commit 8dc3ba02c7

View File

@ -1,5 +1,5 @@
#
# spec file for package libmnl (Version 0+git86)
# spec file for package libmnl (Version 0+git107)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,9 +18,9 @@
Name: libmnl
%define soname 0
Version: 0+git86
Release: 1
%define lname %{name}0
Version: 0+git107
Release: 0
License: GPLv2+
Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/libmnl/
@ -42,14 +42,14 @@ 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
%define debug_package_requires %lname = %version-%release
%package -n %name%soname
%package -n %lname
Group: System/Libraries
Summary: Minimalistic Netlink communication library
%description -n %name%soname
%description -n %lname
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
@ -59,7 +59,7 @@ 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
Requires: %lname = %version
Summary: Development files for libmnl
%description -n %name-devel
@ -83,11 +83,11 @@ make %{?_smp_mflags}
%makeinstall
find "%buildroot" -name "*.la" -delete;
%post -n %name%soname -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %name%soname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %name%soname
%files -n %lname
%defattr(-,root,root)
%_libdir/*.so.*