Author: cweyl

Update of /cvs/extras/rpms/perl-RT-Client-REST/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6548/devel

Modified Files:
        .cvsignore sources 
Added Files:
        import.log perl-RT-Client-REST.spec 
Log Message:
Initial import.


--- NEW FILE import.log ---
perl-RT-Client-REST-0_37-1_fc10:HEAD:perl-RT-Client-REST-0.37-1.fc10.src.rpm:1240554395


--- NEW FILE perl-RT-Client-REST.spec ---
Name:       perl-RT-Client-REST 
Version:    0.37 
Release:    1%{?dist}
# lib/RT/Client/REST.pm -> GPLv2
# see also /usr/bin/rt from the rt3 package
License:    GPLv2
Group:      Development/Libraries
Summary:    Talk to RT using REST protocol 
Source:     
http://search.cpan.org/CPAN/authors/id/D/DM/DMITRI/RT-Client-REST-%{version}.tar.gz
 
Url:        http://search.cpan.org/dist/RT-Client-REST
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(Encode)
BuildRequires: perl(Error)
BuildRequires: perl(Exception::Class)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Cookies)
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(LWP)
BuildRequires: perl(Params::Validate)
# testing
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Kwalitee)

%description
*RT::Client::REST* is */usr/bin/rt* converted to a Perl module. I needed
to implement some RT interactions from my application, but did not feel
that invoking a shell command is appropriate. Thus, I took *rt* tool,
written by Abhijit Menon-Sen, and converted it to an object-oriented
Perl module.


%prep
%setup -q -n RT-Client-REST-%{version}

cat Changes | iconv -f iso8859-1 -t utf8 > x
mv x Changes

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc README Changes examples/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Mon Apr 20 2009 Chris Weyl <cw...@alumni.drew.edu> 0.37-1
- submission

* Sat Apr 18 2009 Chris Weyl <cw...@alumni.drew.edu> 0.37-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-RT-Client-REST/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore  23 Apr 2009 16:49:32 -0000      1.1
+++ .cvsignore  24 Apr 2009 06:26:39 -0000      1.2
@@ -0,0 +1 @@
+RT-Client-REST-0.37.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-RT-Client-REST/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources     23 Apr 2009 16:49:32 -0000      1.1
+++ sources     24 Apr 2009 06:26:39 -0000      1.2
@@ -0,0 +1 @@
+383bf572afdb8040641d4d413ef96476  RT-Client-REST-0.37.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to