2ea134
Name:           perl-WebService-Rajce
10bf1a
Version:        0.08
e1d4f6
Release:        2%{?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/
2ea134
Source0:        http://www.cpan.org/authors/id/P/PE/PEK/WebService-Rajce-%{version}.tar.gz
2ea134
BuildArch:      noarch
2ea134
BuildRequires:  perl(Module::Build)
2ea134
# Run-time (script are not tested)
2ea134
BuildRequires:  perl(Carp)
2ea134
BuildRequires:  perl(Digest::MD5)
2ea134
BuildRequires:  perl(Encode)
2ea134
BuildRequires:  perl(Image::Magick)
2ea134
BuildRequires:  perl(WWW::Mechanize) >= 1.5
2ea134
BuildRequires:  perl(XML::Simple)
2ea134
# Tests:
2ea134
BuildRequires:  perl(Test::More)
2ea134
# Optional tests:
2ea134
BuildRequires:  perl(Pod::Coverage) >= 0.18
2ea134
BuildRequires:  perl(Test::Pod) >= 1.22
2ea134
BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
2ea134
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
2ea134
Requires:       perl(WWW::Mechanize) >= 1.5
2ea134
2ea134
# Remove under-specified dependencies
2ea134
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Basename|Net::Netrc|WWW::Mechanize)\\)$
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
Requires:       perl(File::Basename) >= 1.2
2ea134
Requires:       perl(Net::Netrc) >= 1.22
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
2ea134
%setup -q -n WebService-Rajce-%{version}
2ea134
2ea134
%build
2ea134
%{__perl} Build.PL installdirs=vendor
2ea134
./Build
2ea134
2ea134
%install
2ea134
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
2ea134
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
2ea134
%{_fixperms} $RPM_BUILD_ROOT/*
2ea134
2ea134
%check
2ea134
./Build test
2ea134
2ea134
%files
2ea134
%doc Changes README
2ea134
%{perl_vendorlib}/*
2ea134
%{_mandir}/man3/*
2ea134
2ea134
%files tools
2ea134
%{_bindir}/*
2ea134
%{_mandir}/man1/*
2ea134
2ea134
%changelog
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.