]> git.pld-linux.org Git - packages/ruby-ncurses.git/blame - ruby-ncurses.spec
- rel 2
[packages/ruby-ncurses.git] / ruby-ncurses.spec
CommitLineData
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")')
4Summary: Ruby interface to Ncurses
ebc0dab0 5Summary(pl): Interfejs Ncurses dla Ruby
1b7cc4fb 6Name: ruby-Ncurses
7%define tarname ncurses-ruby
8Version: 0.9.1
f528ab7e 9Release: 2
1b7cc4fb 10License: Ruby-alike
11Group: Development/Languages
12Source0: http://download.berlios.de/%{tarname}/%{tarname}-%{version}.tar.bz2
13# Source0-md5: cb99721b492995bb3548b700b6e86fe2
14URL: http://ncurses-ruby.berlios.de/
15BuildRequires: ruby
16Requires: ruby
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20This ruby extension makes most functions, constants, and external variables of
ebc0dab0 21the C library ncurses accessible from the Ruby programming language.
1b7cc4fb 22
23All C functions are wrapped by module functions of a the module "Ncurses", with
24exactly the same name. Additionally, C functions expecting a WINDOW* as their
25first argument can also be called as methods of the "Ncurses::WINDOW" class.
26
ebc0dab0 27%description -l pl
28