Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
urlwatch
> urlwatch.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File urlwatch.spec of Package urlwatch (Revision 8)
Currently displaying revision
8
,
show latest
Name: urlwatch Version: 1.15 Release: 1 Url: http://thp.io/2008/urlwatch/ License: BSD Summary: A tool for monitoring webpages for updates Group: Productivity/Networking/Other Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}_xmpp_1.9.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python >= 2.6 BuildRequires: python-futures Requires: python >= 2.6 Requires: python-futures %description This script is intended to help you watch URLs and get notified (via email, xmpp or in your terminal) of any changes. The change notification will include the URL that has changed and a unified diff of what has changed. The script supports the use of a filtering hook function to strip trivially-varying elements of a webpage. %prep %setup %build python setup.py build %install %if 0%{?suse_version} python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} \ --record-rpm=%{name}.filelist sed -i s@"\.1$"@"\.1\.gz"@ %{name}.filelist %else python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > %{_builddir}/%{name}-%{version}/%{name}.filelist find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{_builddir}/%{name}-%{version}/%{name}.filelist find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{_builddir}/%{name}-%{version}/%{name}.filelist sed -i s@"\.py$"@"\.py\*"@g %{_builddir}/%{name}-%{version}/%{name}.filelist sed -i s@"\.1$"@"\.1\.gz"@g %{_builddir}/%{name}-%{version}/%{name}.filelist %endif %clean rm -rf %{buildroot} %files -f %{name}.filelist %defattr(-,root,root) %changelog