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