]> git.pld-linux.org Git - packages/perl-Tk-HistEntry.git/blame - perl-Tk-HistEntry.spec
use generic url
[packages/perl-Tk-HistEntry.git] / perl-Tk-HistEntry.spec
CommitLineData
023f636b
JB
1#
2# Conditional build:
857d7135 3%bcond_with tests # perform "make test" (requires working $DISPLAY)
e8a5b072 4
f4720e1e 5%define pdir Tk
6%define pnam HistEntry
e8a5b072 7%include /usr/lib/rpm/macros.perl
023f636b 8Summary: Tk::HistEntry Perl module - entry widget with history capability
950ae41c 9Summary(pl.UTF-8): Moduł Perla Tk::HistEntry - widget wprowadzania z obsługą historii
62cf48ee 10Name: perl-Tk-HistEntry
595f2c44 11Version: 0.43
62cf48ee 12Release: 1
857d7135 13# same as perl
ad708dfc 14License: GPL v1+ or Artistic
62cf48ee
SZ
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
595f2c44 17# Source0-md5: a9373d96bcc25f205ec970f6fe92c5ef
e8a5b072 18URL: http://search.cpan.org/dist/Tk-HistEntry/
62cf48ee 19BuildRequires: perl-Tk
98df9660 20BuildRequires: perl-devel >= 1:5.8.0
62cf48ee
SZ
21BuildRequires: rpm-perlprov
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
023f636b
JB
26Tk::HistEntry defines entry widgets with history capabilities. The
27widgets come in two flavours: HistEntry (Tk::HistEntry::Browse) with
28associated browse entry and SimpleHistEntry (Tk::HistEntry::Simple) -
29plain widget without browse entry. The user may browse with the Up and
30Down keys through the history list. New history entries may be added
31either manually by binding the Return key to historyAdd() or
32automatically by setting the -command option.
62cf48ee 33
3b47bb5e 34%description -l pl.UTF-8
023f636b 35Klasa Tk::HistEntry definiuje podstawowe widgety do wprowadzania
3b47bb5e
JR
36tekstu z obsługą historii. Widgety są dostępne w dwóch rodzajach:
37HistEntry (Tk::HistEntry::Browse) z powiązanym przeglądaniem oraz
38SimpleHistEntry (Tk::HistEntry::Simple) bez przeglądania. Użytkownik
39może przeglądać listę historii klawiszami Góra i Dół. Nowe elementy
40historii mogą być dodawane ręcznie przez podpięcie klawisza Return do
023f636b 41historyAdd() lub automatycznie przez ustawienie opcji -command.
62cf48ee
SZ
42
43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45
46%build
023f636b
JB
47%{__perl} Makefile.PL \
48 INSTALLDIRS=vendor
62cf48ee
SZ
49%{__make}
50
857d7135 51%{?with_tests:%{__make} test}
023f636b 52
62cf48ee
SZ
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc README Changes
023f636b 65%{perl_vendorlib}/Tk/*.pm
62cf48ee 66%{_mandir}/man3/*
This page took 0.071966 seconds and 4 git commands to generate.