From 973c34f5282e98034e5c9a27db9420c3db04d65d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 30 Apr 2010 17:48:47 +0000 Subject: [PATCH 1/3] Initialize branch EL-5 for rubygem-xml-simple --- 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 22038e0d9e288b25ddf6dcfdf38b57a9efc8fcf2 Mon Sep 17 00:00:00 2001 From: Michal fojtik Date: Tue, 4 May 2010 10:32:56 +0000 Subject: [PATCH 2/3] Initial import --- .cvsignore | 1 + import.log | 1 + rubygem-xml-simple.spec | 56 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 59 insertions(+) create mode 100644 import.log create mode 100644 rubygem-xml-simple.spec diff --git a/.cvsignore b/.cvsignore index e69de29..3d485e9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xml-simple-1.0.12.gem diff --git a/import.log b/import.log new file mode 100644 index 0000000..1fc0ea0 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +rubygem-xml-simple-1_0_12-3_fc13:EL-5:rubygem-xml-simple-1.0.12-3.fc13.src.rpm:1272640174 diff --git a/rubygem-xml-simple.spec b/rubygem-xml-simple.spec new file mode 100644 index 0000000..50e78cd --- /dev/null +++ b/rubygem-xml-simple.spec @@ -0,0 +1,56 @@ +# 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 - 1.0.12-3 +- Removed buildroot +- Fixed emails and changelog formatting + +* Tue Apr 20 2010 Michal Fojtik - 1.0.12-2 +- Fixed permissions +- Fixed timestamps + +* Tue Apr 20 2010 Michal Fojtik - 1.0.12-1 +- Initial package diff --git a/sources b/sources index e69de29..f1606ff 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bd526c32d7dd49ce329f2dbc6d3f47c9 xml-simple-1.0.12.gem From 5d6f9e72e59249b69ab74796c7c9adb43c642a02 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 11:56:22 +0000 Subject: [PATCH 3/3] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log 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 8612e84..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: rubygem-xml-simple -# $Id$ -NAME := rubygem-xml-simple -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 diff --git a/import.log b/import.log deleted file mode 100644 index 1fc0ea0..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -rubygem-xml-simple-1_0_12-3_fc13:EL-5:rubygem-xml-simple-1.0.12-3.fc13.src.rpm:1272640174