]>
Commit | Line | Data |
---|---|---|
1b7cc4fb | 1 | %define ruby_rubylibdir %(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]') |
2 | %define ruby_archdir %(ruby -r rbconfig -e 'print Config::CONFIG["archdir"]') | |
3 | %define ruby_ridir %(ruby -r rbconfig -e 'include Config; print File.join(CONFIG["datadir"], "ri", CONFIG["ruby_version"], "system")') | |
4 | Summary: Ruby interface to Ncurses | |
ebc0dab0 | 5 | Summary(pl): Interfejs Ncurses dla Ruby |
1b7cc4fb | 6 | Name: ruby-Ncurses |
7 | %define tarname ncurses-ruby | |
8 | Version: 0.9.1 | |
f528ab7e | 9 | Release: 2 |
1b7cc4fb | 10 | License: Ruby-alike |
11 | Group: Development/Languages | |
12 | Source0: http://download.berlios.de/%{tarname}/%{tarname}-%{version}.tar.bz2 | |
13 | # Source0-md5: cb99721b492995bb3548b700b6e86fe2 | |
14 | URL: http://ncurses-ruby.berlios.de/ | |
15 | BuildRequires: ruby | |
16 | Requires: ruby | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | This ruby extension makes most functions, constants, and external variables of | |
ebc0dab0 | 21 | the C library ncurses accessible from the Ruby programming language. |
1b7cc4fb | 22 | |
23 | All C functions are wrapped by module functions of a the module "Ncurses", with | |
24 | exactly the same name. Additionally, C functions expecting a WINDOW* as their | |
25 | first argument can also be called as methods of the "Ncurses::WINDOW" class. | |
26 | ||
ebc0dab0 | 27 | %description -l pl |
28 |