packages: perl-Net-Twitter-Lite/perl-Net-Twitter-Lite.spec (NEW) - NEW; not...

sparky sparky at pld-linux.org
Tue Feb 1 20:43:29 CET 2011


Author: sparky                       Date: Tue Feb  1 19:43:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- NEW; not tested yet

---- Files affected:
packages/perl-Net-Twitter-Lite:
   perl-Net-Twitter-Lite.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Net-Twitter-Lite/perl-Net-Twitter-Lite.spec
diff -u /dev/null packages/perl-Net-Twitter-Lite/perl-Net-Twitter-Lite.spec:1.1
--- /dev/null	Tue Feb  1 20:43:29 2011
+++ packages/perl-Net-Twitter-Lite/perl-Net-Twitter-Lite.spec	Tue Feb  1 20:43:24 2011
@@ -0,0 +1,91 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+
+%define		pdir	Net
+%define		pnam	Twitter-Lite
+%include	/usr/lib/rpm/macros.perl
+Summary:	Net::Twitter::Lite - A perl interface to the Twitter API
+#Summary(pl.UTF-8):
+Name:		perl-Net-Twitter-Lite
+Version:	0.10003
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/M/MM/MMIMS/Net-Twitter-Lite-%{version}.tar.gz
+# Source0-md5:	e0d90dfa6b057460164da36f09a6a75d
+URL:		http://search.cpan.org/dist/Net-Twitter-Lite/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Crypt-SSLeay >= 0.50
+BuildRequires:	perl-Encode
+BuildRequires:	perl-JSON-Any >= 1.21
+BuildRequires:	perl-Net-OAuth >= 0.25
+BuildRequires:	perl-URI
+BuildRequires:	perl-libwww >= 2.032
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a perl interface to the Twitter APIs. It uses the
+same API definitions as Net::Twitter, but without the extra bells and
+whistles and without the additional dependencies. Same great taste,
+less filling.
+
+This module is related to, but is not part of the Net::Twitter
+distribution. It's API methods and API method documentation are
+generated from Net::Twitter's internals. It exists for those who
+cannot, or prefer not to install Moose and its dependencies.
+
+You should consider upgrading to Net::Twitter for additional
+functionality, finer grained control over features, full backwards
+compatibility with older versions of Net::Twitter, and additional
+error handling options.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL --skip \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Net/Twitter/*.pm
+%dir %{perl_vendorlib}/Net/Twitter/Lite
+%{perl_vendorlib}/Net/Twitter/Lite/*.pm
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/02/01 19:43:24  sparky
+- NEW; not tested yet
+
================================================================


More information about the pld-cvs-commit mailing list