SPECS: libsemanage.spec (NEW) - raw

arekm arekm at pld-linux.org
Thu Sep 22 18:04:32 CEST 2005


Author: arekm                        Date: Thu Sep 22 16:04:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- raw

---- Files affected:
SPECS:
   libsemanage.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libsemanage.spec
diff -u /dev/null SPECS/libsemanage.spec:1.1
--- /dev/null	Thu Sep 22 18:04:32 2005
+++ SPECS/libsemanage.spec	Thu Sep 22 18:04:26 2005
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+Summary:	An interface for SELinux management
+Name:		libsemanage
+Version:	1.2
+Release:	1
+License:	LGPL v2.1+
+Group:		Libraries
+Source0:	http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
+# Source0-md5:	83c6ab2b45cd35d148615fda3b04ba03
+URL:		http://www.nsa.gov/selinux/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+An interface for SELinux management.
+
+%package devel
+Summary:	Header files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files for %{name}.
+
+%package static
+Summary:	Static version of libsemanage library
+Summary(pl):	Statyczna wersja biblioteki libsemanage
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static version of libsemanage library.
+
+%description static -l pl
+Statyczna wersja biblioteki libsemanage.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -Wall"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+%attr(755,root,root) %{_libdir}/libsemanage.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/libsemanage.so
+%{_includedir}/%{name}
+%{_mandir}/man3/*.3*
+%{_mandir}/man8/*.8*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libsemanage.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/22 16:04:26  arekm
+- raw
+
================================================================



More information about the pld-cvs-commit mailing list