]> git.pld-linux.org Git - packages/perl-CGI-FormMagick.git/blob - perl-CGI-FormMagick.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-CGI-FormMagick.git] / perl-CGI-FormMagick.spec
1 %define         pdir    CGI
2 %define         pnam    FormMagick
3 Summary:        CGI::FormMagick - easily create CGI form-based applications
4 Summary(pl.UTF-8):      CGI::FormMagick - łatwe tworzenie aplikacji CGI opartych na formularzach
5 Name:           perl-CGI-FormMagick
6 Version:        0.89
7 Release:        3
8 # same as perl
9 License:        GPL v1+ or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  f40a7de9af1e2484d76240896174774e
13 URL:            http://search.cpan.org/dist/CGI-FormMagick/
14 # no tests
15 #BuildRequires: perl-Test-Inline >= 0.15
16 #BuildRequires: perl-Test-Simple >= 0.42
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 # R, not BR - versioned deps are not generated, and there are no tests for BR
20 Requires:       perl-CGI-Persistent >= 0.21
21 Requires:       perl-Class-ParamParser >= 1.041
22 Requires:       perl-I18N-LangTags >= 0.13
23 Requires:       perl-Mail-RFC822-Address
24 Requires:       perl-Persistence-Object-Simple >= 0.47
25 Requires:       perl-Text-Iconv >= 1.2
26 Requires:       perl-Text-Template >= 1.40
27 Requires:       perl-XML-Parser >= 2.30
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 FormMagick is a toolkit for easily building fairly complex form-based
33 web applications. It allows the developer to specify the structure of
34 a multi-page "wizard" style form using XML, then display that form
35 using only a few lines of Perl.
36
37 %description -l pl.UTF-8
38 FormMagick to zestaw narzędzi do łatwego tworzenia w miarę złożonych
39 aplikacji WWW opartych na formularzach. Pozwala programiście określić
40 strukturę wielostronnicowego formularza w stylu "czarodzieja" przy
41 użyciu XML-a, a następnie wyświetlić go przy użyciu zaledwie kilku
42 linii kodu w Perlu.
43
44 %prep
45 %setup -q -n %{pdir}-%{pnam}-%{version}
46
47 %build
48 %{__perl} Makefile.PL \
49         INSTALLDIRS=vendor
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 # get rid of pod documentation
60 rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/CGI/FormMagick/FAQ.pod
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc Changes README
68 %{perl_vendorlib}/CGI/FormMagick.pm
69 %{perl_vendorlib}/CGI/FormMagick
70 %{_mandir}/man3/*
This page took 0.109145 seconds and 4 git commands to generate.