SPECS: initng.spec - snapshot support

glen glen at pld-linux.org
Fri Nov 4 17:20:47 CET 2005


Author: glen                         Date: Fri Nov  4 16:20:47 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- snapshot support

---- Files affected:
SPECS:
   initng.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/initng.spec
diff -u SPECS/initng.spec:1.33 SPECS/initng.spec:1.34
--- SPECS/initng.spec:1.33	Mon Oct 17 22:04:59 2005
+++ SPECS/initng.spec	Fri Nov  4 17:20:41 2005
@@ -3,15 +3,21 @@
 Summary(pl):	Zamiennik inita następnej generacji
 Name:		initng
 Version:	0.3.3
-Release:	0.4
+%define	_snap 20051022
+%define	_rel 0.3
+Release:	0.%{?_snap:%{_snap}.}%{_rel}
 License:	GPL v2
 Group:		Base
-Source0:	http://initng.thinktux.net/download/v0.3/%{name}-%{version}.tar.bz2
-# Source0-md5:	f532ff517216a43d994a07d658b68ed0
+#Source0:	http://initng.thinktux.net/download/v0.3/%{name}-%{version}.tar.bz2
+Source0:	/home/builder/svn/initng-20051022.tar.bz2
+# Source0-md5:	584c97be4517d3ee6b9ea14225f0ba20
 Patch0:		%{name}-lib64.patch
 Patch1:		%{name}-savefile.patch
 Patch2:	%{name}-utmpx.patch
 URL:		http://jw.dyndns.org/initng/
+%if 0%{_snap}
+BuildRequires:	automake
+%endif
 BuildRequires:	sed >= 4.0
 BuildRequires:	/etc/pld-release
 Requires:	bash
@@ -68,17 +74,23 @@
 istniejących rc-scripts.
 
 %prep
-%setup -q
+%setup -q %{?_snap:-n %{name}}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 
 %build
+%if 0%{_snap}
+./autogen.sh
+%endif
 %configure \
 	--%{?debug:en}%{!?debug:dis}able-debug \
 	--sysconfdir=/etc \
 	--libdir=/%{_lib} \
 
+#	--with-splash \
+#	--with-splashy \
+
 %{__make} \
 	CPPFLAGS='-DINITNG_PLUGIN_DIR=\"/%{_lib}/%{name}\" -DSAVE_FILE=\"/var/run/initng_db_save.v7\"'
 
@@ -187,6 +199,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2005/11/04 16:20:41  glen
+- snapshot support
+
 Revision 1.33  2005/10/17 20:04:59  glen
 - go on with utmpx patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/initng.spec?r1=1.33&r2=1.34&f=u




More information about the pld-cvs-commit mailing list