/[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 1215259 - (show annotations) (download)
Wed Apr 4 13:32:48 2018 UTC (2 months, 3 weeks ago) by kekepower
File size: 1629 byte(s)
- Update to version 0.8.7

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 Summary: Library providing BSD-compatible functions for portability
8 Group: System/Libraries
9 Version: 0.8.7
10 Release: %mkrel 1
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: libbsdb libary
23 Group: System/Libraries
24 Conflicts: libbsd
25
26 %description -n %{libname}
27 libbsd libary.
28
29 %files -n %{libname}
30 %{_libdir}/lib%{rname}.so.%{major}{,.*}
31
32 #--------------------------------------------------------------------
33 %package -n %{libnamedev}
34 Summary: Development files for libbsd
35 Group: Development/C
36 Requires: %{libname} = %{version}
37 Provides: %{name}-devel = %{version}-%{release}
38
39 %description -n %{libnamedev}
40 Development files for the libbsd library.
41
42 %files -n %{libnamedev}
43 %doc ChangeLog COPYING README TODO
44 %{_mandir}/man3/*
45 %{_mandir}/man7/*
46 %{_includedir}/%{rname}/
47 %{_libdir}/lib%{rname}.so
48 %{_libdir}/libbsd-ctor.a
49 %{_libdir}/pkgconfig/lib%{rname}*.pc
50
51 #--------------------------------------------------------------------
52 %prep
53 %setup -q
54
55 %build
56 %configure2_5x \
57 --disable-static
58 %make_build
59
60 %install
61 %make_install
62 # clean .la files
63 rm %{buildroot}%{_libdir}/libbsd.la

  ViewVC Help
Powered by ViewVC 1.1.26