rpms/rubygem-rmail/devel import.log, NONE, 1.1 rubygem-rmail.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Shreyank Gupta shreyankg at fedoraproject.org
Fri Jun 4 09:57:12 UTC 2010


Author: shreyankg

Update of /cvs/pkgs/rpms/rubygem-rmail/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28584/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rubygem-rmail.spec 
Log Message:
Initial commit.



--- NEW FILE import.log ---
rubygem-rmail-1_0_0-3_fc13:HEAD:rubygem-rmail-1.0.0-3.fc13.src.rpm:1275645327


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

Summary: A MIME mail parsing and generation library
Name: rubygem-%{gemname}
Version: 1.0.0
Release: 3%{?dist}
Group: Development/Languages
License: BSD
URL: http://rubyforge.org/projects/rubymail
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem

Requires: ruby(abi) = 1.8
Requires: rubygems
BuildRequires: ruby
BuildRequires: rubygems
BuildRequires: rubygem(rake)
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}


%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires:%{name} = %{version}-%{release}

%description doc
Documentation for %{name}

%description
RMail is a lightweight mail library containing various utility classes and
modules that allow ruby scripts to parse, modify, and generate MIME mail
messages.


%prep

%build

%install

mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
            --force --rdoc %{SOURCE0}
            
# Remove shebang from files that do not have executable permissions
for file in `find %{buildroot}/%{geminstdir} -type f ! -perm /a+x -name "*.rb"`; do
    [ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && sed -i -e '/^#!\//, 1d' $file
done

# Remove install file
rm -f %{buildroot}/%{geminstdir}/install.rb

%check
pushd %{buildroot}%{geminstdir}
rake test --trace
popd

%files
%defattr(-, root, root, -)
%dir %{geminstdir}
%{geminstdir}/lib
%{geminstdir}/version
%doc %{geminstdir}/README
%doc %{geminstdir}/NEWS
%doc %{geminstdir}/THANKS
%doc %{geminstdir}/NOTES
%doc %{geminstdir}/TODO
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec

%files doc
%defattr(-, root, root, -)
%{gemdir}/doc/%{gemname}-%{version}
%{geminstdir}/test
%{geminstdir}/guide
%{geminstdir}/Rakefile

%changelog
* Wed Jun 2 2010 Shreyank Gupta <sgupta at redhat.com> - 1.0.0-3
- Removed Requires:ruby(rubygems) from -docs subpackage
- Moved NEWS, THANKS, NOTES and TODO to main package
- dir ownership of geminstdir by main package
- gemdir/doc not owned by docs subpackage

* Tue Jun 1 2010 Shreyank Gupta <sgupta at redhat.com> - 1.0.0-2
- Removed ruby_sitelib macro
- Requires ruby(abi) and BuildRequires ruby and rake
- Added Subpackage -doc
- Remove isntall.rb
- Keeping zero-length file data.17 for rake test
- rake test added

* Mon May 31 2010 Shreyank Gupta <sgupta at redhat.com> - 1.0.0-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-rmail/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Jun 2010 20:38:41 -0000	1.1
+++ .cvsignore	4 Jun 2010 09:57:12 -0000	1.2
@@ -0,0 +1 @@
+rmail-1.0.0.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-rmail/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Jun 2010 20:38:41 -0000	1.1
+++ sources	4 Jun 2010 09:57:12 -0000	1.2
@@ -0,0 +1 @@
+c94a6595a71aec61da5723699caea38c  rmail-1.0.0.gem



More information about the scm-commits mailing list