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

  ViewVC Help
Powered by ViewVC 1.1.30