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:
@@ -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
|
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/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: libdnet
|
Name: libdnet
|
||||||
@@ -25,7 +24,7 @@ Group: Development/Libraries/Other
|
|||||||
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
|
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
|
||||||
Version: 1.12
|
Version: 1.12
|
||||||
Release: 2
|
Release: 2
|
||||||
Url: http://code.google.com/p/libdnet/
|
URL: http://code.google.com/p/libdnet/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: http://libdnet.googlecode.com/files/%name-%{version}.tar.bz2
|
Source0: http://libdnet.googlecode.com/files/%name-%{version}.tar.bz2
|
||||||
Patch0: %name.patch
|
Patch0: %name.patch
|
||||||
@@ -47,14 +46,7 @@ networking routines, including:
|
|||||||
|
|
||||||
* raw IP packet and Ethernet frame transmission
|
* raw IP packet and Ethernet frame transmission
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Dug Song <dugsong@monkey.org>
|
|
||||||
|
|
||||||
%package -n libdnet1
|
%package -n libdnet1
|
||||||
License: BSD3c(or similar)
|
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
|
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
|
||||||
Provides: %{name} = %{version}
|
Provides: %{name} = %{version}
|
||||||
@@ -78,14 +70,7 @@ networking routines, including:
|
|||||||
|
|
||||||
* raw IP packet and Ethernet frame transmission
|
* raw IP packet and Ethernet frame transmission
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Dug Song <dugsong@monkey.org>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: BSD3c(or similar)
|
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Summary: Devel files for libdnet
|
Summary: Devel files for libdnet
|
||||||
Requires: libdnet1 = %{version} glibc-devel
|
Requires: libdnet1 = %{version} glibc-devel
|
||||||
@@ -107,12 +92,6 @@ networking routines, including:
|
|||||||
|
|
||||||
- raw IP packet and Ethernet frame transmission
|
- raw IP packet and Ethernet frame transmission
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Dug Song <dugsong@monkey.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
@@ -120,15 +99,12 @@ Authors:
|
|||||||
%build
|
%build
|
||||||
ACLOCAL="aclocal -I config" autoreconf -fi
|
ACLOCAL="aclocal -I config" autoreconf -fi
|
||||||
%configure --disable-static --with-pic
|
%configure --disable-static --with-pic
|
||||||
make %{?jobs:-j %jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/libdnet.la
|
%{__rm} -f %{buildroot}%{_libdir}/libdnet.la
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -n libdnet1 -p /sbin/ldconfig
|
%post -n libdnet1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libdnet1 -p /sbin/ldconfig
|
%postun -n libdnet1 -p /sbin/ldconfig
|
||||||
|
Reference in New Issue
Block a user