2009-01-11 21:46:41 +00:00
|
|
|
# norootforbuild
|
|
|
|
|
2010-06-19 00:26:16 +00:00
|
|
|
Name: perl-Net-Twitter
|
|
|
|
Version: 3.13004
|
|
|
|
Release: 0
|
|
|
|
Summary: Perl Interface to twitter.com
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/M/MM/MMIMS/Net-Twitter-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/Net-Twitter/
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Requires: perl-libwww-perl
|
2009-04-09 22:32:46 +00:00
|
|
|
Requires: perl(JSON::Any) >= 1.19
|
|
|
|
Requires: perl(URI)
|
2010-06-19 00:26:16 +00:00
|
|
|
BuildRequires: make perl perl-libwww-perl perl-URI
|
2009-04-09 22:32:46 +00:00
|
|
|
BuildRequires: perl-JSON-Any >= 1.19
|
2010-06-19 00:26:16 +00:00
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
BuildRequires: perl(Test::More)
|
2009-01-11 21:46:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
http://www.twitter.com provides a web 2.0 type of ubiquitous presence. This
|
|
|
|
module allows you to set your status, as well as review the statuses of your
|
|
|
|
friends.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Net-Twitter-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%doc examples
|
|
|
|
%dir %{perl_vendorlib}/Net
|
|
|
|
%{perl_vendorlib}/Net/Twitter.pm
|
2010-06-19 00:26:16 +00:00
|
|
|
%{perl_vendorlib}/Net/Twitter.pod
|
|
|
|
%{perl_vendorlib}/Net/Twitter
|
2009-04-09 22:32:46 +00:00
|
|
|
%{perl_vendorlib}/Net/Identica.pm
|
2009-01-11 21:46:41 +00:00
|
|
|
%dir %{perl_vendorarch}/auto/Net
|
2010-06-19 00:26:16 +00:00
|
|
|
%{perl_vendorarch}/auto/Net/Twitter
|
|
|
|
%doc %{perl_man3dir}/Net::Twitter.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Net::Identica.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Net::Twitter::*.%{perl_man3ext}%{ext_man}
|
2009-01-11 21:46:41 +00:00
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2010-06-19 00:26:16 +00:00
|
|
|
# vim: set sw=4 ts=4 et:
|