packages libbsd.spec
      Pages: < 1 >  DOWNLOAD      
Name:          libbsd
Version:       0.8.6
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@...>
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*
%{_mandir}/man7/libbsd.7*
%doc ChangeLog README TODO

%changelog
* Sat Aug 12 2017 Automatic Build System <autodist@...> 0.8.6-1mamba
- automatic version update by autodist

* Tue Aug 08 2017 Automatic Build System <autodist@...> 0.8.5-1mamba
- automatic version update by autodist

* Sun Apr 24 2016 Automatic Build System <autodist@...> 0.8.3-1mamba
- automatic version update by autodist

* Thu Feb 04 2016 Automatic Build System <autodist@...> 0.8.2-1mamba
- automatic version update by autodist

* Thu Jan 07 2016 Automatic Build System <autodist@...> 0.8.1-1mamba
- automatic version update by autodist

* Sat Dec 05 2015 Automatic Build System <autodist@...> 0.8.0-1mamba
- automatic version update by autodist

* Sat Aug 02 2014 Automatic Build System <autodist@...> 0.7.0-1mamba
- automatic update by autodist

* Thu Aug 22 2013 Automatic Build System <autodist@...> 0.6.0-1mamba
- automatic update by autodist

* Wed Jun 12 2013 Automatic Build System <autodist@...> 0.5.2-1mamba
- automatic version update by autodist

* Mon Jun 03 2013 Automatic Build System <autodist@...> 0.5.1-1mamba
- update to 0.5.1

* Fri Jul 27 2012 Silvan Calarco <silvan.calarco@...> 0.4.2-1mamba
- package created by autospec