SPECS: kbfx.spec - added --with snap bcond - snap 20060528

shadzik shadzik at pld-linux.org
Mon May 29 00:21:08 CEST 2006


Author: shadzik                      Date: Sun May 28 22:21:08 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added --with snap bcond
- snap 20060528

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

---- Diffs:

================================================================
Index: SPECS/kbfx.spec
diff -u SPECS/kbfx.spec:1.9 SPECS/kbfx.spec:1.10
--- SPECS/kbfx.spec:1.9	Fri May 26 19:12:33 2006
+++ SPECS/kbfx.spec	Mon May 29 00:21:02 2006
@@ -1,17 +1,25 @@
 # $Revision$, $Date$
+%bcond_with	snap	# build cvs snapshot
+
+%define		_snap	20060528cvs
 %define		_rel	rc1
+
 Summary:	Kicker bar enhancement for KDE
 Summary(de):	Eine Kicker Erweiterung für KDE
 Summary(pl):	Rozszerzenie paska Kickera dla KDE
 Name:		kbfx
 Version:	0.4.9.2
-Release:	0.%{_rel}.1
+Release:	0.%{?with_snap:%{_snap}}%{!?with_snap:%{_rel}}.1
 Epoch:		1
 License:	GPL
 Group:		X11/Applications
-#Source0:	http://www.linuxlots.com/~siraj/kde/plugin/%{name}-%{version}.tar.bz2
+%if %{with snap}
+Source0:	http://dl.sourceforge.net/kbfx/%{name}-%{_snap}.tar.gz
+# Source0-md5:	dc15f465a6d158ae3596795476800fad
+%else
 Source0:	http://dl.sourceforge.net/kbfx/%{name}-%{version}%{_rel}.tar.gz
 # Source0-md5:	17349a247b5cc4f75eaa6829b92c577c
+%endif
 URL:		http://www.linuxlots.com/~siraj/kde/plugin/home/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -39,7 +47,7 @@
 Sukcesem kbfx była współpraca ze strony miłośników KDE i artystów.
 
 %prep
-%setup -q -n %{name}-%{version}%{_rel}
+%setup -q -n %{name}-%{?with_snap:%{_snap}}%{!?with_snap:%{version}%{_rel}}
 
 %build
 %{__make} -f Makefile.cvs
@@ -95,6 +103,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2006/05/28 22:21:02  shadzik
+- added --with snap bcond
+- snap 20060528
+
 Revision 1.9  2006/05/26 17:12:33  shadzik
 - patch0 is no longer needed
 
================================================================

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



More information about the pld-cvs-commit mailing list