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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 677687 - (show annotations) (download)
Tue Sep 16 15:07:58 2014 UTC (9 years, 7 months ago) by umeabot
File size: 2447 byte(s)
Mageia 5 Mass Rebuild
1 %define libname_orig lib%{name}
2 %define lib_major 1
3 %define libname %mklibname %{name} %{lib_major}
4 %define develname %mklibname -d %{name}
5
6 Name: acl
7 Version: 2.2.52
8 Release: %mkrel 3
9 Summary: Command for manipulating access control lists
10 License: GPLv2+ and LGPLv2
11 Group: System/Kernel and hardware
12 URL: http://savannah.nongnu.org/projects/acl
13 Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.src.tar.gz
14 Patch0: acl-2.2.51-libexec.patch
15 BuildRequires: attr-devel
16 BuildRequires: libtool
17
18 %description
19 This package contains the getfacl and setfacl utilities needed for
20 manipulating access control lists.
21
22 %package -n %{libname}
23 Summary: Main library for %{libname_orig}
24 Group: System/Libraries
25 Requires(pre): filesystem >= 2.1.9-18
26 Provides: %{libname_orig} = %{version}-%{release}
27
28 %description -n %{libname}
29 This package contains the %{libname_orig} dynamic library which contains
30 the POSIX 1003.1e draft standard 17 functions for manipulating access
31 control lists.
32
33 %package -n %{develname}
34 Summary: Access control list static libraries and headers
35 Group: Development/C
36 Requires(pre): filesystem >= 2.1.9-18
37 Requires: %{libname} = %{version}-%{release}
38 Provides: acl-devel = %{version}-%{release}
39 Provides: libacl-devel = %{version}-%{release}
40 Obsoletes: %mklibname -d acl 0
41 Obsoletes: %mklibname -d acl 1
42
43 %description -n %{develname}
44 This package contains static libraries and header files needed to develop
45 programs which make use of the access control list programming interface
46 defined in POSIX 1003.1e draft standard 17.
47
48 You should install %{develname} if you want to develop programs
49 which make use of ACLs. If you install %{develname}, you will
50 also want to install %{libname}.
51
52 %prep
53 %setup -q
54 %apply_patches
55
56 %build
57 %configure2_5x --sbindir=%{_bindir}
58 %make
59
60 %install
61 make install DIST_ROOT=%{buildroot}/
62 make install-dev DIST_ROOT=%{buildroot}/
63 make install-lib DIST_ROOT=%{buildroot}/
64
65 find %{buildroot} -name *.la | xargs rm
66
67 rm -rf %{buildroot}%{_docdir}/acl
68
69 %find_lang %{name}
70
71 %files -f %{name}.lang
72 %doc doc/CHANGES.gz doc/COPYING README
73 %{_bindir}/*
74 %{_mandir}/man1/*
75 %{_mandir}/man5/*
76
77 %files -n %{libname}
78 %doc doc/COPYING
79 %{_libdir}/*.so.%{lib_major}
80 %{_libdir}/*.so.%{lib_major}.*
81
82 %files -n %{develname}
83 %doc doc/extensions.txt doc/COPYING doc/libacl.txt
84 %{_libdir}/*.so
85 %{_libdir}/*.a
86 %{_mandir}/man3/*
87 %dir %{_includedir}/acl
88 %{_includedir}/acl/libacl.h
89 %{_includedir}/sys/acl.h

  ViewVC Help
Powered by ViewVC 1.1.30