automatic update by autodist [release 20130922-1mamba;Mon Sep 30 2013]

This commit is contained in:
Automatic Build System 2024-01-06 09:30:44 +01:00
parent 5ef0d142f2
commit cd32cf1105
2 changed files with 75 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# perl-Perl-Tidy # perl-Perl-Tidy
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.

71
perl-Perl-Tidy.spec Normal file
View File

@ -0,0 +1,71 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Perl-Tidy
Version: 20130922
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
* 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