Summary: Utility functions from BSD systems
Summary(pl.UTF-8): Funkcje narzędziowe z systemów BSD
Name: libbsd
-Version: 0.4.2
+Version: 0.6.0
Release: 1
License: BSD, MIT (depending on part)
Group: Libraries
-Source0: http://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 591fc9de4ca22f78cf87a94e648a92f4
+Source0: http://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz
+# Source0-md5: f6c75f0a9818e323a589bcbd560a0eb4
URL: http://libbsd.freedesktop.org/
BuildRequires: sed >= 4.0
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
# avoid clash with libbsd.a from glibc
mv $RPM_BUILD_ROOT%{_libdir}/{libbsd,libbsdutil}.so
mv $RPM_BUILD_ROOT%{_libdir}/{libbsd,libbsdutil}.a
-sed -i -e 's/-lbsd/-lbsdutil/' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
+sed -i -e 's/-lbsd/-lbsdutil/' $RPM_BUILD_ROOT%{_pkgconfigdir}/{libbsd,libbsd-overlay}.pc
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libbsd.la
%clean
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libbsdutil.so
+%{_libdir}/libbsd-ctor.a
%{_includedir}/bsd
%{_pkgconfigdir}/libbsd.pc
+%{_pkgconfigdir}/libbsd-ctor.pc
%{_pkgconfigdir}/libbsd-overlay.pc
%{_mandir}/man3/arc4random*.3*
%{_mandir}/man3/bitstring.3*
%{_mandir}/man3/dehumanize_number.3*
%{_mandir}/man3/expand_number.3*
%{_mandir}/man3/fgetln.3*
+%{_mandir}/man3/fgetwln.3*
%{_mandir}/man3/flopen.3*
%{_mandir}/man3/fmtcheck.3*
+%{_mandir}/man3/fparseln.3*
%{_mandir}/man3/getmode.3*
%{_mandir}/man3/getpeereid.3*
%{_mandir}/man3/getprogname.3*
%{_mandir}/man3/strlcat.3*
%{_mandir}/man3/strlcpy.3*
%{_mandir}/man3/strmode.3*
+%{_mandir}/man3/strnstr.3*
%{_mandir}/man3/strtonum.3*
%{_mandir}/man3/tree.3*
%{_mandir}/man3/unvis.3*
%{_mandir}/man3/vis.3*
+%{_mandir}/man3/wcslcat.3*
+%{_mandir}/man3/wcslcpy.3*
%files static
%defattr(644,root,root,755)