]> git.pld-linux.org Git - packages/libapparmor.git/commitdiff
- new, based on spec from package
authorzbyniu <zbyniu@pld-linux.org>
Thu, 20 Apr 2006 23:23:18 +0000 (23:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libapparmor.spec -> 1.1

libapparmor.spec [new file with mode: 0644]

diff --git a/libapparmor.spec b/libapparmor.spec
new file mode 100644 (file)
index 0000000..a20069d
--- /dev/null
@@ -0,0 +1,79 @@
+%define                _ver 2.0
+%define                _svnrel 6288
+Summary:       Library to provide key AppArmor symbols
+Name:          libapparmor
+Version:       %{_ver}.%{_svnrel}
+Release:       0.8
+License:       LGPL
+Group:         Libraries
+Source0:       http://forge.novell.com/modules/xfcontent/private.php/apparmor/Development%20-%20April%20Snapshot/%{name}-%{_ver}-%{_svnrel}.tar.gz
+# Source0-md5: e7f5e6f8663919d5998469e842442509
+URL:           http://forge.novell.com/modules/xfmod/project/?apparmor
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package provides the libapparmor library, which contains the
+change_hat(2) symbol, used for sub-process confinement by AppArmor.
+Applications that wish to make use of change_hat(2) need to link
+against this library. This package is part of a suite of tools that
+used to be named SubDomain.
+
+%package devel
+Summary:       Header files for libapparmor library
+Summary(pl):   Pliki nag³ówkowe biblioteki libapparmor
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+This is the package containing the header files for libapparmor
+library.
+
+%description devel -l pl
+Ten pakiet zawiera pliki nag³ówkowe biblioteki libapparmor.
+
+%package static
+Summary:       Static libapparmor library
+Summary(pl):   Statyczna biblioteka libapparmor
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static libapparmor library.
+
+%description static -l pl
+Statyczna biblioteka libapparmor.
+
+%prep
+%setup -q -n %{name}-%{_ver}
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       LIB=%{_lib} \
+       VERSION=%{version} \
+       RELEASE=%{release}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) /%{_lib}/lib*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/sys/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.029843 seconds and 4 git commands to generate.