Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0866296b56 | ||
|
|
16b0ad17da | ||
|
|
5f2eba90df | ||
|
|
33888f9ea3 |
5 changed files with 77 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
websec-1.9.0.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: websec
|
||||
# $Id$
|
||||
NAME := websec
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
697f7e40fd74c5769df3d9f202eb0309 websec-1.9.0.tar.gz
|
||||
75
websec.spec
Normal file
75
websec.spec
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
Name: websec
|
||||
Version: 1.9.0
|
||||
Release: 3.5
|
||||
Summary: Web Secretary - Web page monitoring software with highlighting
|
||||
|
||||
Group: Applications/Internet
|
||||
License: GPL
|
||||
URL: http://baruch.ev-en.org/proj/websec/
|
||||
Source0: http://baruch.ev-en.org/proj/websec/websec-1.9.0.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: /usr/sbin/sendmail
|
||||
|
||||
%description
|
||||
Web Secretary is a web page change monitoring software. It will detect changes
|
||||
based on content analysis, making sure that it's not just HTML that changed,
|
||||
but actual content. You can tell it what to ignore in the page (hit counters
|
||||
and such), and it can mail you the document with the changes highlighted or
|
||||
load the highlighted page in a browser.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
make PREFIX=%{_prefix} %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT .__doc
|
||||
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
|
||||
|
||||
# proper permissions for man pages
|
||||
chmod 0644 $RPM_BUILD_ROOT%{_datadir}/man/man*/*
|
||||
|
||||
# temp doc dir
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/doc/websec .__doc
|
||||
|
||||
# having the next two in the proper place would require proper dependencies,
|
||||
# which is probably not worth the trouble as that would be bloat for most
|
||||
# users; so ship them as doc, that's better then not shipping them at all
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/vim/vim61 $RPM_BUILD_ROOT%{_datadir}/emacs/ \
|
||||
.__doc/
|
||||
mkdir .__doc/scripts
|
||||
cp rollback htmldiff .__doc/scripts/
|
||||
chmod -x .__doc/scripts/*
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING HACKING NEWS TODO .__doc/*
|
||||
%{_bindir}/*
|
||||
%{_datadir}/man/man*/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Apr 08 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.9.0-3.5
|
||||
- rebuild
|
||||
|
||||
* Sun Apr 08 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.9.0-3
|
||||
- remove the / add the end of the mv command
|
||||
|
||||
* Sat Apr 07 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.9.0-2
|
||||
- Fixes found during review (#235573):
|
||||
- noarch automatically disables debuginfo
|
||||
- require /usr/sbin/sendmail instead of smtpdaemon
|
||||
|
||||
* Sat Apr 07 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.9.0-1
|
||||
- Initial package
|
||||
Loading…
Add table
Add a link
Reference in a new issue