Compare commits
3 commits
rawhide
...
rubygem-pa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d59df3440a | ||
|
|
8155b6ea78 | ||
|
|
3cfdbcaa06 |
5 changed files with 70 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
parseconfig-0.5.2.gem
|
||||
1
branch
Normal file
1
branch
Normal file
|
|
@ -0,0 +1 @@
|
|||
EL-6
|
||||
2
import.log
Normal file
2
import.log
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
rubygem-parseconfig-0_5_2-3_fc12:F-12:rubygem-parseconfig-0.5.2-3.fc12.src.rpm:1270744867
|
||||
rubygem-parseconfig-0_5_2-3_fc12:EL-6:rubygem-parseconfig-0.5.2-3.fc12.src.rpm:1278613681
|
||||
65
rubygem-parseconfig.spec
Normal file
65
rubygem-parseconfig.spec
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
||||
%global gemname parseconfig
|
||||
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
|
||||
|
||||
Summary: Ruby Configuration File Parser
|
||||
Name: rubygem-%{gemname}
|
||||
Version: 0.5.2
|
||||
Release: 3%{?dist}
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
URL: http://www.5dollarwhitebox.org
|
||||
Source0: http://rubygems.org/downloads/%{gemname}-%{version}.gem
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: rubygems, ruby(abi) >= 1.8
|
||||
BuildRequires: rubygems
|
||||
BuildArch: noarch
|
||||
Provides: rubygem(%{gemname}) = %{version}
|
||||
|
||||
%description
|
||||
ParseConfig is a Ruby class written to parse standard *nix style configuration
|
||||
files in the format of 'param = value'. The key benefit is that your ruby
|
||||
scripts can use the same configuration files of most unix/linux
|
||||
applications.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
# pass, nothing to do
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{gemdir}
|
||||
gem install --local --install-dir %{buildroot}%{gemdir} --force %{SOURCE0}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{gemdir}/cache/%{gemname}-%{version}.gem
|
||||
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
||||
%dir %{geminstdir}
|
||||
%dir %{geminstdir}/lib/
|
||||
%{geminstdir}/lib/parseconfig.rb
|
||||
%doc %{gemdir}/doc/%{gemname}-%{version}/
|
||||
%doc %{geminstdir}/Changelog
|
||||
%doc %{geminstdir}/LICENSE
|
||||
%doc %{geminstdir}/README
|
||||
%doc %{geminstdir}/demo.conf
|
||||
%doc %{geminstdir}/demo.rb
|
||||
|
||||
%changelog
|
||||
* Mon Apr 05 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.5.2-3
|
||||
- Removed comment from Source0, URL no longer changes
|
||||
- Resolved duplicate file listing
|
||||
|
||||
* Mon Apr 05 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.5.2-2
|
||||
- Added geminstdir to file list
|
||||
- Requires: ruby(abi) >= 1.8
|
||||
- Removed check
|
||||
- Updated for current rubygems download url
|
||||
- Removed unused macros ruby_sitelib, installroot
|
||||
|
||||
* Sat Feb 27 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.5.2-1
|
||||
- Initial spec, borrowed from rubygem-cobbler
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
12907f53149caceaa64f17689eb21840 parseconfig-0.5.2.gem
|
||||
Loading…
Add table
Add a link
Reference in a new issue