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

Jeroen van Meeuwen kanarip at fedoraproject.org
Tue Dec 22 00:54:08 UTC 2009


Author: kanarip

Update of /cvs/pkgs/rpms/rubygem-columnize/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3420/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rubygem-columnize.spec 
Log Message:
0.3.1-3


--- NEW FILE import.log ---
rubygem-columnize-0_3_1-3_fc12:HEAD:rubygem-columnize-0.3.1-3.fc12.src.rpm:1261443208


--- NEW FILE rubygem-columnize.spec ---
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname columnize
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}

Summary:        Sorts an array in column order
Name:           rubygem-%{gemname}
Version:        0.3.1
Release:        3%{?dist}
Group:          Development/Languages
License:        GPLv2
URL:            http://rubyforge.org/projects/rocky-hacks/
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
BuildRequires:  rubygem(rake)
BuildArch:      noarch
Provides:       rubygem(%{gemname}) = %{version}

%description
Sorts an array in column order

%prep

%build

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

# Remove backup files
find %{buildroot}/%{geminstdir} -type f -name "*~" -delete

# Fix shebangs
find %{buildroot}/%{geminstdir} -type f -exec sed -r -e 's"^#!(.*)/usr/bin/env ruby"#!/usr/bin/ruby"' {} \;

# Fix anything executable that does not have a shebang
for file in `find %{buildroot}/%{geminstdir} -type f -perm /a+x`; do
    [ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file
done

# Find files with a shebang 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 \"^#!/\"`" ] && chmod -v 755 $file
done

# Find files that have non-standard-executable-perm
find %{buildroot}/%{geminstdir} -type f -perm /g+wx -exec chmod -v g-w {} \;

# Find files that are not readable
find %{buildroot}/%{geminstdir} -type f ! -perm /go+r -exec chmod -v go+r {} \;

# Remove these hidden files
rm -rf %{buildroot}/%{geminstdir}/.project
rm -rf %{buildroot}/%{geminstdir}/.loadpath

%check
pushd %{buildroot}/%{geminstdir}
rake test
popd

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%doc %{gemdir}/doc/%{gemname}-%{version}
%dir %{geminstdir}
%doc %{geminstdir}/AUTHORS
%doc %{geminstdir}/COPYING
%doc %{geminstdir}/ChangeLog
%doc %{geminstdir}/NEWS
%doc %{geminstdir}/README
%doc %{geminstdir}/Rakefile
%doc %{geminstdir}/VERSION
%{geminstdir}/lib/
%{geminstdir}/test/
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec


%changelog
* Mon Dec 14 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 0.3.1-3
- Enable %%check

* Wed Oct 21 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 0.3.1-2
- Fix license

* Wed Oct 14 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 0.3.1-1
- First package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-columnize/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Dec 2009 19:47:12 -0000	1.1
+++ .cvsignore	22 Dec 2009 00:54:08 -0000	1.2
@@ -0,0 +1 @@
+columnize-0.3.1.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-columnize/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Dec 2009 19:47:12 -0000	1.1
+++ sources	22 Dec 2009 00:54:08 -0000	1.2
@@ -0,0 +1 @@
+be4ceeabac3b467229427a786cbfea8d  columnize-0.3.1.gem




More information about the scm-commits mailing list