# # Conditional build: %bcond_without tests # don't perform "make test" %define pdir Algorithm %define pnam Annotate Summary: Algorithm::Annotate - represent a series of changes in annotate form Summary(pl.UTF-8): Algorithm::Annorate - reprezentacja serii zmian w postaci adnotacji Name: perl-Algorithm-Annotate Version: 0.10 Release: 2 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 453395489640e28fc772944ef08d396b URL: http://search.cpan.org/dist/Algorithm-Annotate/ BuildRequires: perl-Algorithm-Diff BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Represent a series of changes in annotate form. %description -l pl.UTF-8 Reprezentacja serii zmian w postaci adnotacji. %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} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %{perl_vendorlib}/Algorithm/*.pm %{_mandir}/man3/*