1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- %define pkgname CGI-FormBuilder
- # Basic Information
- Name: perl-%{pkgname}
- Version: 3.09
- Release: 1%{?_dist_release}
- Summary: CGI::FormBuilder - Easily generate and process stateful forms
- Summary(ja): CGI::FormBuilder - 状態をもつフォームを容易に作成および処理する
- License: Artistic or GPL
- Group: Development/Libraries
- URL: http://search.cpan.org/~nwiger/CGI-FormBuilder/
- Source0: http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER/%{pkgname}-%{version}.tgz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- # Dependency
- BuildRequires: perl(HTML::Template) >= 2.06
- BuildRequires: perl(Text::Template) >= 1.43
- BuildRequires: perl(Template) >= 2.08
- BuildRequires: perl(CGI::FastTemplate) >= 1.09
- BuildRequires: perl(CGI::SSI) >= 0.92
- BuildRequires: perl(CGI::Session) >= 3.95
- Requires: perl
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: yasumichi
- %description
- The goal of CGI::FormBuilder (FormBuilder) is to provide an easy way for you
- to generate and process entire CGI form-based applications.
- %description -l ja
- CGI::FormBuilder (FormBuilder) の目標は、完全な CGI フォームベースのアプリケ
- ーションを作成および処理するための簡単な方法を提供することです。
- %prep
- %setup -q -n %{pkgname}-%{version}
- %build
- %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %{__make} pure_install DESTDIR=${RPM_BUILD_ROOT}
- # remove unnecessary files.
- find ${RPM_BUILD_ROOT} -type f -name perllocal.pod -exec %{__rm} -f {} ';'
- find ${RPM_BUILD_ROOT} -type f -name .packlist -exec %{__rm} -f {} ';'
- find ${RPM_BUILD_ROOT}%{_mandir} -type f -exec %{__rm} -f {} ';'
- find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
- # generate file list
- find $RPM_BUILD_ROOT%{_prefix} -type f -print |
- sed "s@^$RPM_BUILD_ROOT@@g" > %{name}.files
- if [ "$(cat %{name}.files)X" = "X" ] ; then
- echo "ERROR: EMPTY FILE LIST"
- exit -1
- fi
- %check
- make test
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %files -f %{name}.files
- %defattr(-,root,root)
- %doc Changes README
- %changelog
- * Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.09-1
- - updated to 3.09
- - built with perl 5.16.3
- * Thu Oct 04 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.08-1
- - initial build for Vine Linux
|