16f912
%global cpan_version 1.130930
16f912
2ea134
Name:           perl-WebService-Rajce
16f912
# Split version to 2-digit, maybe 1.130930 is just an excess
16f912
Version:        %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
b078db
Release:        3%{?dist}
2ea134
Summary:        Perl interface for www.rajce.idnes.cz
2ea134
License:        GPL+ or Artistic
2ea134
Group:          Development/Libraries
2ea134
URL:            http://search.cpan.org/dist/WebService-Rajce/
16f912
Source0:        http://www.cpan.org/authors/id/P/PE/PEK/WebService-Rajce-%{cpan_version}.tar.gz
2ea134
BuildArch:      noarch
16f912
BuildRequires:  perl
16f912
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
16f912
BuildRequires:  perl(strict)
16f912
BuildRequires:  perl(warnings)
16f912
# Run-time (No tests exhibiting the code are performed)
2ea134
# Tests:
2ea134
BuildRequires:  perl(Test::More)
16f912
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
16f912
Requires:       perl(AutoLoader)
2ea134
2ea134
%description
2ea134
This is Perl library implementing an API of a photo gallery service running on
2ea134
www.rajce.idnes.cz server.
2ea134
2ea134
%package tools
2ea134
Summary:        Utilities for accessing www.rajce.idnes.cz
2ea134
License:        GPL+ or Artistic
2ea134
Group:          Applications/Internet
2ea134
BuildArch:      noarch
2ea134
2ea134
%description tools
2ea134
Command line tools for uploading and downloading images from a photo gallery
2ea134
service running on www.rajce.idnes.cz server.
2ea134
2ea134
2ea134
%prep
16f912
%setup -q -n WebService-Rajce-%{cpan_version}
2ea134
2ea134
%build
16f912
perl Makefile.PL INSTALLDIRS=vendor
16f912
make %{?_smp_mflags}
2ea134
2ea134
%install
16f912
make pure_install DESTDIR=$RPM_BUILD_ROOT
16f912
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
2ea134
%{_fixperms} $RPM_BUILD_ROOT/*
2ea134
2ea134
%check
16f912
make test
2ea134
2ea134
%files
16f912
%doc Changes LICENSE README
2ea134
%{perl_vendorlib}/*
2ea134
%{_mandir}/man3/*
2ea134
2ea134
%files tools
2ea134
%{_bindir}/*
2ea134
%{_mandir}/man1/*
2ea134
2ea134
%changelog
b078db
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13.0930-3
b078db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b078db
b67ac6
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.13.0930-2
b67ac6
- Perl 5.18 rebuild
b67ac6
16f912
* Fri Apr 05 2013 Petr Pisar <ppisar@redhat.com> - 1.13.0930-1
16f912
- 1.130930 bump
16f912
e1d4f6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2
e1d4f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e1d4f6
10bf1a
* Mon Oct 15 2012 Petr Pisar <ppisar@redhat.com> - 0.08-1
10bf1a
- 0.08 bump
10bf1a
6e431e
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
6e431e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6e431e
0c4d81
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 0.07-2
0c4d81
- Perl 5.16 rebuild
0c4d81
2ea134
* Wed Feb 29 2012 Petr Pisar <ppisar@redhat.com> 0.07-1
2ea134
- Specfile autogenerated by cpanspec 1.78.