]> git.pld-linux.org Git - packages/libbsd.git/blame - libbsd.spec
- updated to 0.8.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
bb56efdb
JB
6Version: 0.8.0
7Release: 1
71bee834
JB
8License: BSD, MIT (depending on part)
9Group: Libraries
46deb467 10Source0: http://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz
bb56efdb 11# Source0-md5: 262bdd1aa3bee6066a8c9cb49bb6c584
71bee834
JB
12URL: http://libbsd.freedesktop.org/
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
40Note: to avoid clash with libbsd.a from glibc, library provided by
41this package is available as -lbsdutil.
42
43%description devel -l pl.UTF-8
44Pliki nagłówkowe biblioteki BSD.
45
46Uwaga: aby zapobiec konfliktowi z libbsd.a z glibc, biblioteka
47dostarczana przez ten pakiet jest dostępna jako -lbsdutil.
48
49%package static
50Summary: Static BSD library
51Summary(pl.UTF-8): Statyczna biblioteka BSD
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
bb56efdb 54Conflicts: glibc-devel < 6:2.19
71bee834
JB
55
56%description static
57Static BSD library.
58
59Note: to avoid clash with libbsd.a from glibc, library provided by
60this package is available as libbsdutil.a.
61
62%description static -l pl.UTF-8
63Statyczna biblioteka BSD.
64
65Uwaga: aby zapobiec konfliktowi z libbsd.a z glibc, biblioteka
66dostarczana przez ten pakiet jest dostępna jako libbsdutil.a.
67
68%prep
69%setup -q
70
71%build
10e5688d
JB
72%configure \
73 --disable-silent-rules
74%{__make}
71bee834
JB
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
71bee834 79%{__make} install \
d507cb14 80 DESTDIR=$RPM_BUILD_ROOT
71bee834 81
bb56efdb 82# obsoleted by pkg-config
10e5688d 83%{__rm} $RPM_BUILD_ROOT%{_libdir}/libbsd.la
71bee834
JB
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%post -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%files
92%defattr(644,root,root,755)
93%doc COPYING ChangeLog README TODO
94%attr(755,root,root) %{_libdir}/libbsd.so.*.*.*
95%attr(755,root,root) %ghost %{_libdir}/libbsd.so.0
96
97%files devel
98%defattr(644,root,root,755)
bb56efdb 99%attr(755,root,root) %{_libdir}/libbsd.so
dbd73371 100%{_libdir}/libbsd-ctor.a
71bee834
JB
101%{_includedir}/bsd
102%{_pkgconfigdir}/libbsd.pc
dbd73371 103%{_pkgconfigdir}/libbsd-ctor.pc
71bee834
JB
104%{_pkgconfigdir}/libbsd-overlay.pc
105%{_mandir}/man3/arc4random*.3*
10e5688d
JB
106%{_mandir}/man3/bitstring.3*
107%{_mandir}/man3/closefrom.3*
71bee834 108%{_mandir}/man3/dehumanize_number.3*
10e5688d 109%{_mandir}/man3/expand_number.3*
bb56efdb 110%{_mandir}/man3/explicit_bzero.3*
71bee834 111%{_mandir}/man3/fgetln.3*
46deb467 112%{_mandir}/man3/fgetwln.3*
71bee834
JB
113%{_mandir}/man3/flopen.3*
114%{_mandir}/man3/fmtcheck.3*
46deb467 115%{_mandir}/man3/fparseln.3*
cead7c76
JB
116%{_mandir}/man3/funopen.3*
117%{_mandir}/man3/getbsize.3*
71bee834
JB
118%{_mandir}/man3/getmode.3*
119%{_mandir}/man3/getpeereid.3*
10e5688d 120%{_mandir}/man3/getprogname.3*
71bee834
JB
121%{_mandir}/man3/heapsort.3*
122%{_mandir}/man3/humanize_number.3*
123%{_mandir}/man3/md5.3bsd*
124%{_mandir}/man3/mergesort.3*
125%{_mandir}/man3/nlist.3*
126%{_mandir}/man3/pidfile.3*
10e5688d 127%{_mandir}/man3/queue.3bsd*
71bee834
JB
128%{_mandir}/man3/radixsort.3*
129%{_mandir}/man3/readpassphrase.3*
bb56efdb 130%{_mandir}/man3/reallocarray.3*
71bee834
JB
131%{_mandir}/man3/reallocf.3*
132%{_mandir}/man3/setmode.3*
10e5688d
JB
133%{_mandir}/man3/setproctitle.3*
134%{_mandir}/man3/setprogname.3*
71bee834 135%{_mandir}/man3/sradixsort.3*
cead7c76 136%{_mandir}/man3/stringlist.3*
71bee834
JB
137%{_mandir}/man3/strlcat.3*
138%{_mandir}/man3/strlcpy.3*
139%{_mandir}/man3/strmode.3*
46deb467 140%{_mandir}/man3/strnstr.3*
71bee834 141%{_mandir}/man3/strtonum.3*
10e5688d 142%{_mandir}/man3/tree.3*
71bee834
JB
143%{_mandir}/man3/unvis.3*
144%{_mandir}/man3/vis.3*
46deb467
JB
145%{_mandir}/man3/wcslcat.3*
146%{_mandir}/man3/wcslcpy.3*
71bee834
JB
147
148%files static
149%defattr(644,root,root,755)
bb56efdb 150%{_libdir}/libbsd.a
This page took 0.085785 seconds and 4 git commands to generate.