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: 20210717
|
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
|
2024-01-06 09:30:44 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 09:30:44 +01:00
|
|
|
URL: https://www.cpan.org
|
2024-01-06 09:30:44 +01:00
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz
|
2024-01-06 09:30:44 +01:00
|
|
|
License: GPL, Artistic
|
2024-01-06 09:30:44 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:30:44 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module makes the functionality of the perltidy utility available to perl scripts.
|
2024-01-06 09:30:44 +01:00
|
|
|
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.
|
2024-01-06 09:30:44 +01:00
|
|
|
|
|
|
|
%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}/*
|
2024-01-06 09:30:44 +01:00
|
|
|
%{_mandir}/man1/perltidy.1*
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
%doc COPYING
|
|
|
|
#%doc BUGS CHANGES README TODO
|
2024-01-06 09:30:44 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:30:44 +01:00
|
|
|
* Sun Jul 18 2021 Automatic Build System <autodist@mambasoft.it> 20210717-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Fri Jun 25 2021 Automatic Build System <autodist@mambasoft.it> 20210625-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Thu Apr 01 2021 Automatic Build System <autodist@mambasoft.it> 20210402-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 20210111-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Sun Sep 20 2020 Automatic Build System <autodist@mambasoft.it> 20200907-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:30:44 +01:00
|
|
|
* Fri Jan 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20200110-1mamba
|
|
|
|
- update to 20200110
|
|
|
|
|
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
|