]> git.pld-linux.org Git - packages/libapparmor.git/blob - libapparmor.spec
04b016e677c170180c76b0462052d15b33e60e5e
[packages/libapparmor.git] / libapparmor.spec
1 %define         _ver 2.0
2 %define         _svnrel 132
3 Summary:        Library to provide key AppArmor symbols
4 Summary(pl):    Biblioteka udostêpniaj±ca kluczowe symbole AppArmor
5 Name:           libapparmor
6 Version:        %{_ver}.%{_svnrel}
7 Release:        0.8
8 License:        LGPL
9 Group:          Libraries
10 Source0:        http://forgeftp.novell.com/apparmor/Development%20-%20September%20snapshot/%{name}-%{_ver}-%{_svnrel}.tar.gz
11 # Source0-md5:  2253abf77f478fc1d02ad8e870bf7228
12 URL:            http://forge.novell.com/modules/xfmod/project/?apparmor
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This package provides the libapparmor library, which contains the
17 change_hat(2) symbol, used for sub-process confinement by AppArmor.
18 Applications that wish to make use of change_hat(2) need to link
19 against this library. This package is part of a suite of tools that
20 used to be named SubDomain.
21
22 %description -l pl
23 Ten pakiet udostêpnia bibliotekê libapparmor, zawieraj±c± symbol
24 change_hat(2), u¿ywany do wiêzienia podprocesów przez AppArmor.
25 Aplikacje chc±ce u¿ywaæ change_hat(2) musz± byæ linkowane z t±
26 bibliotek±. Ten pakiet jest czê¶ci± zestawu narzêdzi nazywanego
27 SubDomain.
28
29 %package devel
30 Summary:        Header files for libapparmor library
31 Summary(pl):    Pliki nag³ówkowe biblioteki libapparmor
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34
35 %description devel
36 This is the package containing the header files for libapparmor
37 library.
38
39 %description devel -l pl
40 Ten pakiet zawiera pliki nag³ówkowe biblioteki libapparmor.
41
42 %package static
43 Summary:        Static libapparmor library
44 Summary(pl):    Statyczna biblioteka libapparmor
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static libapparmor library.
50
51 %description static -l pl
52 Statyczna biblioteka libapparmor.
53
54 %prep
55 %setup -q -n %{name}-%{_ver}
56
57 %build
58 %{__make} \
59         CC="%{__cc}" \
60         CFLAGS="%{rpmcflags}"
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT \
66         LIB=%{_lib} \
67         VERSION=%{version} \
68         RELEASE=%{release}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %attr(755,root,root) /%{_lib}/lib*.so.*
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/lib*.so
83 %{_includedir}/sys/*.h
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/lib*.a
This page took 0.060141 seconds and 3 git commands to generate.