- Update to version 0.3.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbsd?expand=0&rev=4
This commit is contained in:
parent
be613ce73a
commit
39793b06e3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d2f0af0111e8871357991023e68b843972bd832b6a02a8f7d33b011efaac0ca
|
||||
size 67545
|
3
libbsd-0.3.0.tar.bz2
Normal file
3
libbsd-0.3.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b48afa83a98a4c34cc183bf73d3c48e0c8f6d1e760abfb5613ac80bde877c1a
|
||||
size 82214
|
@ -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
|
||||
|
||||
|
49
libbsd.spec
49
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
|
||||
|
Loading…
Reference in New Issue
Block a user