SPECS: horde-imp.spec - update to 4.2rc2, unify macros

glen glen at pld-linux.org
Thu Feb 7 00:05:42 CET 2008


Author: glen                         Date: Wed Feb  6 23:05:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 4.2rc2, unify macros

---- Files affected:
SPECS:
   horde-imp.spec (1.126 -> 1.127) 

---- Diffs:

================================================================
Index: SPECS/horde-imp.spec
diff -u SPECS/horde-imp.spec:1.126 SPECS/horde-imp.spec:1.127
--- SPECS/horde-imp.spec:1.126	Wed Jan  9 17:39:10 2008
+++ SPECS/horde-imp.spec	Thu Feb  7 00:05:37 2008
@@ -1,26 +1,26 @@
 # $Revision$, $Date$
-%define	_hordeapp	imp
-#define	_snap	2005-08-22
-%define	_rc		rc1
-%define	_rel	1
+%define		hordeapp	imp
+#define		_snap	2005-08-22
+%define		subver	rc2
+%define		_rel	1
 #
 %include	/usr/lib/rpm/macros.php
 Summary:	Web Based IMAP Mail Program
 Summary(es.UTF-8):	Programa de correo vía Internet basado en IMAP
 Summary(pl.UTF-8):	Program do obsługi poczty przez WWW korzystający z IMAP-a
 Summary(pt_BR.UTF-8):	Programa de Mail via Web
-Name:		horde-%{_hordeapp}
+Name:		horde-%{hordeapp}
 Version:	4.2
-Release:	%{?_rc:0.%{_rc}.}%{?_snap:0.%(echo %{_snap} | tr -d -).}%{_rel}
+Release:	%{?subver:0.%{subver}.}%{?_snap:0.%(echo %{_snap} | tr -d -).}%{_rel}
 License:	GPL v2
 Group:		Applications/WWW
-#Source0:	http://ftp.horde.org/pub/snaps/%{_snap}/%{_hordeapp}-FRAMEWORK_3-%{_snap}.tar.gz
-Source0:	ftp://ftp.horde.org/pub/imp/%{_hordeapp}-h3-%{version}-%{_rc}.tar.gz
-# Source0-md5:	84387c5dc737f1390afe4ebb4c5c1441
-#Source0:	ftp://ftp.horde.org/pub/imp/%{_hordeapp}-h3-%{version}.tar.gz
-Source1:	%{_hordeapp}.conf
-Patch0:		%{_hordeapp}-path.patch
-Patch1:		%{_hordeapp}-prefs.patch
+#Source0:	http://ftp.horde.org/pub/snaps/%{_snap}/%{hordeapp}-FRAMEWORK_3-%{_snap}.tar.gz
+Source0:	ftp://ftp.horde.org/pub/imp/%{hordeapp}-h3-%{version}-%{subver}.tar.gz
+# Source0-md5:	f71b54aa1a0fd6b7bb10b26f22d0d5f0
+#Source0:	ftp://ftp.horde.org/pub/imp/%{hordeapp}-h3-%{version}.tar.gz
+Source1:	%{hordeapp}.conf
+Patch0:		%{hordeapp}-path.patch
+Patch1:		%{hordeapp}-prefs.patch
 URL:		http://www.horde.org/imp/
 BuildRequires:	rpm-php-pearprov >= 4.0.2-98
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -29,7 +29,7 @@
 Requires:	php(ctype)
 Requires:	php(imap)
 Requires:	webapps
-Obsoletes:	%{_hordeapp}
+Obsoletes:	%{hordeapp}
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,9 +38,9 @@
 %define		_noautoreq			'pear(Horde.*)' 'pear(Text/Flowed.php)'
 
 %define		hordedir	/usr/share/horde
-%define		_appdir		%{hordedir}/%{_hordeapp}
+%define		_appdir		%{hordedir}/%{hordeapp}
 %define		_webapps	/etc/webapps
-%define		_webapp		horde-%{_hordeapp}
+%define		_webapp		horde-%{hordeapp}
 %define		_sysconfdir	%{_webapps}/%{_webapp}
 
 %description
@@ -66,7 +66,7 @@
 Programa de Mail via Web baseado no IMAP.
 
 %prep
-%setup -qcT -n %{?_snap:%{_hordeapp}-%{_snap}}%{!?_snap:%{_hordeapp}-%{version}%{?_rc:-%{_rc}}}
+%setup -qcT -n %{?_snap:%{hordeapp}-%{_snap}}%{!?_snap:%{hordeapp}-%{version}%{?subver:-%{subver}}}
 tar zxf %{SOURCE0} --strip-components=1
 %patch0 -p1
 %patch1 -p1
@@ -188,6 +188,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.127  2008-02-06 23:05:37  glen
+- update to 4.2rc2, unify macros
+
 Revision 1.126  2008-01-09 16:39:10  paszczus
 - updated to 4.2-rc1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/horde-imp.spec?r1=1.126&r2=1.127&f=u



More information about the pld-cvs-commit mailing list