rpms/rubygem-fattr/F-11 import.log, NONE, 1.1 license.txt, NONE, 1.1 rubygem-fattr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jeroen van Meeuwen kanarip at fedoraproject.org
Thu Aug 20 11:07:10 UTC 2009


Author: kanarip

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

Modified Files:
	.cvsignore sources 
Added Files:
	import.log license.txt rubygem-fattr.spec 
Log Message:
1.0.3-3


--- NEW FILE import.log ---
rubygem-fattr-1_0_3-3_fc11:F-11:rubygem-fattr-1.0.3-3.fc11.src.rpm:1250766409


--- NEW FILE license.txt ---
for all code found under http://codeforpeople.com/lib/ or at http://rubyforge.org/projects/codeforpeople.com/

same as Ruby's

  http://www.ruby-lang.org/en/LICENSE.txt

unless otherwise noted


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

Name:           rubygem-%{gemname}
Summary:        Fatter attribute for Ruby
Version:        1.0.3
Release:        3%{?dist}
Group:          Development/Languages
License:        GPLv2 or Ruby
URL:            http://rubyforge.org/projects/codeforpeople/
Source0:        http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
Source1:        http://codeforpeople.com/lib/license.txt

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       rubygems
Requires:       ruby(abi) = 1.8
BuildRequires:  rubygems
BuildArch:      noarch
Provides:       rubygem(%{gemname}) = %{version}

%description
The fattr gem is a Fatter attribute for Ruby

%prep

%build

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

install -p -m 644 %{SOURCE1} %{buildroot}%{geminstdir}/

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

# Delete zero-length files
find %{buildroot}/%{geminstdir} -type f -size 0c -exec rm -rvf {} \;

# 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 {} \;

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%dir %{geminstdir}
%doc %{gemdir}/doc/%{gemname}-%{version}
%doc %{geminstdir}/license.txt
%doc %{geminstdir}/README
%doc %{geminstdir}/README.tmpl
%doc %{geminstdir}/samples
%dir %{geminstdir}/
%{geminstdir}/lib
%{geminstdir}/*.rb
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec

%changelog
* Thu Aug 13 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 1.0.3-3
- Really fix license
- Include license

* Wed Aug 05 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 1.0.3-2
- Fix license (Ruby)
- Fix URL

* Tue Jul 28 2009 Jeroen van Meeuwen <j.van.meeuwen at ogd.nl> - 1.0.3-1
- First build of this package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-fattr/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	14 Aug 2009 16:17:59 -0000	1.1
+++ .cvsignore	20 Aug 2009 11:07:09 -0000	1.2
@@ -0,0 +1 @@
+fattr-1.0.3.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-fattr/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	14 Aug 2009 16:17:59 -0000	1.1
+++ sources	20 Aug 2009 11:07:09 -0000	1.2
@@ -0,0 +1 @@
+681345f63e8f0159159f3f8228385158  fattr-1.0.3.gem




More information about the fedora-extras-commits mailing list