SPECS: NewsFeed.spec (NEW) - added
twittner
twittner at pld-linux.org
Tue Aug 16 17:32:23 CEST 2005
Author: twittner Date: Tue Aug 16 15:32:23 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
NewsFeed.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/NewsFeed.spec
diff -u /dev/null SPECS/NewsFeed.spec:1.1
--- /dev/null Tue Aug 16 17:32:23 2005
+++ SPECS/NewsFeed.spec Tue Aug 16 17:32:17 2005
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.python
+%define lname %(echo %{name} | tr [:upper:] [:lower:])
+Summary: A reader and aggregator for RSS/RDF/Atom feeds in Python/Tk
+Name: NewsFeed
+Version: 2.4
+Release: 0.1
+License: GPL
+Group: Applications
+Source0: http://home.arcor.de/mdoege/newsfeed/%{name}-%{version}.tar.gz
+# Source0-md5: 08ac1f889e7f4551a896b59b7a52cf01
+Source1: %{lname}.desktop
+Source2: %{lname}.png
+BuildRequires: rpmbuild(macros) >= 1.231
+BuildRequires: rpm-pythonprov
+Requires: python-tkinter >= 2.3
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A reader and aggregator for RSS/RDF/Atom feeds in Python/Tk
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python ./setup.py install \
+ --root=$RPM_BUILD_ROOT
+
+%{py_ocomp} $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}
+%{py_postclean}
+
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{lname}.desktop
+install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{lname}.png
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.html
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/*.py[co]
+%{_desktopdir}/*
+%{_pixmapsdir}/*
+
+%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 2005/08/16 15:32:17 twittner
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list