]> git.pld-linux.org Git - SPECS.git/blob - perl-Curses-Forms.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / perl-Curses-Forms.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # do not perform "make test"
4 #
5 %define         pdir    Curses
6 %define         pnam    Forms
7 Summary:        Curses::Forms - Curses Forms Framework
8 Summary(pl.UTF-8):      Curses::Forms - szkielet formularzy oparty na bibliotece curses
9 Name:           perl-Curses-Forms
10 Version:        1.997
11 Release:        1
12 License:        GPL v2+
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Curses/CursesForms-%{version}.tar.gz
15 # Source0-md5:  076faf4c240d4577720a7bd2bc1d3f04
16 URL:            http://search.cpan.org/dist/CursesForms/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  perl-Curses
19 BuildRequires:  perl-Curses-Widgets
20 %if %{with tests}
21 BuildRequires:  perl-Test-Pod
22 %endif
23 BuildRequires:  rpm-perlprov >= 4.1-13
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Curses::Forms Perl module is a UI framework based on the curses
29 library. It can be used for the development of curses based user
30 interfaces. Strictly this a wrapper around Curses::UI and
31 Curses::Widgets to create simple UIs quickly.
32
33 %description -l pl.UTF-8
34 Moduł Perla Curses::Forms stanowi szkielet interfejsu użytkownika
35 oparty na bibliotece curses. Może służyć do konstruowania interfejsów
36 użytkownika w oparciu o bibliotekę curses. Dokładniej, Curses::Forms
37 to wrapper do Curses::UI i Curses::Widgets, ułatwiający tworzenie
38 prostych GUI.
39
40 %prep
41 %setup -q -n CursesForms-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 # get rid of pod documentation
57 #rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Curses/Forms/*.pod
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc CHANGELOG README
65 %{perl_vendorlib}/Curses/Forms.pm
66 %{perl_vendorlib}/Curses/Forms
67 %{_mandir}/man3/*
This page took 0.507171 seconds and 3 git commands to generate.