]>
Commit | Line | Data |
---|---|---|
7b7078ba | 1 | # TODO |
2 | # - do something (what?) with bs and nn locales | |
3 | # - what about la locale? | |
16b2adf9 | 4 | # - does not work with awesome (with tiling wms?) |
7b7078ba | 5 | # |
6 | Summary: Allarm panel applet for GNOME | |
7 | Summary(pl.UTF-8): Budzik dla GNOME | |
8 | Name: alarm-clock | |
9 | Version: 0.9.18 | |
10 | Release: 0.1 | |
11 | License: GPL v2 | |
12 | Group: Applications | |
13 | Source0: http://89.76.224.23/downloads/%{name}-%{version}.tar.bz2 | |
14 | # Source0-md5: b6160b767cb5634db0b9afbda3b6a5ac | |
15 | URL: http://alarm-clock.54.pl/ | |
16 | BuildRequires: python-devel | |
17 | BuildRequires: rpm-pythonprov | |
16b2adf9 | 18 | Requires: dbus(org.freedesktop.Notifications) |
7b7078ba | 19 | Requires: gstreamer-audio-formats |
7b7078ba | 20 | Requires: python-gstreamer |
21 | Requires: python-pynotify | |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Alarm Clock is a small alarm panel applet developed in Python for | |
27 | GNOME/GTK desktop environments. It supports sound fading, scheduled | |
28 | alarms, snooze option, passive window reminders, exception lists for | |
29 | scheduled alarms, exporting alarms and much more! | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Alarm Clock to budzik napisany jako applet dla środowiska GNOME. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
7427652b | 38 | %py_build |
7b7078ba | 39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
7427652b | 42 | %py_install |
7b7078ba | 43 | |
44 | find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \; | |
45 | %find_lang %{name} | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files -f %{name}.lang | |
51 | %defattr(644,root,root,755) | |
52 | %doc ChangeLog README | |
53 | %attr(755,root,root) %{_bindir}/alarm-clock | |
54 | %{_datadir}/%{name} | |
55 | %{_desktopdir}/alarm-clock.desktop | |
56 | %{_pixmapsdir}/alarm-clock.svg | |
57 | %{py_sitescriptdir}/alarmclock | |
58 | %if "%{py_ver}" > "2.4" | |
59 | %{py_sitescriptdir}/alarm_clock-*.egg-info | |
60 | %endif |