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