/[packages]/cauldron/libbsd/current/SPECS/libbsd.spec
ViewVC logotype

Contents of /cauldron/libbsd/current/SPECS/libbsd.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1327832 - (show annotations) (download)
Sat Nov 3 00:51:32 2018 UTC (5 weeks, 4 days ago) by daviddavid
File size: 1917 byte(s)
- fix more some descriptions

1 %define major 0
2 %define rname bsd
3 %define libname %mklibname %{rname} %{major}
4 %define libnamedev %mklibname %{rname} -d
5
6 Name: libbsd
7 Version: 0.9.1
8 Release: %mkrel 3
9 Summary: Library providing BSD-compatible functions for portability
10 Group: System/Libraries
11 License: BSD and ISC and Copyright only and Public Domain
12 URL: http://libbsd.freedesktop.org/
13 Source0: http://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz
14
15 %description
16 libbsd provides useful functions commonly found on BSD systems, and
17 lacking on others like GNU systems, thus making it easier to port
18 projects with strong BSD origins, without needing to embed the same
19 code over and over again on each project.
20
21 %package -n %{libname}
22 Summary: Library providing BSD-compatible functions for portability
23 Group: System/Libraries
24 Conflicts: libbsd
25
26 %description -n %{libname}
27 libbsd provides useful functions commonly found on BSD systems, and
28 lacking on others like GNU systems, thus making it easier to port
29 projects with strong BSD origins, without needing to embed the same
30 code over and over again on each project.
31
32 %files -n %{libname}
33 %{_libdir}/lib%{rname}.so.%{major}{,.*}
34
35 #--------------------------------------------------------------------
36
37 %package -n %{libnamedev}
38 Summary: Development files for %{name}
39 Group: Development/C
40 Requires: %{libname} = %{version}
41 Provides: %{name}-devel = %{version}-%{release}
42
43 %description -n %{libnamedev}
44 Development files for the %{name} library.
45
46 %files -n %{libnamedev}
47 %doc ChangeLog COPYING README TODO
48 %{_mandir}/man3/*
49 %{_mandir}/man7/*
50 %{_includedir}/%{rname}/
51 %{_libdir}/lib%{rname}.so
52 %{_libdir}/libbsd-ctor.a
53 %{_libdir}/pkgconfig/lib%{rname}*.pc
54
55 #--------------------------------------------------------------------
56
57 %prep
58 %setup -q
59
60 %build
61 %configure2_5x \
62 --disable-static
63 %make_build
64
65 %install
66 %make_install
67
68 # we don't want these
69 find %{buildroot} -name '*.la' -delete

  ViewVC Help
Powered by ViewVC 1.1.26