| Line | |
|---|
| 1 | %define version 0.9 |
|---|
| 2 | |
|---|
| 3 | Summary: Ruby Internet relay Chat Agents (based on RFC1459) |
|---|
| 4 | Name: ruby-rica |
|---|
| 5 | Version: %{version} |
|---|
| 6 | Release: 0vl1 |
|---|
| 7 | #License: Artistic |
|---|
| 8 | Copyright: Artistic |
|---|
| 9 | Group: Development/Libraries |
|---|
| 10 | Source0: http://www.koka-in.org/~zophos/lib/rica/rica-%{version}.tar.bz2 |
|---|
| 11 | URL: http://www.koka-in.org/~zophos/SideA/lsnt/rica.html |
|---|
| 12 | BuildArch: noarch |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 14 | Requires: ruby >= 1.6 |
|---|
| 15 | Prefix: /usr |
|---|
| 16 | %define rubylibdir %{_libdir}/ruby/1.6 |
|---|
| 17 | Vendor: Project Vine |
|---|
| 18 | Distribution: Vine Linux |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | Rica is RFC1459 matched irc clients class library for Ruby 1.6.x. |
|---|
| 22 | |
|---|
| 23 | %prep |
|---|
| 24 | rm -rf ${RPM_BUILD_DIR}/%{name}-%{version} |
|---|
| 25 | |
|---|
| 26 | %setup -q -n rica |
|---|
| 27 | mkdir samples |
|---|
| 28 | mv erica.rb samples |
|---|
| 29 | mv erica.txt samples |
|---|
| 30 | mv ricaco.rb samples |
|---|
| 31 | |
|---|
| 32 | %install |
|---|
| 33 | mkdir -p ${RPM_BUILD_ROOT}%{rubylibdir} |
|---|
| 34 | install -m 644 rica.rb ${RPM_BUILD_ROOT}%{rubylibdir} |
|---|
| 35 | install -m 644 logholder.rb ${RPM_BUILD_ROOT}%{rubylibdir} |
|---|
| 36 | install -m 644 ctcpresponder.rb ${RPM_BUILD_ROOT}%{rubylibdir} |
|---|
| 37 | |
|---|
| 38 | %clean |
|---|
| 39 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 40 | |
|---|
| 41 | %files |
|---|
| 42 | %defattr(-,root,root) |
|---|
| 43 | %doc CHANGES COPYING README classes_and_methods.txt event.lst |
|---|
| 44 | %doc rica-omt.png rica_classes.png samples |
|---|
| 45 | %{rubylibdir}/rica.rb |
|---|
| 46 | %{rubylibdir}/logholder.rb |
|---|
| 47 | %{rubylibdir}/ctcpresponder.rb |
|---|
| 48 | |
|---|
| 49 | %changelog |
|---|
| 50 | * Mon Oct 1 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp> |
|---|
| 51 | - 0.9-0vl1 |
|---|
| 52 | - first release for Vine Linux |
|---|
| 53 | |
|---|
| 54 | * Sat Sep 29 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp> |
|---|
| 55 | - 0.9-1 |
|---|
| 56 | - first release |
|---|
Note: See
TracBrowser
for help on using the repository browser.