Browse Source

new package

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6372 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 12 years ago
parent
commit
cd7da1ded6
1 changed files with 96 additions and 0 deletions
  1. 96 0
      lib/libn/libnl3/libnl3-vl.spec

+ 96 - 0
lib/libn/libnl3/libnl3-vl.spec

@@ -0,0 +1,96 @@
+Summary: Convenience library for kernel netlink sockets
+Group: Development/Libraries
+License: LGPLv2
+Name: libnl3
+Version: 3.2.7
+Release: 1%{?_dist_release}
+URL: http://www.infradead.org/~tgr/libnl/
+Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+#BuildRequires: doxygen
+#BuildRequires: xmlstarlet
+BuildRequires: flex bison
+#BuildRequires: texlive-latex texlive-dvips
+BuildRequires: graphviz
+BuildRequires: python
+#BuildRequires: asciidoc
+#BuildRequires: source-highlight
+
+%description
+This package contains a convenience library to simplify
+using the Linux kernel's netlink sockets interface for
+network manipulation
+
+%package devel
+Summary: Libraries and headers for using libnl3
+Summary(ja): Libraries and headers for using libnl3
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: %{name}-cli = %{version}-%{release}
+Requires: kernel-headers
+
+%description devel
+This package contains various headers for using libnl3
+
+%package cli
+Summary: Command line interface utils for libnl3
+Summary(ja): Command line interface utils for libnl3
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description cli
+This package contains various libnl3 utils and additional
+libraries on which they depend
+%prep
+%setup -q -n libnl-%{version}
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+#pushd doc
+#    # docs aren't parallel-make safe
+#    make gendoc
+#popd
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -name \*.la -delete
+
+%post -p /sbin/ldconfig
+%post cli -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%postun cli -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%exclude %{_libdir}/libnl-cli*.so.*
+%{_libdir}/libnl-*.so.*
+%config(noreplace) %{_sysconfdir}/*
+
+%files devel
+%defattr(-,root,root,-)
+%doc COPYING
+%{_includedir}/libnl3/netlink/
+%dir %{_includedir}/libnl3/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%files cli
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/libnl-cli*.so.*
+%{_libdir}/libnl/
+%{_sbindir}/*
+%{_mandir}/man8/* 
+
+%changelog
+* Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.7-1
+- initial build for Vine Linux
+
+* Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1
+- Update to 3.2.7
+
+* Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1
+- Initial build