]> git.pld-linux.org Git - packages/perl-Term-ReadLine-Gnu.git/blob - perl-Term-ReadLine-Gnu.spec
- translations, cleaning
[packages/perl-Term-ReadLine-Gnu.git] / perl-Term-ReadLine-Gnu.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Term
3 %define         pnam    ReadLine-Gnu
4 Summary:        Term::ReadLine::Gnu Perl module
5 Summary(cs):    Modul Term::ReadLine::Gnu pro Perl
6 Summary(da):    Perlmodul Term::ReadLine::Gnu
7 Summary(de):    Term::ReadLine::Gnu Perl Modul
8 Summary(es):    Módulo de Perl Term::ReadLine::Gnu
9 Summary(fr):    Module Perl Term::ReadLine::Gnu
10 Summary(it):    Modulo di Perl Term::ReadLine::Gnu
11 Summary(ja):    Term::ReadLine::Gnu Perl ¥â¥¸¥å¡¼¥ë
12 Summary(ko):    Term::ReadLine::Gnu ÆÞ ¸ðÁÙ
13 Summary(no):    Perlmodul Term::ReadLine::Gnu
14 Summary(pl):    Modu³ perla Term::ReadLine::Gnu
15 Summary(pt_BR): Módulo Perl Term::ReadLine::Gnu
16 Summary(pt):    Módulo de Perl Term::ReadLine::Gnu
17 Summary(ru):    íÏÄÕÌØ ÄÌÑ Perl Term::ReadLine::Gnu
18 Summary(sv):    Term::ReadLine::Gnu Perlmodul
19 Summary(uk):    íÏÄÕÌØ ÄÌÑ Perl Term::ReadLine::Gnu
20 Summary(zh_CN): Term::ReadLine::Gnu Perl Ä£¿é
21 Name:           perl-Term-ReadLine-Gnu
22 Version:        1.12
23 Release:        5
24 License:        distributable
25 Group:          Development/Languages/Perl
26 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
27 Patch0:         %{name}-paths.patch
28 BuildRequires:  ncurses-devel >= 5.2
29 BuildRequires:  perl >= 5.6.1
30 BuildRequires:  readline-devel >= 4.2
31 BuildRequires:  rpm-perlprov >= 3.0.3-18
32 Provides:       perl(Term::ReadLine::Gnu::XS)
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Obsoletes:      perl-Term-Readline-Gnu
35
36 %description
37 Perl Term::ReadLine::Gnu module.
38
39 This is an implementation of the interface to the GNU Readline
40 Library. This module gives you input line editing facility, input
41 history management facility, word completion facility, etc. It uses
42 the real GNU Readline Library. And this module has the interface with
43 the almost all variables and functions which are documented in the GNU
44 Readline/History Library. So you can program your custom editing
45 function, your custom completion function, and so on with Perl. This
46 may be useful for prototyping before programming with C.
47
48 %description -l pl
49 Modu³ Perla Term::ReadLine::Gnu. Jest on implementacj± interfejsu do
50 biblioteki GNU Readline. Udostêpnia liniê wprowadzania tekstu z
51 mo¿liwo¶ci± edycji, zarz±dzania histori±, automatycznym dope³nianiem
52 itp. U¿ywa biblioteki GNU Readline, ma interfejs do prawie wszystkich
53 zmiennych i funkcji bibliotek Readline i History - mo¿na wiêc
54 oprogramowaæ w³asne funkcje edycji, dope³niania itp.
55
56 %prep
57 %setup -q -n %{pdir}-%{pnam}-%{version}
58 %patch0 -p1
59
60 %build
61 perl Makefile.PL
62 %{__make} OPTIMIZE="%{rpmcflags} -DPERL_POLLUTE"
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
67
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
69
70 rm -f eg/*.orig
71 install eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc README
79 %dir %{perl_sitearch}/Term/ReadLine
80 %{perl_sitearch}/Term/ReadLine/Gnu*
81 %dir %{perl_sitearch}/auto/Term/ReadLine
82 %dir %{perl_sitearch}/auto/Term/ReadLine/Gnu
83 %attr(755,root,root) %{perl_sitearch}/auto/Term/ReadLine/Gnu/*.so
84 %{perl_sitearch}/auto/Term/ReadLine/Gnu/*.bs
85 %{perl_sitearch}/auto/Term/ReadLine/Gnu/XS
86 %{_mandir}/man3/*
87 %dir %{_examplesdir}/%{name}-%{version}
88 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}
This page took 0.048117 seconds and 3 git commands to generate.