]> git.pld-linux.org Git - SPECS.git/blob - gnome-applet-lock-keys.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / gnome-applet-lock-keys.spec
1 %define         _realname       lock-keys-applet
2 Summary:        Show status of your lock key leds
3 Summary(pl.UTF-8):      Pokazuje status diod klawiatury
4 Name:           gnome-applet-lock-keys
5 Version:        1.0
6 Release:        3
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://www.wh-hms.uni-ulm.de/~mfcn/shared/lock-keys/%{_realname}-%{version}.tar.gz
10 # Source0-md5:  8dc772d62f0881c8978513d7e69de3db
11 URL:            http://mfcn.ilo.de/led_applet/
12 BuildRequires:  gnome-desktop-devel >= 2.2.0
13 BuildRequires:  gnome-panel-devel >= 2.2.0
14 BuildRequires:  libglade2-devel >= 2.0.1
15 BuildRequires:  libgnomeui-devel >= 2.2.0
16 BuildRequires:  rpmbuild(macros) >= 1.71
17 BuildRequires:  scrollkeeper
18 Requires(post,postun):  scrollkeeper
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Lock keys applet is a GNOME 2 applet, that shows the status of the
23 CAPS-, NUM- and SCROLL-Lock keys of your keyboard. This isn't
24 especially usefull for normal keyboards, as they got leds for that.
25 But some keyboards (especially wireless keyboards) don't have. One
26 more feature of the applet is that it saves the status of the
27 lock-keys and restores it, when starting GNOME 2.
28
29 %description -l pl.UTF-8
30 Lock keys applet jest appletem GNOME 2, który pokazuje stan diod
31 CAPS-, NUM- i SCROLL-Lock klawiatury. Nie jest może użyteczny podczas
32 korzystania z normalnej klawiatury, gdyż posiadają one te diody.
33 Jednak niektóre klawiatury (głównie bezprzewodowe) nie posiadają tych
34 diod. Dodatkowym ułatwienie apletu jest to, że zapamiętuje on stan
35 tych klawiszy i odtwarza go przy uruchamianiu GNOME 2.
36
37 %prep
38 %setup -q -n %{_realname}-%{version}
39
40 %build
41 cp -f /usr/share/automake/config.sub .
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         localedir=%{_datadir}/locale
51
52 %find_lang lock-keys-applet --with-gnome --all-name
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 %scrollkeeper_update_post
59
60 %postun
61 %scrollkeeper_update_postun
62
63 %files -f lock-keys-applet.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README TODO
66 %attr(755,root,root) %{_libdir}/lock-keys-applet
67 %{_libdir}/bonobo/servers/GNOME_LockKeysApplet.server
68 %dir %{_omf_dest_dir}/lock-keys-applet
69 %{_omf_dest_dir}/lock-keys-applet/lock-keys-applet-C.omf
70 %lang(de) %{_omf_dest_dir}/lock-keys-applet/lock-keys-applet-de.omf
71 %{_pixmapsdir}/lock-keys-applet.png
This page took 0.270077 seconds and 3 git commands to generate.