1 %define _realname radialcontext
2 Summary: A radial context menu for Mozilla
3 Summary(pl.UTF-8): Menu kontekstowe dla mozilli
4 Name: mozilla-addon-%{_realname}
8 Group: X11/Applications/Networking
9 Source0: http://www.radialthinking.de/radialcontext/RadialContext.xpi
10 # Source0-md5: 9727c912580f062106f5b60de04c4331
11 Source1: %{_realname}-installed-chrome.txt
12 URL: http://www.radialthinking.de/radialcontext/
15 Requires(post,postun): mozilla >= 5:1.7.3-3
16 Requires(post,postun): textutils
17 Requires: mozilla >= 2:1.0-7
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _chromedir %{_datadir}/mozilla/chrome
24 The RadialContext menu is a hierarchical, context-sensitive pie menu
25 for Mozilla. It offers an alternative to both the normal context menu
26 and mouse gestures. The feeling is very similar to mouse gestures. But
27 there also is a GUI so you don't have to look up what options are
28 available in the given context.
30 %description -l pl.UTF-8
31 RadialContext stanowi hierarchiczne, zależne od kontekstu okrągłe menu
32 dla mozilli. Stanowi alternatywę zarówno dla zwykłego menu
33 kontekstowego, jak i dla ruchów myszki. Odczucia są bardzo podobne do
34 ruchów myszki. Ale jest jeszcze interfejs graficzny (GUI), więc nie ma
35 potrzeby sprawdzania, które opcję są dostępne w danym kontekście.
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_chromedir}
46 zip -r -9 -m ../%{_realname}.jar ./
48 install %{SOURCE1} $RPM_BUILD_ROOT%{_chromedir}
49 install %{_realname}.jar $RPM_BUILD_ROOT%{_chromedir}
52 rm -rf $RPM_BUILD_ROOT
56 %{_sbindir}/mozilla-chrome+xpcom-generate
60 [ ! -x %{_sbindir}/mozilla-chrome+xpcom-generate ] || %{_sbindir}/mozilla-chrome+xpcom-generate
63 %defattr(644,root,root,755)
65 %{_chromedir}/%{_realname}.jar
66 %{_chromedir}/%{_realname}-installed-chrome.txt