SPECS: seedit.spec - variables for make
wolvverine
wolvverine at pld-linux.org
Tue Jul 3 03:46:44 CEST 2007
Author: wolvverine Date: Tue Jul 3 01:46:44 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- variables for make
---- Files affected:
SPECS:
seedit.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/seedit.spec
diff -u SPECS/seedit.spec:1.3 SPECS/seedit.spec:1.4
--- SPECS/seedit.spec:1.3 Tue Jul 3 01:39:28 2007
+++ SPECS/seedit.spec Tue Jul 3 03:46:38 2007
@@ -27,6 +27,9 @@
Requires: m4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define ARGS CUSTOMIZABLE_TYPE=y MODULAR=y PAM_INCLUDE_SUPPORT=y AUDIT_OBJ_TYPE_SUPPORT=y POLICYTYPE=easy AUDITRULES=%{_sysconfdir}/audit/audit.rules SELINUXCONFIG=%{_sysconfdir}/selinux DEVELFLAG=0 SELINUXTYPE=seedit
+#PYTHON_VER=2.4 DISTRO=FC6
+
%description
SELinux Policy Editor(SEEdit) is a tool to make SELinux easy.
SEEdit is composed of Simplified Policy, command line utils and GUI.
@@ -62,41 +65,35 @@
%build
-PYTHON_SITELIB=%{py_sitedir}/
-CUSTOMIZABLE_TYPE=y
-MODULAR=y
-PAM_INCLUDE_SUPPORT=y
-AUDIT_OBJ_TYPE_SUPPORT=y
-POLICYTYPE=easy
-AUDITRULES=%{_sysconfdir}/audit/audit.rules
-SELINUXCONFIG=%{_sysconfdir}/selinux
-DEVELFLAG=0
-SELINUXTYPE=seedit
-
-export PYTHON_SITELIB CUSTOMIZABLE_TYPE MODULAR PAM_INCLUDE_SUPPORT AUDIT_OBJ_TYPE_SUPPORT POLICYTYPE AUDITRULES DEVELFLAG SELINUXTYPE
-
cd core
%{__make} \
CFLAGS="%{rpmcflags}" \
- LDFLAGS="%{rpmldflags}"
+ LDFLAGS="%{rpmldflags}" \
+ PYTHON_SITELIB=%{py_sitedir} \
+ %ARGS
cd ..
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{py_sitedir}}
cd core
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ PYTHON_SITELIB=$RPM_BUILD_ROOT%{py_sitedir} \
+ %ARGS
cd ..
cd gui
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ PYTHON_SITELIB=$RPM_BUILD_ROOT%{py_sitedir} \
+ %ARGS
cd ..
cd policy
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ %ARGS
install %{SOURCE1} ${RPM_BUILD_ROOT}%{_desktopdir}
#install %{SOURCE2} ${RPM_BUILD_ROOT}%{_pixmapspdir}
@@ -183,6 +180,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2007/07/03 01:46:38 wolvverine
+- variables for make
+
Revision 1.3 2007/07/02 23:39:28 wolvverine
- add desktop file
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/seedit.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list