]> git.pld-linux.org Git - SPECS.git/blob - mozilla-addon-radialcontext.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / mozilla-addon-radialcontext.spec
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}
5 Version:        1.0
6 Release:        3
7 License:        GPL
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/
13 BuildRequires:  unzip
14 BuildRequires:  zip
15 Requires(post,postun):  mozilla >= 5:1.7.3-3
16 Requires(post,postun):  textutils
17 Requires:       mozilla >= 2:1.0-7
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _chromedir      %{_datadir}/mozilla/chrome
22
23 %description
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.
29
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.
36
37 %prep
38 %setup -q -c
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_chromedir}
43
44 cd %{_realname}
45 mv about.txt ..
46 zip -r -9 -m ../%{_realname}.jar ./
47 cd -
48 install %{SOURCE1} $RPM_BUILD_ROOT%{_chromedir}
49 install %{_realname}.jar $RPM_BUILD_ROOT%{_chromedir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post
55 if [ "$1" = 1 ]; then
56         %{_sbindir}/mozilla-chrome+xpcom-generate
57 fi
58
59 %postun
60 [ ! -x %{_sbindir}/mozilla-chrome+xpcom-generate ] || %{_sbindir}/mozilla-chrome+xpcom-generate
61
62 %files
63 %defattr(644,root,root,755)
64 %doc about.txt
65 %{_chromedir}/%{_realname}.jar
66 %{_chromedir}/%{_realname}-installed-chrome.txt
This page took 0.985262 seconds and 3 git commands to generate.