diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1577ed5..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -oniguruma-1.1.0.gem diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..30cd768 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +This package is standard in Ruby 1.9 \ No newline at end of file diff --git a/oniguruma.Rakefile.patch b/oniguruma.Rakefile.patch deleted file mode 100644 index 8200ad7..0000000 --- a/oniguruma.Rakefile.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- Rakefile 2010-06-16 09:14:14.240879073 +0200 -+++ Rakefile 2010-06-21 11:25:07.868728485 +0200 -@@ -6,16 +6,6 @@ - def extra_deps - @extra_deps.delete_if{ |x| x.first == 'hoe' } - end -- -- # Dirty hack to package only the required files per platform -- def spec= s -- if ENV['PLATFORM'] =~ /win32/ -- s.files = s.files.reject! {|f| f =~ /extconf\.rb/} -- else -- s.files = s.files.reject! {|f| f =~ /win\//} -- end -- @spec = s -- end - end - - version = /^== *(\d+\.\d+\.\d+)/.match( File.read( 'History.txt' ) )[1] -@@ -34,7 +24,7 @@ - else - p.spec_extras[:extensions] = ["ext/extconf.rb"] - end -- p.rdoc_pattern = /^(lib|bin|ext)|txt$/ -+# p.rdoc_pattern = /^(lib|bin|ext)|txt$/ - p.changes = p.paragraphs_of('History.txt', 0).join("\n\n") - end - diff --git a/rubygem-oniguruma.spec b/rubygem-oniguruma.spec deleted file mode 100644 index 4119cfa..0000000 --- a/rubygem-oniguruma.spec +++ /dev/null @@ -1,120 +0,0 @@ -# Generated from oniguruma-1.1.0.gem by gem2rpm -*- rpm-spec -*- - -%global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']") - -%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) -%global gemname oniguruma -%global geminstdir %{gemdir}/gems/%{gemname}-%{version} - -Summary: Bindings for the oniguruma regular expression library -Name: rubygem-%{gemname} -Version: 1.1.0 -Release: 5%{?dist} -Group: Development/Languages -License: BSD -URL: http://oniguruma.rubyforge.org - -Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem -Patch0: %{gemname}.Rakefile.patch - -Requires: ruby(abi) = 1.8 -Requires: rubygems -BuildRequires: rubygems, ruby-devel, oniguruma-devel -BuildRequires: rubygem(rake), rubygem(hoe) -Provides: rubygem(%{gemname}) = %{version} - - -%package doc -Summary: Documentation for %{name} -Group: Documentation -BuildArch: noarch -Requires: %{name} = %{version}-%{release} - - -%description -Ruby bindings to the Oniguruma[http://www.geocities.jp/kosako3/oniguruma/] -regular expression library (no need to recompile Ruby). - -#-- - -%description doc -This package contains Rakefile, test directory and documentation for -%{name}. - - -%prep -%setup -q -c -T - -%build -mkdir -p .%{gemdir} -gem install -V --local --install-dir $(pwd)/%{gemdir} --rdoc %{SOURCE0} - -pushd ./%{geminstdir}/ext -make clean all install CFLAGS="%{optflags} -fPIC" - -# Apply the patch which is needed that the tests successfully complete -cd .. -patch -p0 < %{PATCH0} - - -%install -rm -rf %{buildroot} -mkdir -p %{buildroot}%{gemdir} -mkdir -p %{buildroot}%{ruby_sitearch} -# -cp -a .%{gemdir}/* %{buildroot}%{gemdir}/ -# -rm -rf %{buildroot}%{geminstdir}/ext -mv %{buildroot}%{geminstdir}/lib/oregexp.so %{buildroot}%{ruby_sitearch} - - -%clean -rm -rf %{buildroot} - -%check -export GEM_PATH=$(pwd)/%{gemdir} -pushd .%{geminstdir} -rake test - -%files -%defattr(-, root, root, -) -%dir %{geminstdir} -%doc %{geminstdir}/History.txt -%doc %{geminstdir}/Manifest.txt -%doc %{geminstdir}/README.txt -%doc %{geminstdir}/Syntax.txt -%{geminstdir}/lib -%{gemdir}/cache/%{gemname}-%{version}.gem -%{gemdir}/specifications/%{gemname}-%{version}.gemspec -%{ruby_sitearch}/oregexp.so - -%files doc -%defattr(-, root, root, -) -%{geminstdir}/Rakefile -%{geminstdir}/test -%{gemdir}/doc/%{gemname}-%{version} -%{geminstdir}/.require_paths - - -%changelog -* Sat Jan 14 2012 Fedora Release Engineering - 1.1.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Feb 09 2011 Fedora Release Engineering - 1.1.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Jul 06 2010 Gerd Pokorra - 1.1.0-3 -- add "-fPIC" option to CFLAGS - -* Wed Jun 23 2010 Gerd Pokorra - 1.1.0-2 -- add "-V" option to the "gem install" command - -* Mon Jun 07 2010 Gerd Pokorra - 1.1.0-1 -- add doc-subpackage -- move arch-dependent files to "ruby_sitearch" -- use "global" macro instead of "define" macro -- Added "BuildRequires: rubygem(hoe)" -- Added "BuildRequires: rubygem(rake)" -- Changed license tag -- Added "BuildRequires: oniguruma-devel" -- Initial package diff --git a/sources b/sources deleted file mode 100644 index 9303ad8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -6701693a45d4101a1996823675056213 oniguruma-1.1.0.gem