rpms/rubygem-activesupport/F-8 rubygem-activesupport.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

David Lutterkort (lutter) fedora-extras-commits at redhat.com
Thu Nov 29 23:08:16 UTC 2007


Author: lutter

Update of /cvs/pkgs/rpms/rubygem-activesupport/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10590/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	rubygem-activesupport.spec 
Log Message:
New package



--- NEW FILE rubygem-activesupport.spec ---
# Generated from activesupport-1.4.4.gem by gem2rpm -*- rpm-spec -*-
%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%define gemname activesupport
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}

Summary: Support and utility classes used by the Rails framework
Name: rubygem-%{gemname}

Version: 1.4.4
Release: 3%{?dist}
Group: Development/Languages
License: MIT
URL: http://www.rubyonrails.org
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: rubygems
BuildRequires: rubygems
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%description 
Utility library which carries commonly used classes and
goodies from the Rails framework

%prep

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
            --force --rdoc %{SOURCE0}

# Documentation in the standard places
install -d -m0755 %{buildroot}%{_docdir}/%{name}-%{version}
for f in README CHANGELOG ; do
  install -p -m0644 %{buildroot}%{geminstdir}/$f %{buildroot}%{_docdir}/%{name}-%{version}
done

# Remove bad shebangs
for f in %{buildroot}%{geminstdir}/lib/active_support/multibyte/generators/generate_tables.rb \
         %{buildroot}%{geminstdir}/lib/active_support/vendor/builder.rb \
         %{buildroot}%{geminstdir}/lib/active_support/vendor/builder/* ; do
  sed -i -e '1s/^\#!.*$//' $f
done

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%{gemdir}/gems/%{gemname}-%{version}/
%doc %{gemdir}/doc/%{gemname}-%{version}
%doc %{_docdir}/%{name}-%{version}/README
%doc %{_docdir}/%{name}-%{version}/CHANGELOG
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec


%changelog
* Wed Nov 28 2007 David Lutterkort <dlutter at redhat.com> - 1.4.4-3
- Fix buildroot

* Tue Nov 14 2007 David Lutterkort <dlutter at redhat.com> - 1.4.4-2
- Install README and CHANGELOG in _docdir

* Tue Oct 30 2007 David Lutterkort <dlutter at redhat.com> - 1.4.4-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-activesupport/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	29 Nov 2007 20:01:15 -0000	1.1
+++ .cvsignore	29 Nov 2007 23:07:42 -0000	1.2
@@ -0,0 +1 @@
+activesupport-1.4.4.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-activesupport/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Nov 2007 20:01:15 -0000	1.1
+++ sources	29 Nov 2007 23:07:42 -0000	1.2
@@ -0,0 +1 @@
+8637bfe846c4b0171ebbd7f5a56efb19  activesupport-1.4.4.gem




More information about the fedora-extras-commits mailing list