]> git.pld-linux.org Git - packages/system-config-keyboard.git/commitdiff
- for anaconda
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 5 Jun 2006 21:45:26 +0000 (21:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    system-config-keyboard.spec -> 1.1

system-config-keyboard.spec [new file with mode: 0644]

diff --git a/system-config-keyboard.spec b/system-config-keyboard.spec
new file mode 100644 (file)
index 0000000..2d5aa2b
--- /dev/null
@@ -0,0 +1,79 @@
+Summary:       A graphical interface for modifying the keyboard
+Name:          system-config-keyboard
+Version:       1.2.7
+Release:       0.1
+License:       GPL
+Group:         Base
+URL:           http://fedora.redhat.com/projects/config-tools
+Source0:       %{name}-%{version}.tar.bz2
+# Source0-md5: 625462272563a04e917229c1a06fd372
+BuildRequires: desktop-file-utils
+BuildRequires: gettext-devel
+BuildRequires: intltool
+Requires:      gtk+2 >= 2:2.6
+Requires:      python >= 1:2.0
+Requires:      python-xf86config
+Requires:      python-rhpl >= 0.53
+#Requires:     usermode >= 1.36
+BuildArch:     noarch
+ExclusiveOS:   Linux
+ExcludeArch:   s390 s390x ppc64
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+system-config-keyboard is a graphical user interface that allows the
+user to change the default keyboard of the system.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       INSTROOT=$RPM_BUILD_ROOT
+
+desktop-file-install --vendor system --delete-original      \
+  --dir $RPM_BUILD_ROOT%{_desktopdir}             \
+  --add-category Application \
+  --add-category SystemSetup \
+  --add-category X-Red-Hat-Base          \
+  $RPM_BUILD_ROOT%{_desktopdir}/system-config-keyboard.desktop
+
+%py_comp $RPM_BUILD_ROOT/usr/share/system-config-keyboard
+%py_ocomp $RPM_BUILD_ROOT/usr/share/system-config-keyboard
+%py_postclean /usr/share/system-config-keyboard
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+       gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+fi
+
+%preun
+if [ -d /usr/share/system-config-keyboard ] ; then
+       rm -rf /usr/share/system-config-keyboard/*.pyc
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+       gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+fi
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/system-config-keyboard
+%dir /usr/share/system-config-keyboard
+/usr/share/system-config-keyboard/*
+%dir /usr/share/firstboot/
+%dir /usr/share/firstboot/modules
+/usr/share/firstboot/modules/*
+%attr(644,root,root) %{_desktopdir}/system-config-keyboard.desktop
+%attr(644,root,root) %config /etc/security/console.apps/system-config-keyboard
+%attr(644,root,root) %config /etc/pam.d/system-config-keyboard
+%attr(644,root,root) %{_iconsdir}/hicolor/48x48/apps/system-config-keyboard.png
This page took 1.829843 seconds and 4 git commands to generate.