/[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 1012105 - (show annotations) (download)
Tue May 10 14:33:40 2016 UTC (16 months, 1 week ago) by tv
File size: 1608 byte(s)
new release
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.3
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 %{_includedir}/%{rname}/
46 %{_libdir}/lib%{rname}.so
47 %{_libdir}/libbsd-ctor.a
48 %{_libdir}/pkgconfig/lib%{rname}*.pc
49
50 #--------------------------------------------------------------------
51 %prep
52 %setup -q
53
54 %build
55 %configure2_5x \
56 --disable-static
57 %make
58
59 %install
60 %makeinstall_std
61 # clean .la files
62 rm %{buildroot}%{_libdir}/libbsd.la

  ViewVC Help
Powered by ViewVC 1.1.26