]> git.pld-linux.org Git - packages/NewsFeed.git/blame_incremental - NewsFeed.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/NewsFeed.git] / NewsFeed.spec
... / ...
CommitLineData
1%define lname newsfeed
2Summary: A reader and aggregator for RSS/RDF/Atom feeds in Python/Tk
3Summary(pl.UTF-8): Czytnik i agregator dla potoków RSS/RDF/Atom w Pythonie-Tk
4Name: NewsFeed
5Version: 2.14
6Release: 0.1
7License: GPL
8Group: Applications
9Source0: http://home.arcor.de/mdoege/newsfeed/%{name}-%{version}.tar.gz
10# Source0-md5: f89f78e7586569455c3c74e14578b859
11Source1: %{lname}.desktop
12Source2: %{lname}.png
13BuildRequires: rpmbuild(macros) >= 1.710
14BuildRequires: rpm-pythonprov
15Requires: python-tkinter >= 2.3
16%pyrequires_eq python-modules
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21A reader and aggregator for RSS/RDF/Atom feeds in Python/Tk
22
23%description -l pl.UTF-8
24Czytnik i agregator dla potoków RSS/RDF/Atom w Pythonie-Tk.
25
26%prep
27%setup -q
28# fix sounds path
29%{__sed} -i -e 's,/usr/X11R6/share/gnome,%{_datadir}/NewsFeed,g' newsfeed.py
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT{%{_datadir}/NewsFeed/sounds,%{_desktopdir},%{_pixmapsdir}}
34
35%py_install
36
37install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{lname}.desktop
38install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{lname}.png
39cp -f email.wav $RPM_BUILD_ROOT%{_datadir}/NewsFeed/sounds
40rm -fr $RPM_BUILD_ROOT/usr/sounds
41
42%py_postclean
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%doc README.html
50%attr(755,root,root) %{_bindir}/*
51%dir %{_datadir}/NewsFeed
52%dir %{_datadir}/NewsFeed/sounds
53%{py_sitescriptdir}/*.py[co]
54%{py_sitescriptdir}/NewsFeed-%{version}-*.egg-info
55%{_datadir}/NewsFeed/sounds/email.wav
56%{_desktopdir}/*.desktop
57%{_pixmapsdir}/*
This page took 0.073866 seconds and 5 git commands to generate.