Name: perl-RT-Client-REST Version: 0.27 Release: 1%{?dist} Summary: Talk to RequestTracker installation using REST protocol License: GPL Group: Development/Libraries URL: http://search.cpan.org/dist/RT-Client-REST/ Source0: http://www.cpan.org/modules/by-module/RT/RT-Client-REST-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Error) BuildRequires: perl(Exception::Class) BuildRequires: perl(HTTP::Cookies) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(LWP) BuildRequires: perl(Params::Validate) BuildRequires: perl(Test::Exception) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description RT::Client::REST is the RequestTracker client /usr/bin/rt reimplemented as a Perl module. %prep %setup -q -n RT-Client-REST-%{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 Changes README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Mar 18 2007 Andreas Thienemann 0.27-1 - Specfile autogenerated by cpanspec 1.69.1. - Cleaned for FE