From 61049bb622ffb2972546409c3bbcee7961d5b868 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:55:25 +0100 Subject: [PATCH] automatic update by autodist [release 0.6.0-1mamba;Thu Aug 22 2013] --- README.md | 2 ++ libbsd.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 libbsd.spec diff --git a/README.md b/README.md index b6d7300..0bab614 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libbsd +This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project. + diff --git a/libbsd.spec b/libbsd.spec new file mode 100644 index 0000000..f15c1f5 --- /dev/null +++ b/libbsd.spec @@ -0,0 +1,83 @@ +Name: libbsd +Version: 0.6.0 +Release: 1mamba +Summary: This library provides useful functions commonly found on BSD systems +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libbsd.freedesktop.org +Source: http://libbsd.freedesktop.org/releases/libbsd-%{version}.tar.xz +License: BSD, MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libbsd.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/bsd +%{_includedir}/bsd/*.h +%dir %{_includedir}/bsd/netinet +%{_includedir}/bsd/netinet/ip_icmp.h +%dir %{_includedir}/bsd/sys +%{_includedir}/bsd/sys/*.h +%{_libdir}/libbsd.a +%{_libdir}/libbsd.la +%{_libdir}/libbsd.so +%{_libdir}/libbsd-ctor.a +%{_libdir}/pkgconfig/libbsd-ctor.pc +%{_libdir}/pkgconfig/libbsd-overlay.pc +%{_libdir}/pkgconfig/libbsd.pc +%{_mandir}/man3/*.3* +%doc ChangeLog README TODO + +%changelog +* Thu Aug 22 2013 Automatic Build System 0.6.0-1mamba +- automatic update by autodist + +* Wed Jun 12 2013 Automatic Build System 0.5.2-1mamba +- automatic version update by autodist + +* Mon Jun 03 2013 Automatic Build System 0.5.1-1mamba +- update to 0.5.1 + +* Fri Jul 27 2012 Silvan Calarco 0.4.2-1mamba +- package created by autospec