rpms/rubygem-restr/EL-5 import.log, NONE, 1.1 rubygem-restr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jeroen van Meeuwen
kanarip at fedoraproject.org
Sun Jan 18 11:51:15 UTC 2009
- Previous message: rpms/rubygem-restr/F-9 import.log, NONE, 1.1 rubygem-restr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/snmp++/devel snmp++.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kanarip
Update of /cvs/pkgs/rpms/rubygem-restr/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9012/EL-5
Modified Files:
.cvsignore sources
Added Files:
import.log rubygem-restr.spec
Log Message:
0.4.0-1
--- NEW FILE import.log ---
rubygem-restr-0_4_0-1_fc10:EL-5:rubygem-restr-0.4.0-1.fc10.src.rpm:1232279422
--- NEW FILE rubygem-restr.spec ---
%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%define gemname restr
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
Summary: Simple client for RESTful web services
Name: rubygem-%{gemname}
Version: 0.4.0
Release: 1%{?dist}
Group: Development/Languages
License: LGPLv3
URL: http://rubyforge.org/projects/restr/
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
BuildRequires: rubygems
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
%description
Restr is a simple client for RESTful web services, designed
as a lightweight alternative to ActiveResource
%prep
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
--force --rdoc %{SOURCE0}
# Find files with a shebang that do not have executable permissions
for script in `find %{buildroot}/%{geminstdir} -type f ! -perm /a+x`; do
[ ! -z "`head -n 1 $script | grep \"^#!/\"`" ] && chmod -v 755 $script
done
# Find sero-length files and remove them
find %{buildroot}/%{geminstdir} -type f -size 0c -exec rm -rvf {} \;
# Remove these hidden files
rm -rf %{buildroot}/%{geminstdir}/.project
rm -rf %{buildroot}/%{geminstdir}/.loadpath
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%{gemdir}/gems/%{gemname}-%{version}/
%doc %{gemdir}/doc/%{gemname}-%{version}
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%changelog
* Tue Dec 16 2008 Jeroen van Meeuwen <kanarip at fedoraproject.org> - 0.4.0-1
- Package for review
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-restr/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 15 Jan 2009 20:47:03 -0000 1.1
+++ .cvsignore 18 Jan 2009 11:50:45 -0000 1.2
@@ -0,0 +1 @@
+restr-0.4.0.gem
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-restr/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 15 Jan 2009 20:47:03 -0000 1.1
+++ sources 18 Jan 2009 11:50:45 -0000 1.2
@@ -0,0 +1 @@
+07700195eb62bf60adcce5631c440864 restr-0.4.0.gem
- Previous message: rpms/rubygem-restr/F-9 import.log, NONE, 1.1 rubygem-restr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/snmp++/devel snmp++.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list