From 074e28b141dfd0fbacda02a2d1700170a253ab06 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 8 Apr 2010 02:50:13 +0000 Subject: [PATCH 1/3] Initialize branch EL-5 for rubygem-parseconfig --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 84fcc7de2132d2208e8d724fa1c2dfb4865511cd Mon Sep 17 00:00:00 2001 From: derks Date: Thu, 8 Apr 2010 16:43:18 +0000 Subject: [PATCH 2/3] Initial Import. --- .cvsignore | 1 + rubygem-parseconfig.spec | 65 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+) create mode 100644 rubygem-parseconfig.spec diff --git a/.cvsignore b/.cvsignore index e69de29..cbf30c6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +parseconfig-0.5.2.gem diff --git a/rubygem-parseconfig.spec b/rubygem-parseconfig.spec new file mode 100644 index 0000000..a32227f --- /dev/null +++ b/rubygem-parseconfig.spec @@ -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 - 0.5.2-3 +- Removed comment from Source0, URL no longer changes +- Resolved duplicate file listing + +* Mon Apr 05 2010 BJ Dierkes - 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 - 0.5.2-1 +- Initial spec, borrowed from rubygem-cobbler diff --git a/sources b/sources index e69de29..ff6e8fb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +12907f53149caceaa64f17689eb21840 parseconfig-0.5.2.gem From 51ceb38353eda8700b0c85d1a681d9bab4a760e1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 11:53:21 +0000 Subject: [PATCH 3/3] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 9940ad9..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: rubygem-parseconfig -# $Id$ -NAME := rubygem-parseconfig -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5