Author: twittner                     Date: Fri Sep 12 16:50:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.2.0 (merged from DEVEL)

---- Files affected:
SPECS:
   ruby-RubyGems.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/ruby-RubyGems.spec
diff -u SPECS/ruby-RubyGems.spec:1.13 SPECS/ruby-RubyGems.spec:1.14
--- SPECS/ruby-RubyGems.spec:1.13       Tue Jan  8 17:32:52 2008
+++ SPECS/ruby-RubyGems.spec    Fri Sep 12 18:50:06 2008
@@ -1,15 +1,17 @@
 # $Revision$, $Date$
+%define                _name   %(echo %{name} | tr '[:upper:]' '[:lower:]')
 Summary:       Ruby package manager
 Summary(pl.UTF-8):     Zarządca pakietów dla języka Ruby
 Name:          ruby-RubyGems
-Version:       0.8.11
-Release:       3
+Version:       1.2.0
+Release:       1
 License:       GPL
 Group:         Development/Languages
-Source0:       
http://rubyforge.org/frs/download.php/5207/rubygems-%{version}.tgz
-# Source0-md5: aa363b428c4c1fc2e076a4ff77b957d7
-URL:           http://borges.rubyforge.org/
-BuildRequires: rpmbuild(macros) >= 1.277
+Source0:       
http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-%{version}.tgz
+# Source0-md5: b77a4234360735174d1692e6fc598402
+Patch0:                %{name}-setup.patch
+URL:           http://rubygems.org/
+#BuildRequires:        rpmbuild(macros) >= 1.410
 BuildRequires: ruby-devel
 BuildRequires: sed >= 4.0
 %{?ruby_mod_ver_requires_eq}
@@ -26,22 +28,41 @@
 RubyGems to standard tworzenia i zarządzania zewnętrznymi bibliotekami
 dla języka Ruby.
 
+%package ri
+Summary:       Ruby Gem package manager ri documentation
+Summary(pl.UTF-8):     Dokumentacja w formacie ri dla menadżera pakietów Ruby
+Group: Documentation
+
+%description ri
+Ruby Gem package manager ri documentation.
+
+%description ri -l pl.UTF-8
+Dokumentacji w formacie ri dla menadżera pakietów Ruby. 
+
+%package rdoc
+Summary:       Ruby Gem package manager HTML documentation
+Summary(pl.UTF-8):     Dokumentacja w formacie HTML dla menadżera pakietów Ruby
+Group: Documentation
+
+%description rdoc
+Ruby Gem package manager HTML documentation.
+
+%description rdoc -l pl.UTF-8
+Dokumentacja w formacie HTML dla menadżera pakietów Ruby. 
+
 %prep
 %setup -q -n rubygems-%{version}
-
-sed -i -e "s,Gem\\.dir,'$RPM_BUILD_ROOT'+Gem.dir," post-install.rb
+%patch0 -p1
 
 %build
-ruby setup.rb config \
-       --prefix=$RPM_BUILD_ROOT%{_prefix} \
-       --rbdir=$RPM_BUILD_ROOT%{ruby_rubylibdir}
-
-ruby setup.rb setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_gemdir}
-ruby setup.rb install
+
+ruby setup.rb \
+       --vendor \
+       --rdocdir=./rdoc \
+       --destdir="$RPM_BUILD_ROOT"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -50,19 +71,31 @@
 %defattr(644,root,root,755)
 %doc README*
 %attr(755,root,root) %{_bindir}/*
-%{ruby_rubylibdir}/*.rb
-%{ruby_rubylibdir}/rubygems
+%{ruby_vendorlibdir}/*.rb
+%dir %{ruby_vendorlibdir}/rubygems
+%{ruby_vendorlibdir}/rubygems/*.rb
+%dir %{ruby_vendorlibdir}/rubygems/commands
+%dir %{ruby_vendorlibdir}/rubygems/digest
+%dir %{ruby_vendorlibdir}/rubygems/ext
+%dir %{ruby_vendorlibdir}/rubygems/package
+%dir %{ruby_vendorlibdir}/rubygems/package/tar_reader
+%{ruby_vendorlibdir}/rubygems/package/tar_reader/*.rb
+%{ruby_vendorlibdir}/rubygems/*/*.rb
+%dir %{ruby_vendorlibdir}/rbconfig
+%{ruby_vendorlibdir}/rbconfig/datadir.rb
 %dir %{_libdir}/ruby/gems
 %dir %{_gemdir}
-%dir %{_gemdir}/cache
-%{_gemdir}/cache/sources-0.0.1.gem
-%dir %{_gemdir}/specifications
-%{_gemdir}/specifications/sources-0.0.1.gemspec
-%dir %{_gemdir}/gems
-%dir %{_gemdir}/gems/sources-0.0.1
-%dir %{_gemdir}/gems/sources-0.0.1/lib
-%{_gemdir}/gems/sources-0.0.1/lib/sources.rb
 %dir %{_gemdir}/doc
+%dir %{_gemdir}/doc/rubygems-%{version}
+
+%files ri
+%defattr(644,root,root,755)
+%dir %{_gemdir}/doc/rubygems-%{version}/ri
+%{_gemdir}/doc/rubygems-%{version}/ri/*
+
+%files rdoc
+%defattr(644,root,root,755)
+%doc rdoc/*
 
 %define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -70,7 +103,16 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.13  2008/01/08 16:32:52  glen
+Revision 1.14  2008/09/12 16:50:06  twittner
+- up to 1.2.0 (merged from DEVEL)
+
+Revision 1.13.2.2  2008/08/21 16:40:32  twittner
+- up to 1.2.0
+
+Revision 1.13.2.1  2008-01-13 00:57:34  twittner
+- up to 1.0.1
+
+Revision 1.13  2008-01-08 16:32:52  glen
 - one more missing dir; rel 3
 
 Revision 1.12  2008-01-08 00:23:58  glen
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to