- Version 0.4.2, swithes to autoconf build system.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbsd?expand=0&rev=8
This commit is contained in:
Cristian Rodríguez 2012-08-20 16:33:20 +00:00 committed by Git OBS Bridge
parent ffe139900b
commit 29ffa74f64
4 changed files with 14 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b48afa83a98a4c34cc183bf73d3c48e0c8f6d1e760abfb5613ac80bde877c1a
size 82214

3
libbsd-0.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:922b4885e0ccfd64b92fcacdb3fba18024fcab1e0c1b073f5ec0fe76388cbfdc
size 442436

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 20 16:30:51 UTC 2012 - crrodriguez@opensuse.org
- Version 0.4.2, swithes to autoconf build system.
-------------------------------------------------------------------
Fri Feb 17 00:32:12 UTC 2012 - crrodriguez@opensuse.org

View File

@ -1,11 +1,11 @@
Name: libbsd
Version: 0.3.0
Version: 0.4.2
Release: 0
License: BSD-3-Clause
Summary: Provides useful functions commonly found on BSD systems
Url: http://libbsd.freedesktop.org/
Group: System Environment/Libraries
Source: %{name}-%{version}.tar.bz2
Source: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -34,15 +34,14 @@ This library provides useful functions commonly found on BSD systems, and lackin
%setup -q
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
sed -i -e 's@${exec_prefix}/lib@%{_libdir}@g' -e 's@${prefix}/lib@%{_libdir}@g' Makefile
%configure --disable-static --with-pic
make %{?_smp_mflags}
%install
%make_install
rm -rf %{buildroot}%{_libdir}/libbsd.la
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/*.a
%post -n libbsd0 -p /sbin/ldconfig
@ -61,7 +60,6 @@ rm -f %{buildroot}%{_libdir}/*.a
%{_includedir}/bsd/*.h
%{_includedir}/bsd/netinet/*.h
%{_includedir}/bsd/sys/*.h
%{_includedir}/*.h
%{_libdir}/libbsd.so
%{_mandir}/man3/*
%{_libdir}/pkgconfig/*.pc