packages: ruby-activesupport/ruby-activesupport.spec - added ri package
baggins
baggins at pld-linux.org
Mon Mar 1 21:43:35 CET 2010
Author: baggins Date: Mon Mar 1 20:43:35 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added ri package
---- Files affected:
packages/ruby-activesupport:
ruby-activesupport.spec (1.28 -> 1.29)
---- Diffs:
================================================================
Index: packages/ruby-activesupport/ruby-activesupport.spec
diff -u packages/ruby-activesupport/ruby-activesupport.spec:1.28 packages/ruby-activesupport/ruby-activesupport.spec:1.29
--- packages/ruby-activesupport/ruby-activesupport.spec:1.28 Mon Mar 1 01:05:18 2010
+++ packages/ruby-activesupport/ruby-activesupport.spec Mon Mar 1 21:43:30 2010
@@ -36,16 +36,28 @@
Biblioteki narzędziowe dla Ruby on Rails.
%package rdoc
-Summary: Documentation files for ActiveSupport
-Summary(pl.UTF-8): Dokumentacja do biblioteki ActiveSupport
+Summary: HTML documentation for %{pkgname}
+Summary(pl.UTF-8): Dokumentacja w formacie HTML dla %{pkgname}
Group: Documentation
Requires: ruby >= 1:1.8.7-4
%description rdoc
-Documentation files for ActiveSupport.
+HTML documentation for %{pkgname}.
%description rdoc -l pl.UTF-8
-Dokumentacja do biblioteki ActiveSupport.
+Dokumentacja w formacie HTML dla %{pkgname}.
+
+%package ri
+Summary: ri documentation for %{pkgname}
+Summary(pl.UTF-8): Dokumentacja w formacie ri dla %{pkgname}
+Group: Documentation
+Requires: ruby
+
+%description ri
+ri documentation for %{pkgname}.
+
+%description ri -l pl.UTF-8
+Dokumentacji w formacie ri dla %{pkgname}.
%prep
%setup -q -c
@@ -53,15 +65,15 @@
find -newer README -o -print | xargs touch --reference %{SOURCE0}
%patch0 -p1
-%{__rm} -rf lib/active_support/vendor*
+%{__rm} -r lib/active_support/vendor*
# JRuby crap
-rm -f lib/active_support/xml_mini/jdom.rb
+rm lib/active_support/xml_mini/jdom.rb
%build
rdoc --ri --op ri lib
rdoc --op rdoc lib
-rm -f ri/created.rid
+rm ri/created.rid
rm -r ri/{CGI,Class,ClassInheritableAttributes,Date,DateTime} \
ri/{Enumerable,Exception,FalseClass,File,Float,Hash} \
ri/{HashWithIndifferentAccess,Integer,Kernel,Logger} \
@@ -71,8 +83,8 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir}}
install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{ruby_rdocdir}}
+
cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{pkgname}-%{version}
@@ -90,6 +102,9 @@
%files rdoc
%defattr(644,root,root,755)
%{ruby_rdocdir}/%{pkgname}-%{version}
+
+%files ri
+%defattr(644,root,root,755)
%{ruby_ridir}/ActiveSupport
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -98,6 +113,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.29 2010/03/01 20:43:30 baggins
+- added ri package
+
Revision 1.28 2010/03/01 00:05:18 baggins
- updated to 2.3.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ruby-activesupport/ruby-activesupport.spec?r1=1.28&r2=1.29&f=u
More information about the pld-cvs-commit
mailing list