2024-01-06 09:30:44 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Perl-Tidy
|
2024-01-06 09:30:44 +01:00
|
|
|
Version: 20171214
|
2024-01-06 09:30:44 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Perl::Tidy - Parses and beautifies perl source
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: http://www.cpan.org
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHANCOCK/Perl-Tidy-%{version}.tar.gz
|
|
|
|
License: GPL, Artistic
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module makes the functionality of the perltidy utility available to perl scripts.
|
|
|
|
Any or all of the input parameters may be omitted, in which case the @ARGV array will
|
|
|
|
be used to provide input parameters as described in the perltidy(1) man page.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Perl-Tidy-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
|
|
|
%make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/perltidy
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man1/perltidy.1.gz
|
|
|
|
%{_mandir}/man3/*.3pm.gz
|
|
|
|
%doc BUGS CHANGES COPYING README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:30:44 +01:00
|
|
|
* Tue Dec 19 2017 Automatic Build System <autodist@mambasoft.it> 20171214-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 20170521-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Tue Dec 29 2015 Automatic Build System <autodist@mambasoft.it> 20150815-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Fri Aug 08 2014 Automatic Build System <autodist@mambasoft.it> 20140711-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 20140328-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Mon Sep 30 2013 Automatic Build System <autodist@mambasoft.it> 20130922-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 20130806-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 18 2013 Automatic Build System <autodist@mambasoft.it> 20130717-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 10 2012 Automatic Build System <autodist@mambasoft.it> 20121207-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 20120714-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 20 2012 Automatic Build System <autodist@mambasoft.it> 20120619-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 16 2011 gil <puntogil@libero.it> 20101217-1mamba
|
|
|
|
- package created by autospec
|