File perl-Exporter-Tidy.spec of Package perl-Exporter-Tidy
#
# spec file for package perl-Exporter-Tidy
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Exporter-Tidy
Version: 0.07
Release: 0
Summary: Another way of exporting symbols
License: SUSE-Public-Domain
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Exporter-Tidy/
Source0: http://www.cpan.org/authors/id/J/JU/JUERD/Exporter-Tidy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
This module serves as an easy, clean alternative to Exporter. Unlike
Exporter, it is not subclassed, but it simply exports a custom import()
into your namespace.
%prep
%setup -q -n Exporter-Tidy-%{version}
%build
%{__perl} Makefile.PL
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALLDIRS=vendor
%perl_process_packlist
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%dir %{perl_vendorarch}/auto/Exporter
%{perl_vendorarch}/auto/Exporter/Tidy
%dir %{perl_vendorlib}/Exporter
%{perl_vendorlib}/Exporter/Tidy.pm
%{_mandir}/man3/Exporter::Tidy.3*
%changelog