SPECS: template-ruby.spec - MODULE_NAME placeholder

glen glen at pld-linux.org
Tue Jan 13 19:16:11 CET 2009


Author: glen                         Date: Tue Jan 13 18:16:11 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- MODULE_NAME placeholder

---- Files affected:
SPECS:
   template-ruby.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/template-ruby.spec
diff -u SPECS/template-ruby.spec:1.2 SPECS/template-ruby.spec:1.3
--- SPECS/template-ruby.spec:1.2	Tue Jan 13 18:05:54 2009
+++ SPECS/template-ruby.spec	Tue Jan 13 19:16:06 2009
@@ -1,10 +1,13 @@
 # $Revision$, $Date$
+#
+# Replace:
+# MODULE_NAME with real module name
 Summary:	-
-Name:		ruby-
+Name:		ruby-MODULE_NAME
 Version:	-
 Release:	0.1
 License:	- (enter GPL/GPL v2/GPL v3+/LGPL/MIT/Ruby License/other license name here)
-Source0:	http://rubyforge.org/frs/download.php/...
+Source0:	http://rubyforge.org/frs/download.php/18699/MODULE_NAME-%{version}.tgz
 # Source0-md5:	-
 Group:		Development/Languages
 URL:		http://rubyforge.org/projects/.../
@@ -22,15 +25,15 @@
 ...
 
 %package rdoc
-Summary:	Documentation files for ...
+Summary:	Documentation files for MODULE_NAME
 Group:		Documentation
 Requires:	ruby >= 1:1.8.7-4
 
 %description rdoc
-Documentation files for ....
+Documentation files for MODULE_NAME.
 
 %prep
-%setup -q -n ...-%{version}
+%setup -q -n MODULE_NAME-%{version}
 
 # gem install
 %{__tar} xf %{SOURCE0} -O data.tar.gz | %{__tar} xz
@@ -44,6 +47,7 @@
 %build
 rdoc --ri --op ri lib
 rdoc --op rdoc lib
+# rm -rf ri/NOT_THIS_MODULE_RELATED_DIRS
 rm -f ri/created.rid
 
 %install
@@ -63,7 +67,7 @@
 %files rdoc
 %defattr(644,root,root,755)
 %{ruby_rdocdir}/%{name}-%{version}
-%{ruby_ridir}/...
+%{ruby_ridir}/MODULE_NAME
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/01/13 18:16:06  glen
+- MODULE_NAME placeholder
+
 Revision 1.2  2009/01/13 17:05:54  glen
 - updated
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/template-ruby.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list