Author: arekm                        Date: Tue Dec  9 19:11:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-RT-Client-REST.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-RT-Client-REST.spec
diff -u /dev/null SPECS/perl-RT-Client-REST.spec:1.1
--- /dev/null   Tue Dec  9 20:11:53 2008
+++ SPECS/perl-RT-Client-REST.spec      Tue Dec  9 20:11:47 2008
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    RT
+%define        pnam    Client-REST
+Summary:       RT::Client::REST - talk to RT installation using REST protocol
+Name:          perl-RT-Client-REST
+Version:       0.37
+Release:       1
+# same as perl
+# Source0-md5: 383bf572afdb8040641d4d413ef96476
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+URL:           http://search.cpan.org/dist/RT-Client-REST/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+Source0:       
http://search.cpan.org/CPAN/authors/id/D/DM/DMITRI/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/RT
+%{_mandir}/man3/*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/12/09 19:11:47  arekm
+- new
+
+Revision 1.2  2007/05/09 21:52:08  qboosh
+- pl
+
+Revision 1.1  2007/04/30 11:29:15  radek
+- new
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to