5c9ffe5
Name:           websec
5c9ffe5
Version:        1.9.0
6232ad9
Release:        7%{?dist}
5c9ffe5
Summary:        Web Secretary - Web page monitoring software with highlighting
5c9ffe5
5c9ffe5
Group:          Applications/Internet
b17fc85
License:        GPLv2+
5c9ffe5
URL:            http://baruch.ev-en.org/proj/websec/
5c9ffe5
Source0:        http://baruch.ev-en.org/proj/websec/websec-1.9.0.tar.gz
5c9ffe5
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5c9ffe5
BuildArch:      noarch
5c9ffe5
5c9ffe5
Requires:       /usr/sbin/sendmail
61d8848
# perl-IO-Socket-SSL needed for https:
61d8848
Requires:       perl(IO::Socket::SSL)
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
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
%clean
5c9ffe5
rm -rf $RPM_BUILD_ROOT
5c9ffe5
5c9ffe5
5c9ffe5
%files
5c9ffe5
%defattr(-,root,root,-)
5c9ffe5
%doc COPYING HACKING NEWS TODO .__doc/*
5c9ffe5
%{_bindir}/*
5c9ffe5
%{_datadir}/man/man*/*
5c9ffe5
5c9ffe5
5c9ffe5
%changelog
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