]> git.pld-linux.org Git - packages/perl-Term-ReadLine-Gnu.git/blame - perl-Term-ReadLine-Gnu.spec
- updated to 1.35
[packages/perl-Term-ReadLine-Gnu.git] / perl-Term-ReadLine-Gnu.spec
CommitLineData
0d3ad900 1#
2# Conditional build:
1c10f237 3%bcond_with tests # perform "make test" (require a working X connection)
0d3ad900 4#
4e623bfb 5%include /usr/lib/rpm/macros.perl
d314aeb2 6%define pdir Term
7%define pnam ReadLine-Gnu
3006d682
JB
8Summary: Term::ReadLine::Gnu - Perl interface for the GNU Readline/History library
9Summary(pl.UTF-8): Term::ReadLine::Gnu - perlowy interfejs do biblioteki GNU Readline/History
43694a7f 10Name: perl-Term-ReadLine-Gnu
fc120e1e
MK
11Version: 1.35
12Release: 1
772b11c3 13# same as perl
14License: GPL v1+ or Artistic
43694a7f 15Group: Development/Languages/Perl
33136c64 16Source0: http://www.cpan.org/modules/by-module/Term/HAYASHI/%{pdir}-%{pnam}-%{version}.tar.gz
fc120e1e 17# Source0-md5: 514619d68bda1618da61b19d04b5cefe
3006d682 18URL: http://search.cpan.org/dist/Term-ReadLine-Gnu/
7fd756d0 19BuildRequires: ncurses-devel >= 5.2
49bfff56 20BuildRequires: perl-devel >= 1:5.8.0
7fd756d0 21BuildRequires: readline-devel >= 4.2
e7ec2b2d 22BuildRequires: rpm-perlprov >= 4.1-13
7586bb8a 23Provides: perl(Term::ReadLine::Gnu::XS)
4f8ade09 24Obsoletes: perl-Term-Readline-Gnu
1c10f237 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43694a7f
AF
26
27%description
3006d682
JB
28Term::ReadLine::Gnu Perl module is an implementation of the interface
29to the GNU Readline Library. This module gives you input line editing
30facility, input history management facility, word completion facility,
31etc. It uses the real GNU Readline Library. And this module has the
32interface with the almost all variables and functions which are
33documented in the GNU Readline/History Library. So you can program
34your custom editing function, your custom completion function, and so
35on with Perl. This may be useful for prototyping before programming
36with C.
ac1041ac 37
727d2cb1 38%description -l pl.UTF-8
3006d682 39Moduł Perla Term::ReadLine::Gnu jest implementacją interfejsu do
727d2cb1
JR
40biblioteki GNU Readline. Udostępnia linię wprowadzania tekstu z
41możliwością edycji, zarządzania historią, automatycznym dopełnianiem
42itp. Używa biblioteki GNU Readline, ma interfejs do prawie wszystkich
43zmiennych i funkcji bibliotek Readline i History - można więc
44oprogramować własne funkcje edycji, dopełniania itp.
43694a7f
AF
45
46%prep
c80ffb16 47%setup -q -n %{pdir}-%{pnam}-%{version}
43694a7f
AF
48
49%build
e7ec2b2d 50%{__perl} Makefile.PL \
67215c0c 51 INSTALLDIRS=vendor
772b11c3 52%{__make} \
ece509ae 53 CC="%{__cc}" \
772b11c3 54 OPTIMIZE="%{rpmcflags} -DPERL_POLLUTE"
43694a7f 55
1c10f237 56%{?with_tests:%{__make} test}
0d3ad900 57
43694a7f
AF
58%install
59rm -rf $RPM_BUILD_ROOT
2970fa93 60install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43694a7f 61
33136c64 62%{__make} install \
ece509ae 63 CC="%{__cc}" \
33136c64
JB
64 DESTDIR=$RPM_BUILD_ROOT
65
1995eade 66rm -f eg/*.orig
2970fa93 67install eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43694a7f 68
43694a7f
AF
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
c443125a 74%doc README
e7ec2b2d 75%dir %{perl_vendorarch}/Term/ReadLine
76%{perl_vendorarch}/Term/ReadLine/Gnu*
77%dir %{perl_vendorarch}/auto/Term/ReadLine
78%dir %{perl_vendorarch}/auto/Term/ReadLine/Gnu
33136c64 79%attr(755,root,root) %{perl_vendorarch}/auto/Term/ReadLine/Gnu/Gnu.so
fc120e1e 80# empty autosplit.ix and *.al files, but requred
e7ec2b2d 81%dir %{perl_vendorarch}/auto/Term/ReadLine/Gnu/XS
fc120e1e 82%{perl_vendorarch}/auto/Term/ReadLine/Gnu/XS/*.al
e7ec2b2d 83%{perl_vendorarch}/auto/Term/ReadLine/Gnu/XS/autosplit.ix
33136c64 84%{_mandir}/man3/Term::ReadLine::Gnu.3pm*
5d383880 85%dir %{_examplesdir}/%{name}-%{version}
1fc097ce 86%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
This page took 0.080967 seconds and 4 git commands to generate.