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
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/
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
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
45 %setup -q -n %{pdir}-%{pnam}-%{version}
48 %{__perl} Makefile.PL \
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
59 # get rid of pod documentation
60 rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/CGI/FormMagick/FAQ.pod
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %{perl_vendorlib}/CGI/FormMagick.pm
69 %{perl_vendorlib}/CGI/FormMagick