first package version
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbsd?expand=0&rev=1
This commit is contained in:
commit
7be6c6f10a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libbsd-0.0.1.tar.bz2
Normal file
3
libbsd-0.0.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f401c03e25c4f0b9b517ea878915f63a23645ba4bbcc57282a50e40667e149b2
|
||||
size 41724
|
5
libbsd.changes
Normal file
5
libbsd.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 4 21:52:45 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
- first package version
|
||||
|
66
libbsd.spec
Normal file
66
libbsd.spec
Normal file
@ -0,0 +1,66 @@
|
||||
#norootforbuild
|
||||
Summary: Provides useful functions commonly found on BSD systems
|
||||
Name: libbsd
|
||||
Version: 0.0.1
|
||||
Release: 0
|
||||
Group: System Environment/Libraries
|
||||
License: BSD/MIT
|
||||
URL: http://libbsd.freedesktop.org/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
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.
|
||||
|
||||
%package -n libbsd0
|
||||
Group: Development/Libraries
|
||||
Summary: Provides useful functions commonly found on BSD systems
|
||||
|
||||
%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.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Requires: libbsd0 = %{version} glibc-devel
|
||||
Summary: Development headers and files for libbsd
|
||||
|
||||
%description devel
|
||||
|
||||
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.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
%{__sed} -i -e "s@/lib@/%{_lib}@g" Makefile
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
|
||||
%{__make} %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
|
||||
%{__make} install DESTDIR=%{buildroot}
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.a
|
||||
|
||||
%post -n libbsd0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libbsd0 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -n libbsd0
|
||||
%defattr(-, root, root)
|
||||
/%{_lib}/libbsd.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog
|
||||
%{_libdir}/libbsd.so
|
||||
%{_includedir}/*
|
||||
%{_mandir}/man3/*
|
||||
%{_libdir}/pkgconfig/libbsd.pc
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user