SPECS: ekg.spec -added yesterday_snapshot (patch made by Adam Mikuta)

teodor teodor at pld-linux.org
Sat Jul 2 17:19:33 CEST 2005


Author: teodor                       Date: Sat Jul  2 15:19:33 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
-added yesterday_snapshot (patch made by Adam Mikuta)

---- Files affected:
SPECS:
   ekg.spec (1.191 -> 1.192) 

---- Diffs:

================================================================
Index: SPECS/ekg.spec
diff -u SPECS/ekg.spec:1.191 SPECS/ekg.spec:1.192
--- SPECS/ekg.spec:1.191	Sun Jun 26 15:53:52 2005
+++ SPECS/ekg.spec	Sat Jul  2 17:19:27 2005
@@ -1,13 +1,21 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_with	yesterday_snapshot	# Build most current ekg snapshot
+					# (must use ./builder -n5 or plain rpmbuild)
+
 %bcond_without	aspell		# without spell checking
 %bcond_without	voip		# without VoIP support
 %bcond_without	python		# with python support
 %bcond_without	pthread		# build with Posix threads support
 %bcond_with	ioctl_daemon	# with ioctl_daemon (suid root)
 #
+%if %{with yesterday_snapshot}
+%define		_snap %(date +%%Y%%m%%d -d yesterday)
+%else
 %define		_pre	rc1
+%endif
+
 #
 Summary:	A client compatible with Gadu-Gadu
 Summary(de):	Ein Cliente kompatibel mit Gadu-Gadu
@@ -16,11 +24,19 @@
 Summary(pl):	Klient kompatybilny z Gadu-Gadu
 Name:		ekg
 Version:	1.6
-Release:	0.%{_pre}.1
+%if %{with yesterday_snapshot} 
+Release:        0.%{_snap}.1
+%else   
+Release:        0.%{_pre}.1
+%endif 
 Epoch:		4
 License:	GPL v2
 Group:		Applications/Communications
+%if %{with yesterday_snapshot} 
+Source0:        http://dev.null.pl/ekg/%{name}-%{_snap}.tar.gz 
+%else 
 Source0:	http://dev.null.pl/ekg/%{name}-1.6%{_pre}.tar.gz
+%endif 
 # Source0-md5:	bce21bd6e896b71266afc30004f27402
 Source1:	%{name}.conf
 URL:		http://dev.null.pl/ekg/
@@ -159,7 +175,12 @@
 Statyczna biblioteka libgadu.
 
 %prep
+%if %{with yesterday_snapshot}
+%setup -q -n %{name}-%{_snap}
+%else
 %setup -q -n %{name}-%{version}%{_pre}
+%endif
+
 
 %build
 rm -f missing
@@ -253,6 +274,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.192  2005/07/02 15:19:27  teodor
+-added yesterday_snapshot (patch made by Adam Mikuta)
+
 Revision 1.191  2005/06/26 13:53:52  djurban
 - kopete requires ekg WITH PTHREAD, turn on by default
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ekg.spec?r1=1.191&r2=1.192&f=u




More information about the pld-cvs-commit mailing list