- 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:
parent
ffe139900b
commit
29ffa74f64
@ -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
3
libbsd-0.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:922b4885e0ccfd64b92fcacdb3fba18024fcab1e0c1b073f5ec0fe76388cbfdc
|
||||||
|
size 442436
|
@ -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
|
Fri Feb 17 00:32:12 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
14
libbsd.spec
14
libbsd.spec
@ -1,11 +1,11 @@
|
|||||||
Name: libbsd
|
Name: libbsd
|
||||||
Version: 0.3.0
|
Version: 0.4.2
|
||||||
Release: 0
|
Release: 0
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Summary: Provides useful functions commonly found on BSD systems
|
Summary: Provides useful functions commonly found on BSD systems
|
||||||
Url: http://libbsd.freedesktop.org/
|
Url: http://libbsd.freedesktop.org/
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.gz
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -34,15 +34,14 @@ This library provides useful functions commonly found on BSD systems, and lackin
|
|||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
%configure --disable-static --with-pic
|
||||||
export CXXFLAGS="%{optflags}"
|
|
||||||
sed -i -e 's@${exec_prefix}/lib@%{_libdir}@g' -e 's@${prefix}/lib@%{_libdir}@g' Makefile
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
rm -rf %{buildroot}%{_libdir}/libbsd.la
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
|
||||||
rm -f %{buildroot}%{_libdir}/*.a
|
|
||||||
|
|
||||||
%post -n libbsd0 -p /sbin/ldconfig
|
%post -n libbsd0 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -61,7 +60,6 @@ rm -f %{buildroot}%{_libdir}/*.a
|
|||||||
%{_includedir}/bsd/*.h
|
%{_includedir}/bsd/*.h
|
||||||
%{_includedir}/bsd/netinet/*.h
|
%{_includedir}/bsd/netinet/*.h
|
||||||
%{_includedir}/bsd/sys/*.h
|
%{_includedir}/bsd/sys/*.h
|
||||||
%{_includedir}/*.h
|
|
||||||
%{_libdir}/libbsd.so
|
%{_libdir}/libbsd.so
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user