SPECS: ruby-redcloth.spec - up to 3.0.4

aredridel aredridel at pld-linux.org
Sat Nov 19 06:40:58 CET 2005


Author: aredridel                    Date: Sat Nov 19 05:40:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 3.0.4

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

---- Diffs:

================================================================
Index: SPECS/ruby-redcloth.spec
diff -u SPECS/ruby-redcloth.spec:1.3 SPECS/ruby-redcloth.spec:1.4
--- SPECS/ruby-redcloth.spec:1.3	Sat May  7 22:39:50 2005
+++ SPECS/ruby-redcloth.spec	Sat Nov 19 06:40:52 2005
@@ -4,16 +4,17 @@
 Summary:	RedCloth - Textile Humane Web Text for Ruby
 Summary(pl):	RedCloth - obsługa formatu tekstowego dla WWW Textile w języku Ruby
 Name:		ruby-redcloth
-Version:	3.0.3
+Version:	3.0.4
 Release:	1
 License:	GPL
 Group:		Development/Languages
-Source0:	http://rubyforge.org/frs/download.php/2896/RedCloth-%{version}.tar.gz
-# Source0-md5:	eade83d4b1ecc2b415db5e33deb09e05
-Source1:	setup.rb
+Source0:	http://rubyforge.org/frs/download.php/6064/RedCloth-%{version}.tar.gz
+# Source0-md5:	6f076b94e783149adf96102c574a233c
 URL:		http://www.whytheluckystiff.net/ruby/redcloth/
+BuildRequires: setup.rb
+BuildRequires: perl
 Requires:	ruby
-BuildArch:	noarch
+#BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,15 +31,18 @@
 %setup -q -n RedCloth-%{version}
 
 %build
-cp %{SOURCE1} .
+cp %{_datadir}/setup.rb .
 ruby setup.rb config \
-	--site-ruby=%{ruby_rubylibdir} \
-	--so-dir=%{ruby_archdir}
+	--rbdir=%{ruby_rubylibdir} \
+	--sodir=%{ruby_archdir}
 
 ruby setup.rb setup
 
 rdoc -o rdoc doc lib
 
+find bin -type f | xargs perl -pi -e "s#/usr/bin/ruby18#/usr/bin/ruby#"
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}
@@ -60,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/11/19 05:40:52  aredridel
+- up to 3.0.4
+
 Revision 1.3  2005/05/07 20:39:50  qboosh
 - proper summary, added URL, pl
 
================================================================

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




More information about the pld-cvs-commit mailing list