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

Michal fojtik mfojtik at fedoraproject.org
Mon Feb 22 09:06:46 UTC 2010


Author: mfojtik

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

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rubygem-rest-client.spec 
Log Message:
* Mon Feb 22 2010 Michal Fojtik <mfojtik at redhat.com> - 1.3.1-5
- Initial import




--- NEW FILE import.log ---
rubygem-rest-client-1_3_1-5_fc12:F-11:rubygem-rest-client-1.3.1-5.fc12.src.rpm:1266833020


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

Summary: Simple REST client for Ruby
Name: rubygem-%{gemname}
Version: 1.3.1
Release: 5%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/archiloque/rest-client
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.8
Requires: rubygems
Requires: rubygem(mime-types) >= 1.16
BuildRequires: rubygems
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%description
A simple Simple HTTP and REST client for Ruby, inspired by the Sinatra
microframework style of specifying actions: get, put, post, delete.


%prep

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
            --force --rdoc %{SOURCE0}
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gemdir}/bin
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%{_bindir}/restclient
%dir %{geminstdir}
%{geminstdir}/bin
%{geminstdir}/lib
%doc %{geminstdir}/README.rdoc
%doc %{geminstdir}/Rakefile
%doc %{geminstdir}/history.md
%doc %{geminstdir}/VERSION
%doc %{geminstdir}/spec
%doc %{gemdir}/doc/%{gemname}-%{version}
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec


%changelog
* Mon Feb 17 2010 Michal Fojtik <mfojtik at redhat.com> - 1.3.1-5
- Added %dir %{geminstdir} into spec file

* Mon Feb 17 2010 Michal Fojtik <mfojtik at redhat.com> - 1.3.1-4
- Marked README.rdoc, history.md and spec/ as %doc

* Mon Feb 16 2010 Michal Fojtik <mfojtik at redhat.com> - 1.3.1-3
- Fixed licence (MIT)
- Fixed duplicated files in spec
- Replaced %define with %global

* Mon Feb 16 2010 Michal Fojtik <mfojtik at redhat.com> - 1.3.1-2
- Fixed spec filename
- Added Ruby dependency

* Mon Feb 16 2010 Michal Fojtik <mfojtik at redhat.com> - 1.3.1-1
- Initial package




Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-rest-client/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	19 Feb 2010 20:10:47 -0000	1.1
+++ .cvsignore	22 Feb 2010 09:06:45 -0000	1.2
@@ -0,0 +1 @@
+rest-client-1.3.1.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-rest-client/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	19 Feb 2010 20:10:48 -0000	1.1
+++ sources	22 Feb 2010 09:06:45 -0000	1.2
@@ -0,0 +1 @@
+072fd8b00406e6defaea3502f768fc85  rest-client-1.3.1.gem



More information about the scm-commits mailing list