]> git.pld-linux.org Git - packages/libbsd.git/blame - libbsd.spec
Update to 0.8.3
[packages/libbsd.git] / libbsd.spec
CommitLineData
8584eef0
ER
1# TODO
2# - take french bitstring.3 from fcron?
71bee834
JB
3Summary: Utility functions from BSD systems
4Summary(pl.UTF-8): Funkcje narzędziowe z systemów BSD
5Name: libbsd
ccfd83ca 6Version: 0.8.3
bb56efdb 7Release: 1
71bee834
JB
8License: BSD, MIT (depending on part)
9Group: Libraries
41d81f1f 10Source0: https://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz
ccfd83ca 11# Source0-md5: e935c1bb6cc98a4a43cb1da22795493a
41d81f1f 12URL: https://libbsd.freedesktop.org/
71bee834 13BuildRequires: sed >= 4.0
46deb467
JB
14BuildRequires: tar >= 1:1.22
15BuildRequires: xz
71bee834
JB
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19This library provides useful functions commonly found on BSD systems,
20and lacking on others like GNU systems, thus making it easier to port
21projects with strong BSD origins, without needing to embed the same
22code over and over again on each project.
23
24%description -l pl.UTF-8
25Ta biblioteka udostępnia funkcje zwykle spotykane w systemach BSD, a
26nie występujące na innych, takich jak systemy GNU. Dzięki temu ułatwia
27portowanie projektów mających silne korzenie BSD bez potrzeby
28osadzania ciągle tego samego kodu w każdym projekcie.
29
30%package devel
31Summary: Header files for BSD library
32Summary(pl.UTF-8): Pliki nagłówkowe biblioteki BSD
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
bb56efdb 35Conflicts: glibc-devel < 6:2.19
71bee834
JB
36
37%description devel
38Header files for BSD library.
39
71bee834
JB
40%description devel -l pl.UTF-8
41Pliki nagłówkowe biblioteki BSD.
42
71bee834
JB
43%package static
44Summary: Static BSD library
45Summary(pl.UTF-8): Statyczna biblioteka BSD
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
bb56efdb 48Conflicts: glibc-devel < 6:2.19
71bee834
JB
49
50%description static
51Static BSD library.
52
71bee834
JB
53%description static -l pl.UTF-8
54Statyczna biblioteka BSD.
55
71bee834
JB
56%prep
57%setup -q
58
59%build
10e5688d
JB
60%configure \
61 --disable-silent-rules
62%{__make}
71bee834
JB
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
71bee834 67%{__make} install \
d507cb14 68 DESTDIR=$RPM_BUILD_ROOT
71bee834 69
bb56efdb 70# obsoleted by pkg-config
10e5688d 71%{__rm} $RPM_BUILD_ROOT%{_libdir}/libbsd.la
71bee834
JB
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
78
79%files
80%defattr(644,root,root,755)
81%doc COPYING ChangeLog README TODO
82%attr(755,root,root) %{_libdir}/libbsd.so.*.*.*
83%attr(755,root,root) %ghost %{_libdir}/libbsd.so.0
84
85%files devel
86%defattr(644,root,root,755)
bb56efdb 87%attr(755,root,root) %{_libdir}/libbsd.so
dbd73371 88%{_libdir}/libbsd-ctor.a
71bee834
JB
89%{_includedir}/bsd
90%{_pkgconfigdir}/libbsd.pc
dbd73371 91%{_pkgconfigdir}/libbsd-ctor.pc
71bee834
JB
92%{_pkgconfigdir}/libbsd-overlay.pc
93%{_mandir}/man3/arc4random*.3*
10e5688d
JB
94%{_mandir}/man3/bitstring.3*
95%{_mandir}/man3/closefrom.3*
71bee834 96%{_mandir}/man3/dehumanize_number.3*
10e5688d 97%{_mandir}/man3/expand_number.3*
bb56efdb 98%{_mandir}/man3/explicit_bzero.3*
71bee834 99%{_mandir}/man3/fgetln.3*
46deb467 100%{_mandir}/man3/fgetwln.3*
71bee834
JB
101%{_mandir}/man3/flopen.3*
102%{_mandir}/man3/fmtcheck.3*
46deb467 103%{_mandir}/man3/fparseln.3*
cead7c76
JB
104%{_mandir}/man3/funopen.3*
105%{_mandir}/man3/getbsize.3*
71bee834
JB
106%{_mandir}/man3/getmode.3*
107%{_mandir}/man3/getpeereid.3*
10e5688d 108%{_mandir}/man3/getprogname.3*
71bee834
JB
109%{_mandir}/man3/heapsort.3*
110%{_mandir}/man3/humanize_number.3*
111%{_mandir}/man3/md5.3bsd*
112%{_mandir}/man3/mergesort.3*
113%{_mandir}/man3/nlist.3*
114%{_mandir}/man3/pidfile.3*
10e5688d 115%{_mandir}/man3/queue.3bsd*
71bee834
JB
116%{_mandir}/man3/radixsort.3*
117%{_mandir}/man3/readpassphrase.3*
bb56efdb 118%{_mandir}/man3/reallocarray.3*
71bee834
JB
119%{_mandir}/man3/reallocf.3*
120%{_mandir}/man3/setmode.3*
10e5688d
JB
121%{_mandir}/man3/setproctitle.3*
122%{_mandir}/man3/setprogname.3*
71bee834 123%{_mandir}/man3/sradixsort.3*
cead7c76 124%{_mandir}/man3/stringlist.3*
71bee834
JB
125%{_mandir}/man3/strlcat.3*
126%{_mandir}/man3/strlcpy.3*
127%{_mandir}/man3/strmode.3*
46deb467 128%{_mandir}/man3/strnstr.3*
71bee834 129%{_mandir}/man3/strtonum.3*
10e5688d 130%{_mandir}/man3/tree.3*
71bee834
JB
131%{_mandir}/man3/unvis.3*
132%{_mandir}/man3/vis.3*
46deb467
JB
133%{_mandir}/man3/wcslcat.3*
134%{_mandir}/man3/wcslcpy.3*
71bee834
JB
135
136%files static
137%defattr(644,root,root,755)
bb56efdb 138%{_libdir}/libbsd.a
This page took 0.157475 seconds and 4 git commands to generate.