From 49dbe179117773a0ef3000ee804021e9cc34225f Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 17 2013 13:08:00 +0000 Subject: import libnl3-3.2.21-1.el7.src.rpm --- diff --git a/.libnl3.metadata b/.libnl3.metadata new file mode 100644 index 0000000..09e10ef --- /dev/null +++ b/.libnl3.metadata @@ -0,0 +1,2 @@ +7d680788902f1e839889b7c2611393595beba907 SOURCES/libnl-3.2.21.tar.gz +de52a546e233c09f3d859daf9eb06a7b4ec9b565 SOURCES/libnl-doc-3.2.21.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/libnl3.spec b/SPECS/libnl3.spec new file mode 100644 index 0000000..b35f99c --- /dev/null +++ b/SPECS/libnl3.spec @@ -0,0 +1,122 @@ +Summary: Convenience library for kernel netlink sockets +Group: Development/Libraries +License: LGPLv2 +Name: libnl3 +Version: 3.2.21 +Release: 1%{?dist} +URL: http://www.infradead.org/~tgr/libnl/ +Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz +Source1: http://www.infradead.org/~tgr/libnl/files/libnl-doc-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: flex bison +BuildRequires: python + +%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 +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 +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description cli +This package contains various libnl3 utils and additional +libraries on which they depend + +%package doc +Summary: API documentation for libnl3 +Group: Documentation +Requires: %{name} = %{version}-%{release} + +%description doc +This package contains libnl3 API documentation + +%prep +%setup -q -n libnl-%{version} + +tar -xzf %SOURCE1 + +%build +%configure --disable-static +make %{?_smp_mflags} + +%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/* + +%files doc +%defattr(-,root,root,-) +%doc COPYING +%doc libnl-doc-%{version}/*.html +%doc libnl-doc-%{version}/*.css +%doc libnl-doc-%{version}/stylesheets/* +%doc libnl-doc-%{version}/images/* +%doc libnl-doc-%{version}/images/icons/* +%doc libnl-doc-%{version}/images/icons/callouts/* +%doc libnl-doc-%{version}/api/* + +%changelog +* Fri Jan 25 2013 Jiri Pirko - 3.2.21-1 +- Update to 3.2.21 + +* Wed Jan 23 2013 Jiri Pirko - 3.2.20-1 +- Update to 3.2.20 + +* Sun Jan 20 2013 Jiri Pirko - 3.2.19-2 +- Age fix + +* Thu Jan 17 2013 Jiri Pirko - 3.2.19-1 +- Update to 3.2.19 + +* Tue Oct 30 2012 Dan Williams - 3.2.14-1 +- Update to 3.2.14 + +* Mon Sep 17 2012 Dan Williams - 3.2.13-1 +- Update to 3.2.13 + +* Fri Feb 10 2012 Dan Williams - 3.2.7-1 +- Update to 3.2.7 + +* Tue Jan 17 2012 Jiri Pirko - 3.2.6-1 +- Initial build