56 lines
1.3 KiB
RPMSpec
56 lines
1.3 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-Text-Scan (Version 0.30)
|
||
|
#
|
||
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
%define modname HTTP-Response-Encoding
|
||
|
Name: perl-%{modname}
|
||
|
Version: 0.05
|
||
|
Release: 1
|
||
|
URL: http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI
|
||
|
Summary: Adds encoding to HTTP::Response
|
||
|
Requires: perl = %{perl_version}
|
||
|
BuildRequires: perl-libwww-perl perl(Encode) perl(HTTP::Response) perl(Test::More)
|
||
|
Requires: perl-libwww-perl perl(Encode) perl(HTTP::Response)
|
||
|
License: GPL/Artistic
|
||
|
Group: Development/Libraries/Perl
|
||
|
Source: %{modname}-%{version}.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
|
||
|
%description
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{modname}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||
|
make
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%doc Changes README
|
||
|
%doc %{_mandir}/man?/*
|
||
|
%{perl_vendorlib}/HTTP
|
||
|
%{perl_vendorarch}/auto/HTTP
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|