62 lines
1.4 KiB
RPMSpec
62 lines
1.4 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-HTTP-Server-Simple-Mason
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-HTTP-Server-Simple-Mason
|
||
|
%define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||
|
Summary: An abstract baseclass for a standalone mason server
|
||
|
Url: http://search.cpan.org/perldoc?HTTP::Server::Simple::Mason
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Artistic License
|
||
|
Version: 0.13
|
||
|
Release: 1
|
||
|
Vendor: openSUSE-Education
|
||
|
Source: %{real_name}-%{version}.tar.bz2
|
||
|
BuildRequires: perl-macros
|
||
|
Buildrequires: perl(Test::Pod::Coverage)
|
||
|
Buildrequires: perl(Test::Pod)
|
||
|
BuildRequires: perl(LWP::Simple)
|
||
|
BuildRequires: perl-HTTP-Server-Simple
|
||
|
BuildRequires: perl(HTML::Mason::CGIHandler)
|
||
|
BuildRequires: perl(Hook::LexWrap)
|
||
|
Requires: perl(LWP::Simple)
|
||
|
Requires: perl-HTTP-Server-Simple
|
||
|
Requires: perl(HTML::Mason::CGIHandler)
|
||
|
Requires: perl(Hook::LexWrap)
|
||
|
Requires: perl = %{perl_version}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
See HTTP::Server::Simple package and the documentation in the perldoc manual.
|
||
|
|
||
|
Author:
|
||
|
-------
|
||
|
Jesse Vincent <jesse@bestpractical.com>
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{real_name}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make %{?jobs:-j%jobs}
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
%perl_gen_filelist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files -f %{name}.files
|
||
|
%defattr(-, root, root)
|
||
|
%doc Changes MANIFEST
|
||
|
|
||
|
%changelog
|