automatic update by autodist [release 0.6.0-1mamba;Thu Aug 22 2013]

This commit is contained in:
Automatic Build System 2024-01-06 03:55:25 +01:00
parent 5607de06de
commit 61049bb622
2 changed files with 85 additions and 0 deletions

View File

@ -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.

83
libbsd.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.6.0-1mamba
- automatic update by autodist
* Wed Jun 12 2013 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
- automatic version update by autodist
* Mon Jun 03 2013 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
- update to 0.5.1
* Fri Jul 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
- package created by autospec