12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- Name: libbsd
- Version: 0.4.2
- Release: 1%{?_dist_release}
- Summary: Library providing BSD-compatible functions for portability
- URL: http://libbsd.freedesktop.org/
- Source0: http://libbsd.freedesktop.org/releases/libbsd-%{version}.tar.gz
- License: BSD and ISC and Copyright only and Public Domain
- Group: System Environment/Libraries
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: tomop
- %description
- libbsd 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
- Summary: Development files for libbsd
- Group: Development/Libraries
- Requires: libbsd = %{version}-%{release}
- Requires: pkgconfig
- %description devel
- Development files for the libbsd library.
- %prep
- %setup -q
- # fix encoding of flopen.3 man page
- for f in man/flopen.3; do
- iconv -f iso8859-1 -t utf-8 $f >$f.conv
- touch -r $f $f.conv
- mv $f.conv $f
- done
- %build
- %configure
- make CFLAGS="%{optflags}" %{?_smp_mflags} \
- libdir=%{_libdir} \
- usrlibdir=%{_libdir} \
- exec_prefix=%{_prefix}
- %install
- make libdir=%{_libdir} \
- usrlibdir=%{_libdir} \
- exec_prefix=%{_prefix} \
- DESTDIR=%{buildroot} \
- install
- # don't want static library
- rm -f %{buildroot}%{_libdir}/%{name}.a
- rm -f %{buildroot}%{_libdir}/%{name}.la
- %post
- /sbin/ldconfig
- %postun
- /sbin/ldconfig
- %files
- %doc COPYING README TODO ChangeLog
- %{_libdir}/%{name}.so.*
- %files devel
- %{_mandir}/man3/*.3.gz
- %{_mandir}/man3/*.3bsd.gz
- %{_includedir}/bsd
- %{_libdir}/%{name}.so
- %{_libdir}/pkgconfig/%{name}.pc
- %{_libdir}/pkgconfig/%{name}-overlay.pc
- %changelog
- * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.2-1
- - new upstream release.
- - initial build for Vine Linux.
- * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
- * Sat Oct 08 2011 Eric Smith <eric@brouhaha.com> - 0.3.0-1
- - Update to latest upstream release.
- - Removed Patch0, fixed upstream.
- - Removed BuildRoot, clean, defattr.
- * Fri Jan 29 2010 Eric Smith <eric@brouhaha.com> - 0.2.0-3
- - changes based on review by Sebastian Dziallas
- * Fri Jan 29 2010 Eric Smith <eric@brouhaha.com> - 0.2.0-2
- - changes based on review comments by Jussi Lehtola and Ralf Corsepious
- * Thu Jan 28 2010 Eric Smith <eric@brouhaha.com> - 0.2.0-1
- - initial version
|