SPECS: roundcubemail.spec - separated skin package

glen glen at pld-linux.org
Thu Apr 12 16:01:29 CEST 2007


Author: glen                         Date: Thu Apr 12 14:01:29 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated skin package

---- Files affected:
SPECS:
   roundcubemail.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/roundcubemail.spec
diff -u SPECS/roundcubemail.spec:1.23 SPECS/roundcubemail.spec:1.24
--- SPECS/roundcubemail.spec:1.23	Thu Apr 12 15:55:51 2007
+++ SPECS/roundcubemail.spec	Thu Apr 12 16:01:24 2007
@@ -10,7 +10,7 @@
 #define		_svn	svn445
 %define		_snap	20070318
 #define		_beta	beta2
-%define		_rel	0.9
+%define		_rel	0.11
 Summary:	RoundCube Webmail
 Summary(pl.UTF-8):	RoundCube Webmail - poczta przez WWW
 Name:		roundcubemail
@@ -27,6 +27,7 @@
 URL:		http://www.roundcube.net/
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sed >= 4.0
+Requires:	%{name}-skin
 Requires:	php(pcre)
 # Some php-database backend. Suggests?
 # php-sockets is required to make spellcheck working
@@ -58,6 +59,14 @@
 MySQL. Interfejs użytkownika można w pełni obudować skórką przy użyciu
 XHTML-a i CSS 2.
 
+%package skin-default
+Summary:	Default skin for RoundCube Webmail
+Group:		Applications/WWW
+Provides:	%{name}-skin
+
+%description skin-default
+Default skin for RoundCube Webmail.
+
 %prep
 %setup -q -n %{name}-%{?_snap:nightly-%{_snap}}%{!?_snap:%{version}%{?_svn}%{?_beta}}
 %patch0 -p1
@@ -76,7 +85,7 @@
 cp -a program/* $RPM_BUILD_ROOT%{_appdir}/program
 cp -a index.php $RPM_BUILD_ROOT%{_appdir}
 
-# Skins installation (maybe it should be as config??)
+# Skins installation
 cp -a skins/* $RPM_BUILD_ROOT%{_appdir}/skins
 
 ## Configuration:
@@ -192,17 +201,23 @@
 %lang(zh_CN) %{_appdir}/program/localization/zh_CN
 
 %dir %{_appdir}/skins
-%{_appdir}/skins/default
 %dir %attr(770,root,http) %{_applogdir}
 %dir %attr(770,root,http) %{_appdatadir}
 # %ghost logfile
 
+%files skin-default
+%defattr(644,root,root,755)
+%{_appdir}/skins/default
+
 %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.24  2007/04/12 14:01:24  glen
+- separated skin package
+
 Revision 1.23  2007/04/12 13:55:51  glen
 - language codes for localization (somebody please verify codes correctness)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/roundcubemail.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list