SPECS: template.spec - adapterized and other things

glen glen at pld-linux.org
Mon Aug 15 23:54:37 CEST 2005


Author: glen                         Date: Mon Aug 15 21:54:37 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapterized and other things

---- Files affected:
SPECS:
   template.spec (1.52 -> 1.53) 

---- Diffs:

================================================================
Index: SPECS/template.spec
diff -u SPECS/template.spec:1.52 SPECS/template.spec:1.53
--- SPECS/template.spec:1.52	Sat Aug 13 17:48:55 2005
+++ SPECS/template.spec	Mon Aug 15 23:54:32 2005
@@ -6,8 +6,8 @@
 #
 Summary:	-
 Summary(pl):	-
-Name:		-
-Version:	-
+Name:		template
+Version:	_
 Release:	0.1
 Epoch:		0
 License:	- (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
@@ -23,16 +23,14 @@
 %if %{with initscript}
 BuildRequires:	rpmbuild(macros) >= 1.228
 Requires(post,preun):	/sbin/chkconfig
-Requires:	rc-scripts
 %endif
+#BuildRequires:	-
 #BuildRequires:	autoconf
 #BuildRequires:	automake
 #BuildRequires:	libtool
-#BuildRequires:	-
-#PreReq:		-
+#Requires(postun):	-
 #Requires(pre,post):	-
 #Requires(preun):	-
-#Requires(postun):	-
 #Requires:	-
 #Provides:	group(foo)
 #Provides:	user(foo)
@@ -40,7 +38,7 @@
 #Obsoletes:	-
 #Conflicts:	-
 #BuildArch:	noarch
-#ExclusiveArch:  %{ix86}
+#ExclusiveArch:	%{ix86}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -146,24 +144,26 @@
 %defattr(644,root,root,755)
 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
 
+%if 0
 # if _sysconfdir != /etc:
 #%%dir %{_sysconfdir}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
-
 %attr(755,root,root) %{_bindir}/*
-
 %{_datadir}/%{name}
+%endif
 
 # initscript and its config
+%if %{with initscript}
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+%endif
 
 #%{_examplesdir}/%{name}-%{version}
 
 %files subpackage
 %defattr(644,root,root,755)
-%doc extras/*.gz
-%{_datadir}/%{name}-ext
+#%doc extras/*.gz
+#%{_datadir}/%{name}-ext
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -171,10 +171,6 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.52  2005/08/13 15:48:55  qboosh
-- require rc-scripts at runtime using plain Requires;
-  chkconfig R(post,preun) should assure proper installation order
-
-Revision 1.51  2005/07/27 09:37:10  glen
-- ldconfig and initscript samples added as bcond, other useful things
+Revision 1.53  2005/08/15 21:54:32  glen
+- adapterized and other things
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/template.spec?r1=1.52&r2=1.53&f=u




More information about the pld-cvs-commit mailing list