root/ruby-REXML.spec

Revision 161:20eb047b0c0a, 1.7 kB (checked in by ser, 6 years ago)
Line 
1%define tarname rexml
2Summary: REXML is an XML processor for the language Ruby
3Name: ruby-REXML
4Version: 2.3.6
5Release: 1
6License: Dual-licensed GPL/Artistic-like
7Group: Applications/Ruby
8Source0: http://www.germane-software.com/software/archives/%{tarname}_%{version}.tgz
9Source1: http://www.germane-software.com/software/archives/rexml_api_%{version}.tbz2
10URL: http://www.germane-software.com/software/rexml/
11Packager: Ian Macdonald <ian@caliban.org>
12BuildRoot: /var/tmp/%{name}-%{version}
13BuildRequires: ruby
14Requires: ruby
15
16%description
17REXML is an XML processor for the language Ruby. REXML is conformant (passes
18100% of the Oasis non-validating tests), and includes full XPath support. It
19is reasonably fast, and is implemented in pure Ruby. Best of all, it has a
20clean, intuitive API.
21
22%package doc
23Group: Documentation
24Summary: documentation for Ruby REXML
25
26%description doc
27Documentation for Ruby REXML
28
29%prep
30%setup -n %{tarname} -a 1
31
32%install
33rm -rf $RPM_BUILD_ROOT
34ruby -i -pe "sub(/(Config::CONFIG\['sitedir'])/, '\"$RPM_BUILD_ROOT\" + \1')" \
35        bin/install.rb
36ruby bin/install.rb
37find $RPM_BUILD_ROOT%{_prefix} -type f -print | \
38        ruby -pe 'sub("^'$RPM_BUILD_ROOT'", "")' > %{name}-%{version}-filelist
39
40%files -f %{name}-%{version}-filelist
41%defattr(-,root,root)
42%doc *.html *.xml *.txt README
43%doc bin/repackage.rb
44%doc -P benchmarks/ contrib/ docs/ img/ test/
45
46%files doc
47%defattr(-,root,root)
48%doc rexml/doc/*
49
50%changelog
51* Sat Jun 08 2002 Sean Russell <ser@germane-software.com>
52- 2.3.5
53
54* Sun May 26 2002 Sean Russell <ser@germane-software.com>
55- 2.3.4
56
57* Sat May 11 2002 Ian Macdonald <ian@caliban.org>
58- 2.2.1
59
60* Sat Apr 27 2002 Ian Macdonald <ian@caliban.org>
61- 2.1.3
Note: See TracBrowser for help on using the browser.