SPECS: roundcubemail.spec - fix adapter fackery, more macros.

blues blues at pld-linux.org
Sat Jun 17 20:08:58 CEST 2006


Author: blues                        Date: Sat Jun 17 18:08:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix adapter fackery, more macros.

---- Files affected:
SPECS:
   roundcubemail.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/roundcubemail.spec
diff -u SPECS/roundcubemail.spec:1.1 SPECS/roundcubemail.spec:1.2
--- SPECS/roundcubemail.spec:1.1	Sat Jun 17 19:53:37 2006
+++ SPECS/roundcubemail.spec	Sat Jun 17 20:08:52 2006
@@ -11,10 +11,10 @@
 Summary:	RoundCube Webmail
 Name:		roundcubemail
 Version:	0.1
-Release:	0.%{_beta}.0.1
+Release:	0.%{_beta}.0.2
 License:	GPL v2
 Group:		Applications/WWW
-Source0:	http://dl.sourceforge.net/roundcubemail/%{name}-%{version}%{_%{_beta}}.tar.gz
+Source0:	http://dl.sourceforge.net/roundcubemail/%{name}-%{version}%{_beta}.tar.gz
 # Source0-md5:	cdbcdfd419c01a4c437327c625d28da5
 Patch0:		%{name}-config.patch
 URL:		http://www.roundcube.net/
@@ -29,6 +29,7 @@
 %define		_sysconfdir	%{_webapps}/%{_webapp}
 %define		_appdir		%{_datadir}/%{_webapp}
 %define		_appdatadir	/var/lib/roundcube
+%define		_applogdir	/var/log/roundcube
 
 %description
 RoundCube Webmail is a browser-based multilingual IMAP client with an
@@ -39,12 +40,12 @@
 skinnable using XHTML and CSS 2.
 
 %prep
-%setup -q -n %{name}-%{version}%{_%{_beta}}
+%setup -q -n %{name}-%{version}%{_beta}
 %patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_appdatadir},%{_sysconfdir},/var/log/roundcube} \
+install -d $RPM_BUILD_ROOT{%{_appdatadir},%{_applogdir},%{_sysconfdir}} \
 	$RPM_BUILD_ROOT%{_appdir}/{config,program,skins}
 
 # Main application part:
@@ -88,9 +89,9 @@
 %{_appdir}/program/*
 %dir %{_appdir}/skins
 %{_appdir}/skins/default
-%dir %attr(770,root,http) /var/log/roundcube
-# %ghost logfile
+%dir %attr(770,root,http) %{_applogdir}
 %dir %attr(770,root,http) %{_appdatadir}
+# %ghost logfile
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -98,6 +99,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/06/17 18:08:52  blues
+- fix adapter fackery, more macros.
+
 Revision 1.1  2006/06/17 17:53:37  blues
 - initial release
 
================================================================

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



More information about the pld-cvs-commit mailing list