1 Summary: Displays and switched the current keyboard layout
2 Summary(pl.UTF-8): Wyświetlanie i przełączanie bieżącego układu klawiatury
7 Group: X11/Applications
8 Source0: http://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/0.8/%{name}-%{version}.tar.bz2
9 # Source0-md5: 16ed2f9fdd7107383a209625f616d398
10 URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin
11 BuildRequires: garcon-devel
12 BuildRequires: gettext-tools
13 BuildRequires: librsvg-devel >= 2.18.0
14 BuildRequires: libwnck-devel >= 2.12.0
15 BuildRequires: libxklavier-devel >= 5.3
16 BuildRequires: pkgconfig
17 BuildRequires: xfce4-dev-tools >= 4.12.0
18 BuildRequires: xfce4-panel-devel >= 4.12.0
19 Requires: xfce4-panel >= 4.12.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This plugin displays and switched the current keyboard layouts. The
24 new version can display the layout as text label and also as an image
25 of the corresponding country's flag.
27 %description -l pl.UTF-8
28 Ta wtyczka wyświetla i przełącza bieżący układ klawiatury. Nowa wersja
29 potrafi wyświetlać układ jako etykietkę tekstową albo jako grafikę
30 przedstawiającą flagę narodową.
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
52 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,ur_PK,uz@Latn}
53 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxkb.la
58 rm -rf $RPM_BUILD_ROOT
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog COPYING
63 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxkb.so
64 %{_datadir}/xfce4/panel/plugins/xkb.desktop
66 %{_iconsdir}/hicolor/*x*/apps/org.xfce.panel.xkb.png
67 %{_iconsdir}/hicolor/scalable/apps/org.xfce.panel.xkb.svg