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