8e79386
Name:           urlwatch
577dbc2
Version:        2.6
332b330
Release:        2%{?dist}
8e79386
Summary:        A tool for monitoring webpages for updates
8e79386
8e79386
License:        BSD
8e79386
URL:            http://thpinfo.com/2008/urlwatch/
8e79386
Source0:        http://thpinfo.com/2008/%{name}/%{name}-%{version}.tar.gz
8e79386
BuildArch:      noarch
8e79386
326473b
BuildRequires:  python3-devel
326473b
BuildRequires:  python3-setuptools
d051b31
BuildRequires:  python3-tools
69e5e8b
332b330
Requires:       python3-requests
332b330
Requires:       python3-keyring
332b330
Requires:       python3-minidb
332b330
Requires:       python3-PyYAML
332b330
8e79386
%description
8e79386
This script is intended to help you watch URLs and get notified (via
8e79386
email or in your terminal) of any changes. The change notification
8e79386
will include the URL that has changed and a unified diff of what has
8e79386
changed.
8e79386
8e79386
The script supports the use of a filtering hook function to strip
8e79386
trivially-varying elements of a webpage.
8e79386
8e79386
Basic features
8e79386
8e79386
* Simple configuration (text file, one URL per line)
8e79386
* Easily hackable (clean Python implementation)
8e79386
* Can run as a cronjob and mail changes to you
8e79386
* Always outputs only plaintext - no HTML mails :)
8e79386
* Supports removing noise (always-changing website parts)
8e79386
* Example hooks to filter content in Python
8e79386
8e79386
%prep
577dbc2
%autosetup
69e5e8b
8e79386
%build
577dbc2
%py3_build
8e79386
8e79386
%install
577dbc2
%py3_install
cbcabae
# Fix exec permission for rpmlint
488d070
chmod 0755 %{buildroot}%{python3_sitelib}/%{name}/*txt.py
488d070
chmod a+x %{buildroot}%{python3_sitelib}/%{name}/handler.py
8e79386
8e79386
%files
577dbc2
%doc ChangeLog
577dbc2
%license COPYING
Fabian Affolter 44f0335
%{_mandir}/man*/*.*
8e79386
%{_bindir}/%{name}
8e79386
%{_datadir}/%{name}/examples/
488d070
%{python3_sitelib}/%{name}/
488d070
%{python3_sitelib}/%{name}*.egg-info
8e79386
8e79386
%changelog
332b330
* Thu Dec 29 2016 Fabian Affolter <mail@fabian-affolter.ch> - 2.6-2
332b330
- Add new requirements
332b330
577dbc2
* Thu Dec 29 2016 Fabian Affolter <mail@fabian-affolter.ch> - 2.6-1
577dbc2
- Update to latest upstream release 2.6
577dbc2
e487584
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 1.18-6
e487584
- Rebuild for Python 3.6
e487584
4b7f7d9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-5
4b7f7d9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
4b7f7d9
22be5f4
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-4
22be5f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
22be5f4
6395145
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
6395145
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
6395145
bb5af8d
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
bb5af8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bb5af8d
Fabian Affolter c14983e
* Thu May 07 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.18-1
Fabian Affolter c14983e
- Update to latest upstream release 1.18
Fabian Affolter c14983e
7260982
* Tue Jun 24 2014 Fabian Affolter <mail@fabian-affolter.ch> - 1.16-2
7260982
- Drop XMPP support
7260982
4c1e5e8
* Mon Jun 23 2014 Fabian Affolter <mail@fabian-affolter.ch> - 1.16-1
4c1e5e8
- Update to latest upstream release 1.16
4c1e5e8
6f3ba78
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-7
6f3ba78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6f3ba78
577d37a
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.15-6
577d37a
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
577d37a
8ad7d87
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
8ad7d87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8ad7d87
488d070
* Fri Mar 01 2013 Fabian Affolter <mail@fabian-affolter.ch> - 1.15-4
488d070
- Import error fix with python2
488d070
8cb31c9
* Wed Feb 20 2013 Fabian Affolter <mail@fabian-affolter.ch> - 1.15-3
67260ea
- Updated convert script and fix BR
8cb31c9
29d2a17
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-2
29d2a17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
29d2a17
a61723a
* Sun Sep 02 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.15-1
a61723a
- Updated to new upstream version 1.15
a61723a
f57962f
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-4
f57962f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f57962f
3e8a2cc
* Sat Feb 11 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.14-3
3e8a2cc
- Update for py3
3e8a2cc
f68bb13
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-2
f68bb13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f68bb13
4b06153
* Thu Nov 17 2011 Fabian Affolter <mail@fabian-affolter.ch> - 1.14-1
4c1e5e8
- Update to new upstream version 1.14
4b06153
4b06153
* Fri Aug 26 2011 Fabian Affolter <mail@fabian-affolter.ch> - 1.13-1
4c1e5e8
- Update to new upstream version 1.13
4b06153
4b06153
* Fri Aug 12 2011 Fabian Affolter <mail@fabian-affolter.ch> - 1.12-2
Fabian Affolter 1be4f60
- Rebuild (python-xmpp)
Fabian Affolter 1be4f60
4b06153
* Sun Mar 27 2011 Fabian Affolter <mail@fabian-affolter.ch> - 1.12-1
4c1e5e8
- Update to new upstream version 1.12
Fabian Affolter 312e5d1
8375f01
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
8375f01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8375f01
4b06153
* Wed Nov 03 2010 Fabian Affolter <mail@fabian-affolter.ch> - 1.11-2
4c1e5e8
- Remove compression of man page
Fabian Affolter 44f0335
4b06153
* Sat Aug 07 2010 Fabian Affolter <mail@fabian-affolter.ch> - 1.11-1
4c1e5e8
- Update to new upstream version 1.11
Fabian Affolter a8a355b
84115a1
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.10-2
84115a1
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
84115a1
4b06153
* Mon May 10 2010 Fabian Affolter <mail@fabian-affolter.ch> - 1.10-1
64beb8b
- Fix #590638
4c1e5e8
- Update to new upstream version 1.10
64beb8b
4b06153
* Sat Oct 10 2009 Fabian Affolter <mail@fabian-affolter.ch> - 1.9-1
4c1e5e8
- Add patch for xmpp functionality
4c1e5e8
- Update to new upstream version 1.9
9ac8c78
4b06153
* Thu Sep 17 2009 Fabian Affolter <mail@fabian-affolter.ch> - 1.8-1
69e5e8b
- Minior spec file changes
4c1e5e8
- Update to new upstream version 1.8
69e5e8b
59171e9
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-4
59171e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
59171e9
5b824ca
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
5b824ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5b824ca
67260ea
* Fri Jan 18 2008 Fabian Affolter <mail@fabian-affolter.ch> - 1.7-2
8e79386
- Change license from MIT to BSD
8e79386
67260ea
* Fri Jan 18 2008 Fabian Affolter <mail@fabian-affolter.ch> - 1.7-1
8e79386
- Initial package for Fedora