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
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)
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.
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.
38 %setup -q -n %{_realname}-%{version}
41 cp -f /usr/share/automake/config.sub .
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT \
50 localedir=%{_datadir}/locale
52 %find_lang lock-keys-applet --with-gnome --all-name
55 rm -rf $RPM_BUILD_ROOT
58 %scrollkeeper_update_post
61 %scrollkeeper_update_postun
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