5c9ffe5
Name:           websec
5c9ffe5
Version:        1.9.0
0cdbdaa
Release:        29%{?dist}
5c9ffe5
Summary:        Web Secretary - Web page monitoring software with highlighting
5c9ffe5
b17fc85
License:        GPLv2+
Thorsten Leemhuis 4f395e2
URL:            https://github.com/baruch/websec
Thorsten Leemhuis 4f395e2
Source0:        websec-1.9.0.tar.gz
58b4fea
# Patch0: newer GNU Make versions (3.82, maybe older as well) get confused by
58b4fea
# parts of the Makefile that are unused anyway, so remove them with this patch;
58b4fea
# upstream is dead afaics
58b4fea
Patch0:         %{name}-disable-htmldocs
0627690
# Patch1: Background in https://bugzilla.redhat.com/show_bug.cgi?id=1254288
0627690
# not send upstream, as its dead
0627690
Patch1:         %{name}-silence-unescaped-left-brace-warnings.patch
5c9ffe5
BuildArch:      noarch
ff79801
BuildRequires:  /usr/bin/pod2man
b81de21
BuildRequires:  perl-generators
5c9ffe5
Thorsten Leemhuis 4f395e2
# needed to send mail:
5c9ffe5
Requires:       /usr/sbin/sendmail
Thorsten Leemhuis 4f395e2
# needed for ssl:
61d8848
Requires:       perl(IO::Socket::SSL)
Thorsten Leemhuis 4f395e2
Requires:       perl(LWP::Protocol::https)
5c9ffe5
5c9ffe5
%description
5c9ffe5
Web Secretary is a web page change monitoring software. It will detect changes
5c9ffe5
based on content analysis, making sure that it's not just HTML that changed,
5c9ffe5
but actual content. You can tell it what to ignore in the page (hit counters
5c9ffe5
and such), and it can mail you the document with the changes highlighted or 
5c9ffe5
load the highlighted page in a browser.
5c9ffe5
5c9ffe5
5c9ffe5
%prep
5c9ffe5
%setup -q
58b4fea
%patch0 -p1 -b .patch0
0627690
%patch1 -p1 -b .patch1
5c9ffe5
5c9ffe5
5c9ffe5
%build
5c9ffe5
make PREFIX=%{_prefix} %{?_smp_mflags}
5c9ffe5
5c9ffe5
5c9ffe5
%install
5c9ffe5
rm -rf $RPM_BUILD_ROOT .__doc
5c9ffe5
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
5c9ffe5
5c9ffe5
# proper permissions for man pages
5c9ffe5
chmod 0644 $RPM_BUILD_ROOT%{_datadir}/man/man*/*
5c9ffe5
5c9ffe5
# temp doc dir 
5c9ffe5
mv $RPM_BUILD_ROOT%{_datadir}/doc/websec .__doc
5c9ffe5
5c9ffe5
# having the next two in the proper place would require proper dependencies,
5c9ffe5
# which is probably not worth the trouble as that would be bloat for most 
5c9ffe5
# users; so ship them as doc, that's better then not shipping them at all
5c9ffe5
mv $RPM_BUILD_ROOT%{_datadir}/vim/vim61 $RPM_BUILD_ROOT%{_datadir}/emacs/ \
5c9ffe5
   .__doc/
5c9ffe5
mkdir .__doc/scripts
5c9ffe5
cp rollback htmldiff .__doc/scripts/
5c9ffe5
chmod -x .__doc/scripts/*
5c9ffe5
5c9ffe5
5c9ffe5
5c9ffe5
%files
5c9ffe5
%doc COPYING HACKING NEWS TODO .__doc/*
5c9ffe5
%{_bindir}/*
5c9ffe5
%{_datadir}/man/man*/*
5c9ffe5
5c9ffe5
5c9ffe5
%changelog
0cdbdaa
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-29
0cdbdaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0cdbdaa
Thorsten Leemhuis 4f395e2
* Mon Mar 30 2020 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.9.0-28
Thorsten Leemhuis 4f395e2
- Update project URL
Thorsten Leemhuis 4f395e2
- require perl(LWP::Protocol::https) (needed for https)
Thorsten Leemhuis 4f395e2
461540c
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-27
461540c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
461540c
89357e4
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-26
89357e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
89357e4
de0507a
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-25
de0507a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
de0507a
e86e008
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-24
e86e008
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e86e008
41ca29c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-23
41ca29c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
41ca29c
aa53d2a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-22
aa53d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aa53d2a
10674e6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-21
10674e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
10674e6
d3e0e1a
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-20
d3e0e1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d3e0e1a
0627690
* Sun Nov 22 2015 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.9.0-19
0627690
- add patch to silence warnings "Unescaped left brace in regex is deprecated,
0627690
  passed through in regex" in perl 5.22  (#1254288)
0627690
c3880c8
* Wed Jul 01 2015 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.9.1-18
c3880c8
- Add dist-tag (RHBZ #1237192).
c3880c8
b3dfb85
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-17.1
b3dfb85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b3dfb85
a9839f5
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-16.1
a9839f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a9839f5
55e0176
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-15.1
55e0176
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
55e0176
543b015
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.9.0-14.1
543b015
- Perl 5.18 rebuild
543b015
ff79801
* Fri Mar 01 2013 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.9.0-13.1
ff79801
- add /usr/bin/pod2man as BR (needed for F19 #914569)
ff79801
2e14da2
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-12.1
2e14da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2e14da2
8657e58
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-11.1
8657e58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8657e58
5cb4eca
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-10.1
5cb4eca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5cb4eca
58b4fea
* Wed Jun 22 2011 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.9.0-9.1
58b4fea
- Add a patch that removes some usused HTML procssing bit from the Makefile
58b4fea
  that seem to confuse newer make versions; fixes #660818 (FTBS)
58b4fea
2f1716f
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-8.1
2f1716f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2f1716f
e644328
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-7.1
e644328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e644328
396e40e
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-6.1
396e40e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
396e40e
61d8848
* Thu May 22 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.9.0-5
61d8848
- Manually require perl(IO::Socket::SSL) to make https work
61d8848
b17fc85
* Fri Aug 03 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info>
b17fc85
- Update License field due to the "Licensing guidelines changes"
b17fc85
5c9ffe5
* Sun Apr 08 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.9.0-4
5c9ffe5
- rebuild
5c9ffe5
5c9ffe5
* Sun Apr 08 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.9.0-3
5c9ffe5
- remove the / add the end of the mv command
5c9ffe5
5c9ffe5
* Sat Apr 07 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.9.0-2
5c9ffe5
- Fixes found during review (#235573):
5c9ffe5
  - noarch automatically disables debuginfo
5c9ffe5
  - require /usr/sbin/sendmail instead of smtpdaemon
5c9ffe5
5c9ffe5
* Sat Apr 07 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.9.0-1
5c9ffe5
- Initial package