SPECS: entrance.spec - themes separated to subpackages - more conf...

sparky sparky at pld-linux.org
Sun Oct 30 16:44:48 CET 2005


Author: sparky                       Date: Sun Oct 30 15:44:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- themes separated to subpackages
- more config file name changes
- use enlightemnemt icon for DR17

---- Files affected:
SPECS:
   entrance.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/entrance.spec
diff -u SPECS/entrance.spec:1.8 SPECS/entrance.spec:1.9
--- SPECS/entrance.spec:1.8	Sun Oct 30 13:42:35 2005
+++ SPECS/entrance.spec	Sun Oct 30 16:44:42 2005
@@ -25,6 +25,7 @@
 Requires:	/bin/bash
 Requires(post,preun):	/sbin/chkconfig
 Requires:	ecore
+Requires:	%{name}-theme
 Requires:	pam
 Requires:	sessreg
 Requires:	xinitrc-ng
@@ -45,9 +46,48 @@
 Podobnie jak Enlightenment ma piękno i możliwości konfiguracji, o
 jakich KDM czy GDM mogą tylko pomarzyć... i to bez narzutu.
 
+%package theme-default
+Summary:	Default Entrance theme
+Group:		X11/Applications
+Requires:	%{name}
+Provides:	%{name}-theme
+
+%description theme-default
+Default Entrance theme.
+
+%package theme-Nebulous
+Summary:	Nebulous Entrance theme
+Group:		X11/Applications
+Requires:	%{name}
+Provides:	%{name}-theme
+
+%description theme-Nebulous
+Nebulous Entrance theme.
+
+%package theme-darkrock
+Summary:	Darkrock Entrance theme
+Group:		X11/Applications
+Requires:	%{name}
+Provides:	%{name}-theme
+
+%description theme-darkrock
+Darkrock Entrance theme.
+
+%package theme-taillights
+Summary:	Taillights Entrance theme
+Group:		X11/Applications
+Requires:	%{name}
+Provides:	%{name}-theme
+
+%description theme-taillights
+Taillights Entrance theme.
+
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+mv data/images/sessions/enlightenment{,DR17}.png
+sed 's/enlightenment.png/enlightenmentDR17.png/' \
+	-i data/images/sessions/Makefile.am
 
 sed '/PACKAGE_CFG_DIR/s@"${sysconfdir}"@"${localstatedir}/lib/${PACKAGE}"@' \
 	-i configure.in
@@ -79,7 +119,7 @@
 	$RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/generate-config
 install data/config/build_config.sh.in \
 	$RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/
-touch $RPM_BUILD_ROOT%{_var}/lib/%{name}/entrance_config.db
+touch $RPM_BUILD_ROOT%{_var}/lib/%{name}/entrance_config.cfg
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -107,13 +147,32 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/entrance
 %attr(755,root,root) %{_bindir}/entrance*
 %attr(755,root,root) %{_sbindir}/entranced
-%{_datadir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/images
+%dir %{_datadir}/%{name}/themes
+%{_datadir}/%{name}/users
 %dir %{_sysconfdir}/X11/%{name}
 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/Xsession
 %attr(755,root,root) %{_sysconfdir}/X11/%{name}/generate-config
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/build_config.sh.in
 %dir %{_var}/lib/%{name}
-%ghost %{_var}/lib/%{name}/entrance_config.db
+%ghost %{_var}/lib/%{name}/entrance_config.cfg
+
+%files theme-default
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/themes/default.edj
+
+%files theme-Nebulous
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/themes/Nebulous.edj
+
+%files theme-darkrock
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/themes/darkrock.edj
+
+%files theme-taillights
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/themes/taillights.edj
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -121,6 +180,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/10/30 15:44:42  sparky
+- themes separated to subpackages
+- more config file name changes
+- use enlightemnemt icon for DR17
+
 Revision 1.8  2005/10/30 12:42:35  sparky
 - back to unofficial source (builds at last)
 - BR edje, R ecore
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/entrance.spec?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list