epel9
Petr Šabata 13 years ago
parent 4867b322de
commit ff350fac05

1
.gitignore vendored

@ -2,3 +2,4 @@ Inline-0.46.tar.gz
/Inline-0.47.tar.gz /Inline-0.47.tar.gz
/Inline-0.48.tar.gz /Inline-0.48.tar.gz
/Inline-0.49.tar.gz /Inline-0.49.tar.gz
/Inline-0.50.tar.gz

@ -1,28 +1,38 @@
Name: perl-Inline Name: perl-Inline
Version: 0.49 Version: 0.50
Release: 2%{?dist} Release: 1%{?dist}
Summary: Inline Perl module Summary: Inline Perl module
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
Url: http://search.cpan.org/dist/Inline/ Url: http://search.cpan.org/dist/Inline/
Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/Inline-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/Inline-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(base)
BuildRequires: perl(AutoLoader)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::MD5) BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(Inline::Files) BuildRequires: perl(Inline::Files)
# tests BuildRequires: perl(Parse::RecDescent)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Warn) BuildRequires: perl(Test::Warn)
# Optional tests
#Optional, not yet in Fedora
#BuildRequires: perl(Inline::Filters)
#BuildRequires: perl(Inline::Struct)
BuildRequires: perl(Time::HiRes)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# not automatically detected # not automatically detected
Requires: perl(Data::Dumper)
Requires: perl(Digest::MD5) Requires: perl(Digest::MD5)
%{?perl_default_filter}
%global __provides_exclude %{?__provides_exclude}|perl\\(Inline\\)$
%description %description
The Inline module allows you to put source code from other programming The Inline module allows you to put source code from other programming
languages directly "inline" in a Perl script or module. The code is languages directly "inline" in a Perl script or module. The code is
@ -42,44 +52,34 @@ once. Code that is Inlined into distributed modules (like on the CPAN)
will get compiled when the module is installed, so the end user will will get compiled when the module is installed, so the end user will
never notice the compilation time. never notice the compilation time.
%{?perl_default_filter}
%global __provides_exclude %{?__provides_exclude}|perl\\(Inline\\)$
%prep %prep
%setup -q -n Inline-%{version} %setup -q -n Inline-%{version}
%build %build
# trick avoiding installation other modules # trick avoiding installation other modules
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null perl Makefile.PL INSTALLDIRS=vendor < /dev/null
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=%{buildroot}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/* chmod -R u+w %{buildroot}/*
%check %check
make test make test
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc Changes README %doc Changes README
%{perl_vendorlib}/Inline* %{perl_vendorlib}/Inline*
%{perl_vendorlib}/auto/ %{perl_vendorlib}/auto/
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Tue Feb 07 2012 Petr Šabata <contyk@redhat.com> - 0.50-1
- 0.50 bump
- Minor cleanup
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.49-2 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.49-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

@ -1 +1 @@
0deecdc161fed17c51cd29cd05190081 Inline-0.49.tar.gz cb9377b494819924bddf2de20c90f3ab Inline-0.50.tar.gz

Loading…
Cancel
Save