SPECS: cgikit.spec - pl, killed / from setup -n

qboosh qboosh at pld-linux.org
Tue Dec 27 18:50:10 CET 2005


Author: qboosh                       Date: Tue Dec 27 17:50:10 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, killed / from setup -n

---- Files affected:
SPECS:
   cgikit.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/cgikit.spec
diff -u SPECS/cgikit.spec:1.3 SPECS/cgikit.spec:1.4
--- SPECS/cgikit.spec:1.3	Tue Dec 27 09:53:32 2005
+++ SPECS/cgikit.spec	Tue Dec 27 18:50:04 2005
@@ -2,6 +2,7 @@
 %define ruby_rubylibdir %(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
 %define ruby_archdir %(ruby -r rbconfig -e 'print Config::CONFIG["archdir"]')
 Summary:	Ruby CGIKit Library
+Summary(pl):	Biblioteka Ruby CGIKit
 Name:		cgikit
 Version:	1.0b5
 Release:	2
@@ -15,12 +16,16 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Ruby CGIKit Library
+Ruby CGIKit Library.
+
+%description -l pl
+Biblioteka Ruby CGIKit.
 
 %prep
-%setup -q -n %{name}-%{version}/%{name}-%{version}
+%setup -q
 
 %build
+cd %{name}-%{version}
 ruby install.rb config \
 	--prefix=%{_prefix} \
 	--site-ruby=%{ruby_rubylibdir} \
@@ -28,27 +33,32 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{ruby_rubylibdir}
+install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}
+cd %{name}-%{version}
+
 ruby install.rb install --prefix=$RPM_BUILD_ROOT
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc %{name}-%{version}/README
 %{ruby_rubylibdir}/cgikit.rb
 %dir %{ruby_rubylibdir}/cgikit
 %dir %{ruby_rubylibdir}/cgikit/components
 %{ruby_rubylibdir}/cgikit/components/CKErrorPage
 %dir %{ruby_rubylibdir}/cgikit/elements
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/12/27 17:50:04  qboosh
+- pl, killed / from setup -n
+
 Revision 1.3  2005/12/27 08:53:32  twittner
 - (B)R: s/ruby/ruby-modules/, rel. 2 (mass commit through script)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cgikit.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list