SPECS: setools.spec - up to 2.3

zbyniu zbyniu at pld-linux.org
Mon Apr 17 01:47:57 CEST 2006


Author: zbyniu                       Date: Sun Apr 16 23:47:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.3

---- Files affected:
SPECS:
   setools.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/setools.spec
diff -u SPECS/setools.spec:1.14 SPECS/setools.spec:1.15
--- SPECS/setools.spec:1.14	Sat Jul  2 11:19:13 2005
+++ SPECS/setools.spec	Mon Apr 17 01:47:52 2006
@@ -2,14 +2,14 @@
 Summary:	SELinux tools for managing policy
 Summary(pl):	Narzędzia do zarządzania polityką SELinux
 Name:		setools
-Version:	2.1.1
+Version:	2.3
 Release:	0.1
 License:	GPL
 Group:		Base
 #Source0:	http://www.nsa.gov/selinux/archives/%{name}-%{version}.tar.bz2
 #Source0Download: http://www.tresys.com/selinux/selinux_policy_tools.html
-Source0:	http://www.tresys.com/Downloads/selinux-tools/%{name}-%{version}.tar.bz2
-# Source0-md5:	b90ea097e39d01695cfc4033623d322e
+Source0:	http://tresys.com/files/setools/%{name}-%{version}.tar.bz2
+# Source0-md5:	fcb16faa702a3e0b51276803bd736401
 Patch0:		%{name}-opt.patch
 URL:		http://www.tresys.com/selinux/selinux_policy_tools.html
 BuildRequires:	bison
@@ -17,6 +17,7 @@
 BuildRequires:	libglade2-devel >= 2.0
 BuildRequires:	libselinux-devel
 BuildRequires:	perl-base
+BuildRequires:	pkgconfig
 BuildRequires:	sqlite3-devel >= 3.0.8
 BuildRequires:	tk-devel
 Requires:	checkpolicy
@@ -33,16 +34,16 @@
 - apol: The GUI-based policy analysis tool.
 - sepcut: A basic GUI-based policy configuration, browsing, editing,
   and testing tool, intended to provide a complete, single user
-  interface for viewing the source files of a policy, configuring
-  policy program modules, editing policy files, and making and testing
-  the policy.
+  interface for viewing the source files of a policy, configuring policy
+  program modules, editing policy files, and making and testing the
+  policy.
 - seuser: A GUI and command line user manager tool for SELinux. This
   is a tool that actually manages a portion of a running policy (i.e.,
   user accounts).
 - seuser scripts: A set of shell scripts: seuseradd, seusermod, and
   seuserdel. These scripts combine the functions of the associated s*
-  commands with seuser to provide a single interface to manage users
-  in SE Linux.
+  commands with seuser to provide a single interface to manage users in
+  SE Linux.
 
 And the following tool which can serve as building blocks for the
 development of additional tools:
@@ -62,27 +63,26 @@
 narzędzia:
 - apol - narzędzie do analizy polityki z graficznym interfejsem.
 - sepcut - podstawowe graficzne narzędzie do konfiguracji,
-  przeglądania, edycji i testowania polityki, mające zapewnić
-  kompletny interfejs do przeglądania plików źródłowych polityki,
-  konfigurowania modułów programu polityki, edycji plików polityki
-  oraz tworzenia i testowania polityki.
+  przeglądania, edycji i testowania polityki, mające zapewnić kompletny
+  interfejs do przeglądania plików źródłowych polityki, konfigurowania
+  modułów programu polityki, edycji plików polityki oraz tworzenia i
+  testowania polityki.
 - seuser - graficzne oraz działające z linii poleceń narzędzie do
   zarządzania użytkownikami dla SELinuksa. Jest to narzędzie
   zarządzające częścią funkcjonującej polityki (czyli kontami
   użytkowników).
 - skrypty seuser - zbiór skryptów powłoki: seuseradd, seusermod oraz
-  seuserdel. Łączą one funkcjonalność poleceń s* z seuser, aby
-  zapewnić pojedynczy interfejs do zarządzania użytkownikami w
-  SELinuksie.
+  seuserdel. Łączą one funkcjonalność poleceń s* z seuser, aby zapewnić
+  pojedynczy interfejs do zarządzania użytkownikami w SELinuksie.
 - libapol - główna biblioteka analizy policy.conf, która jest rdzeniem
   wszystkich narzędzi z setools.
 - libseuser - podstawowa logika używana przez seuser.
 
 Pakiet zawiera także narzędzie mogące służyć jako część do budowania
 innych narzędzi - jest to awish, czyli wersja interpretera wish z
-Tcl/Tk zawierająca biblioteki setools. Jest używany do testowania
-GUI dla SELinuksa (apol i seuser mają interpreter wkompilowany).
-Można pisać własne graficzne narzędzia przy użyciu awisha.
+Tcl/Tk zawierająca biblioteki setools. Jest używany do testowania GUI
+dla SELinuksa (apol i seuser mają interpreter wkompilowany). Można
+pisać własne graficzne narzędzia przy użyciu awisha.
 
 %package devel
 Summary:	Header files for setools libraries
@@ -111,7 +111,7 @@
 Statyczne bibliotek setools.
 
 %prep
-%setup -q
+%setup -q -n %{name}
 %patch0 -p1
 
 %build
@@ -129,20 +129,28 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	SHARED_LIB_INSTALL_DIR=$RPM_BUILD_ROOT%{_libdir}
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/docs
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
+%doc KNOWN-BUGS README apol/*.txt seaudit/seaudit_help.txt
 %attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%{_datadir}/setools
+%{_datadir}/%{name}-%{version}
+%{_mandir}/man[18]/*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
-%{_includedir}/setools
+%{_includedir}/*
 
 %files static
 %defattr(644,root,root,755)
@@ -154,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2006/04/16 23:47:52  zbyniu
+- up to 2.3
+
 Revision 1.14  2005/07/02 09:19:13  qboosh
 - up to 2.1.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/setools.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list