]> git.pld-linux.org Git - packages/libbsd.git/blame - libbsd.spec
up to 0.10.0
[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
da9ff4da 6Version: 0.10.0
bb56efdb 7Release: 1
71bee834
JB
8License: BSD, MIT (depending on part)
9Group: Libraries
41d81f1f 10Source0: https://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz
da9ff4da 11# Source0-md5: ead96d240d02faa5b921c0aa50c812b5
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*
4c2220e8
AM
94%{_mandir}/man3/be16dec.3*
95%{_mandir}/man3/be16enc.3*
96%{_mandir}/man3/be32dec.3*
97%{_mandir}/man3/be32enc.3*
98%{_mandir}/man3/be64dec.3*
99%{_mandir}/man3/be64enc.3*
100%{_mandir}/man3/bit_alloc.3*
101%{_mandir}/man3/bit_clear.3*
102%{_mandir}/man3/bit_decl.3*
103%{_mandir}/man3/bit_ffc.3*
104%{_mandir}/man3/bit_ffs.3*
105%{_mandir}/man3/bit_nclear.3*
106%{_mandir}/man3/bit_nset.3*
107%{_mandir}/man3/bit_set.3*
10e5688d 108%{_mandir}/man3/bitstring.3*
4c2220e8
AM
109%{_mandir}/man3/bitstr_size.3*
110%{_mandir}/man3/bit_test.3*
111%{_mandir}/man3/byteorder.3*
10e5688d 112%{_mandir}/man3/closefrom.3*
71bee834 113%{_mandir}/man3/dehumanize_number.3*
4c2220e8 114%{_mandir}/man3/errc.3*
10e5688d 115%{_mandir}/man3/expand_number.3*
bb56efdb 116%{_mandir}/man3/explicit_bzero.3*
71bee834 117%{_mandir}/man3/fgetln.3*
46deb467 118%{_mandir}/man3/fgetwln.3*
71bee834
JB
119%{_mandir}/man3/flopen.3*
120%{_mandir}/man3/fmtcheck.3*
46deb467 121%{_mandir}/man3/fparseln.3*
4c2220e8 122%{_mandir}/man3/fpurge.3*
cead7c76
JB
123%{_mandir}/man3/funopen.3*
124%{_mandir}/man3/getbsize.3*
71bee834
JB
125%{_mandir}/man3/getmode.3*
126%{_mandir}/man3/getpeereid.3*
10e5688d 127%{_mandir}/man3/getprogname.3*
71bee834
JB
128%{_mandir}/man3/heapsort.3*
129%{_mandir}/man3/humanize_number.3*
4c2220e8
AM
130%{_mandir}/man3/le16dec.3*
131%{_mandir}/man3/le16enc.3*
132%{_mandir}/man3/le32dec.3*
133%{_mandir}/man3/le32enc.3*
134%{_mandir}/man3/le64dec.3*
135%{_mandir}/man3/le64enc.3*
136%{_mandir}/man3/LIST_*.3*
137%{_mandir}/man3/md5.3**
71bee834
JB
138%{_mandir}/man3/mergesort.3*
139%{_mandir}/man3/nlist.3*
140%{_mandir}/man3/pidfile.3*
4c2220e8
AM
141%{_mandir}/man3/pidfile_close.3*
142%{_mandir}/man3/pidfile_open.3*
143%{_mandir}/man3/pidfile_remove.3*
144%{_mandir}/man3/pidfile_write.3*
145%{_mandir}/man3/queue.3**
71bee834 146%{_mandir}/man3/radixsort.3*
4c2220e8 147%{_mandir}/man3/RB_*.3*
71bee834 148%{_mandir}/man3/readpassphrase.3*
bb56efdb 149%{_mandir}/man3/reallocarray.3*
71bee834
JB
150%{_mandir}/man3/reallocf.3*
151%{_mandir}/man3/setmode.3*
10e5688d 152%{_mandir}/man3/setproctitle.3*
4c2220e8 153%{_mandir}/man3/setproctitle_init.3*
10e5688d 154%{_mandir}/man3/setprogname.3*
4c2220e8
AM
155%{_mandir}/man3/sl_add.3*
156%{_mandir}/man3/sl_delete.3*
157%{_mandir}/man3/sl_find.3*
158%{_mandir}/man3/sl_free.3*
159%{_mandir}/man3/sl_init.3*
160%{_mandir}/man3/SLIST_*.3*
161%{_mandir}/man3/SPLAY_*.3*
71bee834 162%{_mandir}/man3/sradixsort.3*
4c2220e8 163%{_mandir}/man3/STAILQ_*.3*
cead7c76 164%{_mandir}/man3/stringlist.3*
71bee834
JB
165%{_mandir}/man3/strlcat.3*
166%{_mandir}/man3/strlcpy.3*
167%{_mandir}/man3/strmode.3*
46deb467 168%{_mandir}/man3/strnstr.3*
4c2220e8
AM
169%{_mandir}/man3/strnunvis.3*
170%{_mandir}/man3/strnvis.3*
b0d80be6 171%{_mandir}/man3/strtoi.3*
71bee834 172%{_mandir}/man3/strtonum.3*
b0d80be6 173%{_mandir}/man3/strtou.3*
4c2220e8
AM
174%{_mandir}/man3/strunvis.3*
175%{_mandir}/man3/strvis.3*
176%{_mandir}/man3/strvisx.3*
177%{_mandir}/man3/TAILQ_*.3*
178%{_mandir}/man3/timeradd.3*
179%{_mandir}/man3/timerclear.3*
180%{_mandir}/man3/timercmp.3*
181%{_mandir}/man3/timerisset.3*
182%{_mandir}/man3/timersub.3*
183%{_mandir}/man3/timespecadd.3*
184%{_mandir}/man3/timespecclear.3*
185%{_mandir}/man3/timespeccmp.3*
186%{_mandir}/man3/timespecisset.3*
187%{_mandir}/man3/timespecsub.3*
188%{_mandir}/man3/TIMESPEC_TO_TIMEVAL.3*
189%{_mandir}/man3/timeval.3*
190%{_mandir}/man3/TIMEVAL_TO_TIMESPEC.3*
10e5688d 191%{_mandir}/man3/tree.3*
71bee834
JB
192%{_mandir}/man3/unvis.3*
193%{_mandir}/man3/vis.3*
46deb467
JB
194%{_mandir}/man3/wcslcat.3*
195%{_mandir}/man3/wcslcpy.3*
4c2220e8 196%{_mandir}/man7/libbsd.7*
71bee834
JB
197
198%files static
199%defattr(644,root,root,755)
bb56efdb 200%{_libdir}/libbsd.a
This page took 0.114934 seconds and 4 git commands to generate.