Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d6f9e72e5 | ||
|
|
22038e0d9e | ||
|
|
973c34f528 |
5 changed files with 58 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
xml-simple-1.0.12.gem
|
||||||
21
Makefile
21
Makefile
|
|
@ -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)
|
|
||||||
56
rubygem-xml-simple.spec
Normal file
56
rubygem-xml-simple.spec
Normal file
|
|
@ -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 <mfojtik@redhat.com> - 1.0.12-3
|
||||||
|
- Removed buildroot
|
||||||
|
- Fixed emails and changelog formatting
|
||||||
|
|
||||||
|
* Tue Apr 20 2010 Michal Fojtik <mfojtik@redhat.com> - 1.0.12-2
|
||||||
|
- Fixed permissions
|
||||||
|
- Fixed timestamps
|
||||||
|
|
||||||
|
* Tue Apr 20 2010 Michal Fojtik <mfojtik@redhat.com> - 1.0.12-1
|
||||||
|
- Initial package
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
bd526c32d7dd49ce329f2dbc6d3f47c9 xml-simple-1.0.12.gem
|
||||||
Loading…
Add table
Add a link
Reference in a new issue