Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:driesverachtert
perl-XML-RSS-TimingBot
perl-XML-RSS-TimingBot-openSUSE_10.2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-XML-RSS-TimingBot-openSUSE_10.2.spec of Package perl-XML-RSS-TimingBot
# $Id: perl-XML-RSS-TimingBot.spec 5676 2007-08-02 18:53:59Z dries $ # Authority: dries # Upstream: Sean M. Burke <sburke$cpan,org> %define real_name XML-RSS-TimingBot %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) Summary: Efficiently fetching RSS feeds Name: perl-XML-RSS-TimingBot Version: 2.03 %define releasesuffix opensuse10.2 Release: 1.2 License: Artistic Group: Applications/CPAN URL: http://search.cpan.org/dist/XML-RSS-TimingBot/ Packager: Dries Verachtert <dries@ulyssis.org> Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/ Source: http://www.cpan.org/modules/by-module/XML/XML-RSS-TimingBot-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker), perl %description XML::RSS::TimingBot is for requesting RSS feeds only as often as needed. This class does this in two ways: * When you request a feed the first time, this class remembers what Last-Modified and ETag headers it has; that the next time you request that feed, this class can specify that the feed's server should return data only if that feed has changed since last time, or has a different ETag value. If the feed *has* changed, you'll get the HTTP response back with full content and with a normal "200" status code. If the feed *hasn't* changed, you'll get a contentless "304" response (meaning "I'm not giving you any content, because it hasn't changed"). * When you request a feed, this class remembers any data that might be in the RSS that says how often this feed updates. See XML::RSS::Timing for the full story; but as a common example if there's a ttl tag with value 180 in the feed, that means that the feed will rebuild only once every three hours (180 minutes). When this class sees that in the received RSS data, it remembers this so that if you go to get the feed more often than that, it will stop you and give a "304" (Not Modified) error response. %prep %setup -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %{__rm} -rf %{buildroot} %{__make} install %{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod %{__rm} -f %{buildroot}%{perl_vendorarch}/auto/*/*/*/.packlist %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc ChangeLog README %doc %{_mandir}/man3/* %{perl_vendorlib}/XML/RSS/TimingBot.* %changelog * Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 2.03-1.2 - Rebuild for Fedora Core 5. * Thu Jul 22 2004 Dries Verachtert <dries@ulyssis.org> - 2.03-1 - Initial package.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor