Update to latest upstream.

epel9
Eric Smith 13 years ago
parent f5619f41a2
commit 63f079b9c3

1
.gitignore vendored

@ -1,2 +1,3 @@
libbsd-0.2.0.tar.gz libbsd-0.2.0.tar.gz
/libbsd-0.3.0.tar.gz /libbsd-0.3.0.tar.gz
/libbsd-0.4.1.tar.gz

@ -1,6 +1,6 @@
Name: libbsd Name: libbsd
Version: 0.3.0 Version: 0.4.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: Library providing BSD-compatible functions for portability Summary: Library providing BSD-compatible functions for portability
URL: http://libbsd.freedesktop.org/ URL: http://libbsd.freedesktop.org/
@ -28,12 +28,14 @@ Development files for the libbsd library.
%setup -q %setup -q
# fix encoding of flopen.3 man page # fix encoding of flopen.3 man page
for f in src/flopen.3; do for f in man/flopen.3; do
iconv -f iso8859-1 -t utf-8 $f >$f.conv iconv -f iso8859-1 -t utf-8 $f >$f.conv
touch -r $f $f.conv touch -r $f $f.conv
mv $f.conv $f mv $f.conv $f
done done
%configure
%build %build
make CFLAGS="%{optflags}" %{?_smp_mflags} \ make CFLAGS="%{optflags}" %{?_smp_mflags} \
libdir=%{_libdir} \ libdir=%{_libdir} \
@ -47,13 +49,9 @@ make libdir=%{_libdir} \
DESTDIR=%{buildroot} \ DESTDIR=%{buildroot} \
install install
# don't want static library # don't want static library or libtool archive
rm %{buildroot}%{_libdir}/%{name}.a rm %{buildroot}%{_libdir}/%{name}.a
rm %{buildroot}%{_libdir}/%{name}.la
# Move nlist.h into bsd directory to avoid conflict with elfutils-libelf.
# Anyone that wants that functionality should really used elfutils-libelf
# instead.
mv %{buildroot}%{_includedir}/nlist.h %{buildroot}%{_includedir}/bsd/
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -66,13 +64,15 @@ mv %{buildroot}%{_includedir}/nlist.h %{buildroot}%{_includedir}/bsd/
%files devel %files devel
%{_mandir}/man3/*.3.gz %{_mandir}/man3/*.3.gz
%{_mandir}/man3/*.3bsd.gz %{_mandir}/man3/*.3bsd.gz
%{_includedir}/*.h
%{_includedir}/bsd %{_includedir}/bsd
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/%{name}-overlay.pc %{_libdir}/pkgconfig/%{name}-overlay.pc
%changelog %changelog
* Sun Jun 03 2012 Eric Smith <eric@brouhaha.com> - 0.4.1-1
- Update to latest upstream release.
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

@ -1 +1 @@
833e58531b4bd84b119b53d834d8e0d8 libbsd-0.3.0.tar.gz 8632bd9c56887f7f83cec2864937303d libbsd-0.4.1.tar.gz

Loading…
Cancel
Save