]> git.pld-linux.org Git - packages/libnl1.git/commitdiff
- initial
authorundefine <undefine@pld-linux.org>
Sun, 19 Jun 2005 08:08:13 +0000 (08:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libnl1.spec -> 1.1

libnl1.spec [new file with mode: 0644]

diff --git a/libnl1.spec b/libnl1.spec
new file mode 100644 (file)
index 0000000..3e479c2
--- /dev/null
@@ -0,0 +1,83 @@
+Summary:       Netlink library
+Summary(pl):   Biblioteka do obs³ugi netlink
+Name:          libnl
+Version:       0.5.0
+Release:       1
+License:       LGPL v2.1
+Group:         Libraries
+Source0:       http://people.suug.ch/~tgr/libnl/files/%{name}-%{version}.tar.gz
+# Source0-md5: c58ec5032f393f569ef7f489436651b3
+Patch0:                %{name}-if_ether.patch
+Patch1:                %{name}-no_root.patch
+Patch2:                %{name}-libdir.patch
+URL:           http://people.suug.ch/~tgr/libnl/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libnl is a library for applications dealing with netlink socket. It
+provides an easy to use interface for raw netlink message but also
+netlink family specific APIs.
+
+%description -l pl
+libnl jest bibliotek± dla aplikacji rozmawiaj±cych z gniazdem
+netlinka. Udostêpnia ³atwy w u¿yciu interfejs do korzystania z
+surowych wiadomo¶ci netlink, a tak¿e API do rodziny netlinka.
+
+%package devel
+Summary:       Header files for libnl library
+Summary(pl):   Pliki nag³ówkowe biblioteki libnl
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for libnl library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki libnl.
+
+%package static
+Summary:       Static libnl library
+Summary(pl):   Statyczna biblioteka libnl
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static libnl library.
+
+%description static -l pl
+Statyczna biblioteka libnl.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%configure \
+       --enable-verbose-errors
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/netlink
This page took 0.060208 seconds and 4 git commands to generate.