SPECS: urlwatch.spec (NEW) - initial, sounds like nice tool
lisu
lisu at pld-linux.org
Tue Dec 23 16:39:44 CET 2008
Author: lisu Date: Tue Dec 23 15:39:44 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, sounds like nice tool
---- Files affected:
SPECS:
urlwatch.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/urlwatch.spec
diff -u /dev/null SPECS/urlwatch.spec:1.1
--- /dev/null Tue Dec 23 16:39:44 2008
+++ SPECS/urlwatch.spec Tue Dec 23 16:39:38 2008
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+Summary: Tool for monitoring webpages for updates
+Summary(pl.UTF-8): Narzędzie do obserwacji stron www w poszukiwaniu aktualizacji
+Name: urlwatch
+Version: 1.6
+Release: 1
+License: distributable
+Group: Applications
+Source0: http://thpinfo.com/2008/urlwatch/%{name}-%{version}.tar.gz
+# Source0-md5: 18fa1b017d6b1d8ccd8805c18d512df2
+Patch0: %{name}-useless_files.patch
+URL: http://thpinfo.com/2008/urlwatch/
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+urlwatch is a script intended to help you watch URLs and get notified
+(via email) of any changes. The change notification will include the
+URL that has changed and a unified diff of what has changed. It is
+typically run as a cronjob.
+
+%description -l pl.UTF-8
+urlwatch to skrypt, który ma na celu informowanie użytkownika
+(poprzez email) o wszelkich zmianach dokonanych na stronach www.
+Powiadomienie zawiera wyłącznie informacje o stronach, które
+uległy zmianie w postaci listy różnic (diff). Zazwyczaj uruchamiany
+jest jako zadanie crona.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+# COPYING must be added
+%doc COPYING ChangeLog PKG-INFO examples/*.example
+%attr(755,root,root) %{_bindir}/urlwatch
+%{_mandir}/man1/urlwatch.1*
+%dir %{py_sitescriptdir}/urlwatch
+%{py_sitescriptdir}/urlwatch/*.py[co]
+%{py_sitescriptdir}/*.egg-info
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/12/23 15:39:38 lisu
+- initial, sounds like nice tool
+
================================================================
More information about the pld-cvs-commit
mailing list