]> git.pld-linux.org Git - SPECS.git/blob - perl-Curses-Widgets.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / perl-Curses-Widgets.spec
1 #
2 # Conditional build:
3 %bcond_with     demo    # perform "make test" (it IS just demo!)
4
5 %define         pdir    Curses
6 %define         pnam    Widgets
7 Summary:        Curses::Widgets - base widget class for use with the Curses::Application framework
8 Summary(pl.UTF-8):      Curses::Widgets - podstawowa klasa kontrolek do wykorzystania w szkielecie Curses::Application
9 Name:           perl-Curses-Widgets
10 Version:        1.997
11 Release:        5
12 License:        GPL v2+
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz
15 # Source0-md5:  142b14bb761f579f98b4266405f06f8a
16 URL:            http://search.cpan.org/dist/Curses-Widgets/
17 BuildRequires:  perl-Curses
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 High level access to basic Curses widgets and related functions.
25
26 %description -l pl.UTF-8
27 Moduł ten udostępnia kontrolki bazujące na bibliotece Curses.
28
29 %prep
30 %setup -q -n %{pdir}%{pnam}-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make}
36
37 %{?with_demo:%{__make} test}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 # get rid of pod docuemntation
46 rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Curses/Widgets/{Tutorial.pod,Tutorial/Creation.pod}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CHANGELOG CREDITS README
54 %{perl_vendorlib}/Curses/Widgets.pm
55 %{perl_vendorlib}/Curses/Widgets
56 %{_mandir}/man3/*
This page took 0.045242 seconds and 3 git commands to generate.