rpms/rubygem-xml-simple/devel rubygem-xml-simple.spec,NONE,1.1

Michal fojtik mfojtik at fedoraproject.org
Tue May 4 10:15:21 UTC 2010


Author: mfojtik

Update of /cvs/pkgs/rpms/rubygem-xml-simple/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28746

Added Files:
	rubygem-xml-simple.spec 
Log Message:
Initial import


--- NEW FILE rubygem-xml-simple.spec ---
# Generated from xml-simple-1.0.12.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 xml-simple
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}

Summary: A simple API for XML processing
Name: rubygem-%{gemname}
Version: 1.0.12
Release: 3%{?dist}
Group: Development/Languages
License: GPLv2+ or Ruby
URL: http://xml-simple.rubyforge.org
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
Requires: rubygems
Requires: ruby(abi) = 1.8
BuildRequires: rubygems
BuildRequires: ruby
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

%description
A simple API for XML processing.

%prep

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
            --force --rdoc %{SOURCE0}
chmod -x %{buildroot}/%{geminstdir}/lib/xmlsimple.rb

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%{geminstdir}
%doc %{gemdir}/doc/%{gemname}-%{version}
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec

%changelog
* Tue Apr 30 2010 Michal Fojtik <mfojtik at redhat.com> - 1.0.12-3
- Removed buildroot
- Fixed emails and changelog formatting

* Tue Apr 20 2010 Michal Fojtik <mfojtik at redhat.com> - 1.0.12-2
- Fixed permissions
- Fixed timestamps

* Tue Apr 20 2010 Michal Fojtik <mfojtik at redhat.com> - 1.0.12-1
- Initial package



More information about the scm-commits mailing list