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

61 lines
1.3 KiB
RPMSpec
Raw Normal View History

# norootforbuild
Name: perl-Net-Twitter
Version: 1.23
Release: 0
Summary: Perl Interface to twitter.com
Source: http://search.cpan.org/CPAN/authors/id/C/CT/CTHOM/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-JSON-Any perl-libwww-perl perl-URI
BuildRequires: make perl perl-JSON-Any perl-libwww-perl perl-URI
%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.
Authors:
--------
Chris Thompson <cpan@cthompson.com>
%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
%dir %{perl_vendorarch}/auto/Net
%{perl_vendorarch}/auto/Net/Twitter
%doc %{perl_man3dir}/Net::Twitter.%{perl_man3ext}*
/var/adm/perl-modules/%{name}
%changelog
* Sun Jan 11 2009 Pascal Bleser <guru@unixtech.be> 1.23
- new package
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: