source: projects/specs/trunk/r/rss-ruby/rss-ruby-vl.spec @ 521

Revision 521, 1.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1#%%define rlibdir ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]'
2
3Summary: RSS(RDF Site Summary) library for Ruby
4Name: rss-ruby
5Version: 0.9.1
6Release: 0vl2
7License: Ruby's
8Group: Development/Libraries
9Source0: http://www.chadfowler.com/ruby/rss/rss-ruby-%{version}.tar.gz
10URL: http://www.chadfowler.com/ruby/rss/
11BuildArch: noarch
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13Requires: ruby-xmlparser, drb >= 1.2.2, ruby >= 1.6.2, ruby-uconv
14BuildRequires: ruby, rpm >=  3.0.6-0vl16
15Prefix: /usr
16Patch0: http://everybody.good-day.net/~iwai/patch/rss-ruby-0.9.1_description.patch
17Patch1: http://everybody.good-day.net/~iwai/patch/rss-ruby-0.9.1_silent.patch
18
19%description
20This library provides and object oriented interface for the RSS
21(http://http://my.netscape.com/publish/help/mnn20/quickstart.html) xml format.
22It currently supports RSS 0.91.  Aside from RSS parsing and creation code,
23classes are provided for downloading and caching existing RSS content via HTTP
24and (very basically) providing a distributed Ruby interface to this content.
25
26%prep
27rm -rf ${RPM_BUILD_DIR}/%{name}-%{version}
28
29%setup -q
30%patch0 -p1 -b .description
31%patch1 -p1 -b .silent
32
33%install
34mkdir -p ${RPM_BUILD_ROOT}%{rlibdir}
35install -m 644 *.rb ${RPM_BUILD_ROOT}%{rlibdir}
36
37%clean
38rm -rf ${RPM_BUILD_ROOT}
39
40%files
41%defattr(-,root,root)
42%doc README ChangeLog samples
43%{rlibdir}/*.rb
44
45%changelog
46* Wed Feb  6 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.9.1-0vl2
47- moved the directory installed the ruby library
48    - sitelibdir -> rubylibdir
49- changed  rpm version in BuildRequires: 3.0.6-0vl19 -> rpm-3.0.6-0vl16
50
51* Thu Jan  3 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.9.1-0vl1
52- first release for Vine Linux
53- added description.patch (Patch0)
54- added silent.patch (Patch1)
55
Note: See TracBrowser for help on using the repository browser.