Name: perl-Flickr-Upload Version: 1.32 Release: 2%{?dist} Summary: Flickr upload module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Flickr-Upload/ Source0: http://www.cpan.org/authors/id/C/CP/CPB/Flickr-Upload-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Flickr::API) >= 0.07 BuildRequires: perl(HTTP::Request::Common) >= 1 BuildRequires: perl(LWP::UserAgent) >= 1 BuildRequires: perl(XML::Parser::Lite::Tree) >= 0.03 Requires: perl(Flickr::API) >= 0.07 Requires: perl(HTTP::Request::Common) >= 1 Requires: perl(LWP::UserAgent) >= 1 Requires: perl(XML::Parser::Lite::Tree) >= 0.03 Requires: perl(Term::ProgressBar) >= 2.09 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Module for uploading images to flickr.com web gallery. %package -n flickr_upload License: GPL+ or Artistic Group: Applications/Multimedia Summary: Flickr image upload command line utility Requires: %{name} = %{version}-%{release} %description -n flickr_upload Command line utility for uploading images to flickr.com web gallery. Can handle tags, privacy and even custom options. %prep %setup -q -n Flickr-Upload-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog README %{perl_vendorlib}/* %{_mandir}/man3/* %files -n flickr_upload %defattr(-,root,root,-) %{_bindir}/flickr_upload %{_mandir}/man1/flickr_upload.1.gz %changelog * Sat Aug 1 2009 Michal Ingeli - 1.32-2 - Splited front end utility into sub-package. * Sun Jun 21 2009 Michal Ingeli - 1.32-1 - Specfile autogenerated by cpanspec 1.77.