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.48.tar.gz
/Inline-0.49.tar.gz
/Inline-0.50.tar.gz

@ -1,28 +1,38 @@
Name: perl-Inline
Version: 0.49
Release: 2%{?dist}
Version: 0.50
Release: 1%{?dist}
Summary: Inline Perl module
Group: Development/Libraries
License: GPL+ or Artistic
Url: http://search.cpan.org/dist/Inline/
Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/Inline-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(base)
BuildRequires: perl(AutoLoader)
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Parse::RecDescent)
BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(Inline::Files)
# tests
BuildRequires: perl(Parse::RecDescent)
BuildRequires: perl(Test::More)
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))
# not automatically detected
Requires: perl(Data::Dumper)
Requires: perl(Digest::MD5)
%{?perl_default_filter}
%global __provides_exclude %{?__provides_exclude}|perl\\(Inline\\)$
%description
The Inline module allows you to put source code from other programming
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
never notice the compilation time.
%{?perl_default_filter}
%global __provides_exclude %{?__provides_exclude}|perl\\(Inline\\)$
%prep
%setup -q -n Inline-%{version}
%build
# trick avoiding installation other modules
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
perl Makefile.PL INSTALLDIRS=vendor < /dev/null
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/Inline*
%{perl_vendorlib}/auto/
%{_mandir}/man3/*.3*
%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
- 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