rpms/rubygem-thor/F-11 import.log, NONE, 1.1 rubygem-thor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthew Kent mkent at fedoraproject.org
Thu Dec 31 00:41:05 UTC 2009


Author: mkent

Update of /cvs/pkgs/rpms/rubygem-thor/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11278/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rubygem-thor.spec 
Log Message:
- Initial CVS import



--- NEW FILE import.log ---
rubygem-thor-0_12_0-2_fc13:F-11:rubygem-thor-0.12.0-2.fc13.src.rpm:1262220000


--- NEW FILE rubygem-thor.spec ---
# Generated from thor-0.12.0.gem by gem2rpm -*- rpm-spec -*-
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname thor
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}

%global rubyabi 1.8

Summary: Scripting framework that replaces rake, sake and rubigen
Name: rubygem-%{gemname}
Version: 0.12.0
Release: 2%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/wycats/thor
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(rubygems)
Requires: ruby(abi) = %{rubyabi}
Requires: rubygem(ruby2ruby)
Requires: rubygem(ParseTree)
Requires: rubygem(rake)
Requires: rubygem(diff-lcs)
BuildRequires: ruby(rubygems)
BuildRequires: ruby(abi) = %{rubyabi}
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%description
Thor is a scripting framework that replaces rake, sake and rubigen.

%package doc
Summary: Documentation for %{name}
Group: Documentation

Requires: %{name} = %{version}-%{release}

%description doc
This package contains documentation for %{name}.

%prep
%setup -q -c -T

%build
mkdir -p .%{gemdir}
gem install -V \
  --local \
  --install-dir $(pwd)/%{gemdir} \
  --force --rdoc \
  %{SOURCE0}

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
cp -a .%{gemdir}/* %{buildroot}%{gemdir}/

mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gemdir}/bin
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x

find %{buildroot}%{geminstdir}/bin -type f | \
  xargs -n 1 sed -i -e 's"^#!/usr/bin/env ruby"#!/usr/bin/ruby"'

%clean
rm -rf %{buildroot}

# TODO: Specs are shipped in the gem but broken in 0.12.0, attempt to run in
#       next release. Requires older Rake::RDocTask.new in Thorfile and 
#       is missing some files. Requested resolution in 
#       http://github.com/wycats/thor/issues#issue/9

%files
%defattr(-,root,root,-)
%{_bindir}/thor
%{_bindir}/rake2thor
%doc %{geminstdir}/CHANGELOG.rdoc
%doc %{geminstdir}/LICENSE
%doc %{geminstdir}/README.rdoc
%dir %{geminstdir}
%{geminstdir}/bin
%{geminstdir}/lib
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec

%files doc
%defattr(-,root,root,-)
%{geminstdir}/Thorfile
%{geminstdir}/spec
%{gemdir}/doc/%{gemname}-%{version}

%changelog
* Fri Dec 18 2009 Matthew Kent <mkent at magoazul.com> - 0.12.0-2
- Add Requires for rubygem(rake) (#542559).
- Upstream replaced Source after the gemcutter migration, update to latest
  (#542559).
- Add Requires for rubygem(diff-lcs) as Thor can take advantage of it for
  colourized diff output (#542559).

* Mon Nov 16 2009 Matthew Kent <mkent at magoazul.com> - 0.12.0-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-thor/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	23 Dec 2009 19:46:35 -0000	1.1
+++ .cvsignore	31 Dec 2009 00:41:05 -0000	1.2
@@ -0,0 +1 @@
+thor-0.12.0.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-thor/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	23 Dec 2009 19:46:35 -0000	1.1
+++ sources	31 Dec 2009 00:41:05 -0000	1.2
@@ -0,0 +1 @@
+5fa79d6ca562a39c72c89f5447a3fbd5  thor-0.12.0.gem




More information about the fedora-extras-commits mailing list