8
0
Files
perl-Net-Twitter/perl-Net-Twitter.spec

59 lines
1.6 KiB
RPMSpec
Raw Normal View History

# norootforbuild
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
Requires: perl(JSON::Any) >= 1.19
Requires: perl(URI)
BuildRequires: make perl perl-libwww-perl perl-URI
BuildRequires: perl-JSON-Any >= 1.19
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
%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
%{perl_vendorlib}/Net/Twitter.pod
%{perl_vendorlib}/Net/Twitter
%{perl_vendorlib}/Net/Identica.pm
%dir %{perl_vendorarch}/auto/Net
%{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}
/var/adm/perl-modules/%{name}
%changelog
# vim: set sw=4 ts=4 et: