SPECS: horde-vacation.spec - add snap support

glen glen at pld-linux.org
Thu Jul 20 11:25:40 CEST 2006


Author: glen                         Date: Thu Jul 20 09:25:40 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add snap support

---- Files affected:
SPECS:
   horde-vacation.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/horde-vacation.spec
diff -u SPECS/horde-vacation.spec:1.9 SPECS/horde-vacation.spec:1.10
--- SPECS/horde-vacation.spec:1.9	Tue May  9 12:14:43 2006
+++ SPECS/horde-vacation.spec	Thu Jul 20 11:25:33 2006
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 %define		_hordeapp	vacation
+#define		_snap	2006-07-19
 #define		_rc		rc1
 %define		_rel	1
 #
@@ -8,11 +9,12 @@
 Summary(pl):	vacation - moduł zarządzania wakacjami dla Horde
 Name:		horde-%{_hordeapp}
 Version:	3.0
-Release:	%{?_rc:0.%{_rc}.}%{?_snap:0.%(echo %{_snap} | tr -d -).}%{_rel}
+Release:	%{?_rc:0.%{_rc}.}%{?_snap:1.%(echo %{_snap} | tr -d -).}%{_rel}
 License:	ASL
 Group:		Applications/WWW
 Source0:	ftp://ftp.horde.org/pub/vacation/%{_hordeapp}-h3-%{version}.tar.gz
 # Source0-md5:	aebac7f1f1a1bdf8d7f9a7ed8aecee8e
+#Source0:	http://ftp.horde.org/pub/snaps/%{_snap}/%{_hordeapp}-HEAD-%{_snap}.tar.gz
 #Source0:	ftp://ftp.horde.org/pub/vacation/%{_hordeapp}-h3-%{version}-%{_rc}.tar.gz
 Source1:	%{name}.conf
 Patch0:		horde-vacation-conf.patch
@@ -64,6 +66,8 @@
 tar zxf %{SOURCE0} --strip-components=1
 %patch0 -p1
 
+find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
 rm */.htaccess
 
 %install
@@ -161,6 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2006/07/20 09:25:33  glen
+- add snap support
+
 Revision 1.9  2006/05/09 10:14:43  paszczus
 - updated to FINAL 3.0
 
================================================================

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



More information about the pld-cvs-commit mailing list