rpms/rubygem-lockfile/F-13 rubygem-lockfile.spec, NONE, 1.1 sources, 1.1, 1.2

Shreyank Gupta shreyankg at fedoraproject.org
Tue Jun 8 09:55:13 UTC 2010


Author: shreyankg

Update of /cvs/pkgs/rpms/rubygem-lockfile/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1045

Modified Files:
	sources 
Added Files:
	rubygem-lockfile.spec 
Log Message:
* Tue Jun 08 2010 Shreyank Gupta <sgupta at redhat.com> - 1.4.3-3
- Using install -p instead of cp for installing license.txt



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

Summary: Ruby library for creating NFS safe lockfiles
Name: rubygem-%{gemname}
Version: 1.4.3
Release: 3%{?dist}
Group: Development/Languages
License: GPLv2 or Ruby
URL: http://codeforpeople.com/lib/ruby/lockfile/
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
Source1: http://codeforpeople.com/lib/license.txt

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

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

%description doc
Documentation for %{name}

%description
rlock creates NFS resistant lockfiles


%prep

%build

%install

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

mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gemdir}/bin
find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
chmod 755 %{buildroot}%{geminstdir}/samples/lock.sh
chmod 755 %{buildroot}%{geminstdir}/samples/a.rb
chmod 755 %{buildroot}%{geminstdir}/bin/*

# Remove unnecessary files
rm -f %{buildroot}/%{geminstdir}/install.rb
rm -f %{buildroot}/%{geminstdir}/gemspec.rb
rm -f %{buildroot}/%{geminstdir}/rlock


%files
%defattr(-, root, root, -)
%dir %{geminstdir}
%{_bindir}/rlock
%{_bindir}/rlock-1.4.3
%doc %{geminstdir}/README
%doc %{geminstdir}/license.txt
%{geminstdir}/lib
%{geminstdir}/bin
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec

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

%changelog
* Tue Jun 08 2010 Shreyank Gupta <sgupta at redhat.com> - 1.4.3-3
- Using install -p instead of cp for installing license.txt

* Mon Jun 07 2010 Shreyank Gupta <sgupta at redhat.com> - 1.4.3-2
- Changed license to GPLv2 from GPLv2+
- Added license.txt file to main package
- Left /bin in main package, update permissions.

* Tue Jun 02 2010 Shreyank Gupta <sgupta at redhat.com> - 1.4.3-1
- Initial package


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-lockfile/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	7 Jun 2010 21:23:52 -0000	1.1
+++ sources	8 Jun 2010 09:55:13 -0000	1.2
@@ -0,0 +1 @@
+53a63206bbaefb7106db5a74a5adf148  lockfile-1.4.3.gem



More information about the scm-commits mailing list