Author: qboosh Date: Sat Jun 30 06:50:51 2012 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/perl-CPAN-Changes: perl-CPAN-Changes.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/perl-CPAN-Changes/perl-CPAN-Changes.spec diff -u /dev/null packages/perl-CPAN-Changes/perl-CPAN-Changes.spec:1.1 --- /dev/null Sat Jun 30 08:50:51 2012 +++ packages/perl-CPAN-Changes/perl-CPAN-Changes.spec Sat Jun 30 08:50:46 2012 @@ -0,0 +1,72 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%define pdir CPAN +%define pnam Changes +%include /usr/lib/rpm/macros.perl +Summary: Test::CPAN::Changes - Validation of the Changes file in a CPAN distribution +Summary(pl.UTF-8): Test::CPAN::Changes - sprawdzanie poprawności pliku Changes w dystrybucji CPAN +Name: perl-CPAN-Changes +Version: 0.19 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/CPAN/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 0091529b269037e959291dd64af8b178 +URL: http://search.cpan.org/dist/CPAN-Changes/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-ExtUtils-MakeMaker >= 6.59 +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module allows CPAN authors to write automated tests to ensure +their changelogs match the specification. + +%description -l pl.UTF-8 +Ten moduł pozwala autorom CPAN tworzyć automatyczne testy sprawdzające +zgodność plików logów zmian ze specyfikacją. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/CPAN/Changes.pm +%{perl_vendorlib}/CPAN/Changes +%dir %{perl_vendorlib}/Test/CPAN +%{perl_vendorlib}/Test/CPAN/Changes.pm +%{_mandir}/man3/CPAN::Changes*.3pm* +%{_mandir}/man3/Test::CPAN::Changes.3pm* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/06/30 06:50:46 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
