8e79386
Name:           urlwatch
bda6b60
Version:        2.21
2bc7db7
Release:        4%{?dist}
8e79386
Summary:        A tool for monitoring webpages for updates
8e79386
8e79386
License:        BSD
8e79386
URL:            http://thpinfo.com/2008/urlwatch/
3f8467a
Source0:        https://github.com/thp/urlwatch/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
8e79386
BuildArch:      noarch
8e79386
326473b
BuildRequires:  python3-devel
326473b
BuildRequires:  python3-setuptools
9bf0938
BuildRequires:  python3-idle
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
9bf0938
%doc CHANGELOG.md README.md
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
2bc7db7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-4
2bc7db7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2bc7db7
db92e19
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.21-3
db92e19
- Rebuilt for Python 3.10
db92e19
9be923a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-2
9be923a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9be923a
bda6b60
* Thu Nov 26 2020 Ondřej Nosek <onosek@redhat.com> - 2.21-1
bda6b60
- Update to latest upstream release 2.21
bda6b60
cd89c2d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-7
cd89c2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cd89c2d
bd6161f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.17-6
bd6161f
- Rebuilt for Python 3.9
bd6161f
c583ed4
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-5
c583ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c583ed4
565ceba
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.17-4
565ceba
- Rebuilt for Python 3.8.0rc1 (#1748018)
565ceba
5ea8d0d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.17-3
5ea8d0d
- Rebuilt for Python 3.8
5ea8d0d
d3dd76c
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-2
d3dd76c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d3dd76c
3f8467a
* Mon May 06 2019 Fabian Affolter <mail@fabian-affolter.ch> - 2.17-1
3f8467a
- Update to latest upstream release 2.17 (rhbz#1692110)
3f8467a
689d4e4
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-9
689d4e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
689d4e4
8028c6b
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-8
8028c6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8028c6b
2e914a2
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.6-7
2e914a2
- Rebuilt for Python 3.7
2e914a2
b9b949b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-6
b9b949b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b9b949b
38ab570
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-5
38ab570
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
38ab570
74d1e52
* Thu May 18 2017 Fabian Affolter <mail@fabian-affolter.ch> - 2.6-4
74d1e52
- Fix rhbz#1445286
74d1e52
db93108
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
db93108
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
db93108
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