From 39793b06e3d7e80f9ce4eb475c38090c449304e26e05511b5483ab99c481112c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Tue, 2 Aug 2011 22:30:03 +0000 Subject: [PATCH] - Update to version 0.3.0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbsd?expand=0&rev=4 --- libbsd-0.2.0.tar.bz2 | 3 --- libbsd-0.3.0.tar.bz2 | 3 +++ libbsd.changes | 5 +++++ libbsd.spec | 49 ++++++++++++++++++++++---------------------- 4 files changed, 33 insertions(+), 27 deletions(-) delete mode 100644 libbsd-0.2.0.tar.bz2 create mode 100644 libbsd-0.3.0.tar.bz2 diff --git a/libbsd-0.2.0.tar.bz2 b/libbsd-0.2.0.tar.bz2 deleted file mode 100644 index c58b64e..0000000 --- a/libbsd-0.2.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d2f0af0111e8871357991023e68b843972bd832b6a02a8f7d33b011efaac0ca -size 67545 diff --git a/libbsd-0.3.0.tar.bz2 b/libbsd-0.3.0.tar.bz2 new file mode 100644 index 0000000..6d3f353 --- /dev/null +++ b/libbsd-0.3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b48afa83a98a4c34cc183bf73d3c48e0c8f6d1e760abfb5613ac80bde877c1a +size 82214 diff --git a/libbsd.changes b/libbsd.changes index 9d12a6c..3e39340 100644 --- a/libbsd.changes +++ b/libbsd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 2 22:29:17 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 0.3.0 + ------------------------------------------------------------------- Fri Jul 30 02:23:42 UTC 2010 - cristian.rodriguez@opensuse.org diff --git a/libbsd.spec b/libbsd.spec index 4fb3a6e..a0ccb2f 100644 --- a/libbsd.spec +++ b/libbsd.spec @@ -1,30 +1,31 @@ #norootforbuild -Summary: Provides useful functions commonly found on BSD systems -Name: libbsd -Version: 0.2.0 -Release: 0 -Group: System Environment/Libraries -License: BSD/MIT -URL: http://libbsd.freedesktop.org/ -Source: %{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: pkgconfig +Name: libbsd +Version: 0.3.0 +Release: 0 +License: BSD/MIT +Summary: Provides useful functions commonly found on BSD systems +Url: http://libbsd.freedesktop.org/ +Group: System Environment/Libraries +Source: %{name}-%{version}.tar.bz2 +BuildRequires: pkgconfig +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -This library 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. +This library 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 -n libbsd0 -Group: Development/Libraries -Summary: Provides useful functions commonly found on BSD systems +Summary: Provides useful functions commonly found on BSD systems +Group: Development/Libraries %description -n libbsd0 -This library 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. +This library 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 -Group: Development/Libraries -Requires: libbsd0 = %{version} glibc-devel -Summary: Development headers and files for libbsd +Summary: Development headers and files for libbsd +Group: Development/Libraries +Requires: glibc-devel +Requires: libbsd0 = %{version} %description devel @@ -33,24 +34,24 @@ This library provides useful functions commonly found on BSD systems, and lackin %prep %setup -q -%{__sed} -i -e "s@/lib@/%{_lib}@g" Makefile +sed -i -e "s@/lib@/%{_lib}@g" Makefile %build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" -%{__make} %{?jobs:-j%jobs} +make %{?_smp_mflags} %install -%{__make} install DESTDIR=%{buildroot} -%{__rm} -f %{buildroot}%{_libdir}/*.a +make install DESTDIR=%{buildroot} +rm -f %{buildroot}%{_libdir}/*.a -%post -n libbsd0 -p /sbin/ldconfig +%post -n libbsd0 -p /sbin/ldconfig %postun -n libbsd0 -p /sbin/ldconfig %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} %files -n libbsd0 %defattr(-, root, root) @@ -62,6 +63,6 @@ export CXXFLAGS="%{optflags}" %{_libdir}/libbsd.so %{_includedir}/* %{_mandir}/man3/* -%{_libdir}/pkgconfig/libbsd.pc +%{_libdir}/pkgconfig/*.pc %changelog