Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 72991243b86f56d412df687f8adaa72e > files > 2

Perl-Tidy-20020425-2mdk.src.rpm

%define name	Perl-Tidy
%define version	20020425
%define release	2mdk
%define summary Script which indents and reformats Perl scripts

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	%{summary}
License:	GPL
Group:		Text tools
Source:		Perl-Tidy-%{version}.tar.bz2
URL:		http://perltidy.sourceforge.net
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-buildroot
Obsoletes:	perltidy
Provides:	perltidy

%description
Perl-Tidy.spec is a Perl script which indents and reformats Perl scripts to
make them easier to read. If you write Perl scripts, or spend much time
reading them, you will probably find it useful.

%prep
%setup -n Perl-Tidy-%version
# fix  perms
chmod -R go=u-w *

%build
perl Makefile.PL
make

%install

make PREFIX=$RPM_BUILD_ROOT%_prefix install

mkdir -p $RPM_BUILD_ROOT%_mandir/man3
mv $RPM_BUILD_ROOT%_libdir/perl5/man/man3/* $RPM_BUILD_ROOT%_mandir/man3/

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%doc README COPYING docs
%_bindir/*
%_libdir/perl5/site_perl/*/Perl/*.pm
%_libdir/perl5/site_perl/*/i386-linux/auto/Perl/Tidy
%_mandir/man3/*

%changelog
* Tue May 07 2002 Lenny Cartier <lenny@mandrakesoft.com> 20020425-2mdk
- renamed to Perl-Tidy

* Mon May 06 2002 Lenny Cartier <lenny@mandrakesoft.com> 20020425-1mdk
- 20020425
- fixed spec (thx Charles Jie)

* Mon Mar 04 2002 Lenny Cartier <lenny@mandrakesoft.com> 20020225-1mdk
- 20020225

* Fri Oct 26 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 20011016-2mdk
- new in contribs

* Thu Oct 18 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 20011016-1mdk
- first Mandrake package