forked from pool/libdnet
Accepting request 92855 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/92855 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnet?expand=0&rev=14
This commit is contained in:
commit
3a25e5c3a5
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 14:54:56 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
- Use %_smp_mflags for parallel building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 09:15:27 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
28
libdnet.spec
28
libdnet.spec
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libdnet
|
||||
@ -25,7 +24,7 @@ Group: Development/Libraries/Other
|
||||
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
|
||||
Version: 1.12
|
||||
Release: 2
|
||||
Url: http://code.google.com/p/libdnet/
|
||||
URL: http://code.google.com/p/libdnet/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: http://libdnet.googlecode.com/files/%name-%{version}.tar.bz2
|
||||
Patch0: %name.patch
|
||||
@ -47,14 +46,7 @@ networking routines, including:
|
||||
|
||||
* raw IP packet and Ethernet frame transmission
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dug Song <dugsong@monkey.org>
|
||||
|
||||
%package -n libdnet1
|
||||
License: BSD3c(or similar)
|
||||
Group: Development/Libraries/Other
|
||||
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
|
||||
Provides: %{name} = %{version}
|
||||
@ -78,14 +70,7 @@ networking routines, including:
|
||||
|
||||
* raw IP packet and Ethernet frame transmission
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dug Song <dugsong@monkey.org>
|
||||
|
||||
%package devel
|
||||
License: BSD3c(or similar)
|
||||
Group: Development/Libraries/Other
|
||||
Summary: Devel files for libdnet
|
||||
Requires: libdnet1 = %{version} glibc-devel
|
||||
@ -107,12 +92,6 @@ networking routines, including:
|
||||
|
||||
- raw IP packet and Ethernet frame transmission
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dug Song <dugsong@monkey.org>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
@ -120,15 +99,12 @@ Authors:
|
||||
%build
|
||||
ACLOCAL="aclocal -I config" autoreconf -fi
|
||||
%configure --disable-static --with-pic
|
||||
make %{?jobs:-j %jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%{__rm} -f %{buildroot}%{_libdir}/libdnet.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -n libdnet1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdnet1 -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user