From 9d191894a587d67cacceb69b868160250820cfa7 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 17 Oct 2019 14:22:44 +0200 Subject: Drop automake build support. Add basic cmake build instructions in the INSTALL file. Deleted empty file: NEWS. Deleted obsolete file: kkbswitch.spec . Some cleanup in the README, the "man" page and the "help" page files. The man page as well as the icons have moved in their own folder. Signed-off-by: gregory guy --- kkbswitch.spec | 104 --------------------------------------------------------- 1 file changed, 104 deletions(-) delete mode 100644 kkbswitch.spec (limited to 'kkbswitch.spec') diff --git a/kkbswitch.spec b/kkbswitch.spec deleted file mode 100644 index 5dd4984..0000000 --- a/kkbswitch.spec +++ /dev/null @@ -1,104 +0,0 @@ -# This spec file was generated using Kpp -# If you find any problems with this spec file please report -# the error to ian geiser - -# build with --without ru_ua_layout to disable installation -# of ru_ua XKB layout file - -Summary: Keyboard layout indicator for KDE -Name: kkbswitch -Version: 1.4.3 -Release: 1 -License: GPL -Vendor: Leonid Zeitlin -Url: http://kkbswitch.sourceforge.net -Packager: Leonid Zeitlin -Group: User Interface/Desktops -Source: kkbswitch-%{version}.tar.gz -BuildRequires: tdelibs-devel -BuildRoot: %{_tmppath}/kkbswitch-root - -%description -KKBSwitch is a keyboard layout indicator for KDE. It is useful when -you have configured the XKeyboard extension of your X Server to have more -than one keyboard group (layout), for example US/ASCII and Russian. -KKBSwitch displays an icon in the system tray that indicates which layout -is currently active. Note that KKBSwitch does not help you configure -XKeyboard, it merely serves as the indicator of the current layout. You -still have to configure XKeyboard by editing the XF86Config file. - -%prep -%setup - -%build -export TDEDIR=%{_prefix} -# Workaround for legacy auto* tools -#[ -x /usr/bin/autoconf-2.5? ] && ln -s /usr/bin/autoconf-2.5? autoconf -#[ -x /usr/bin/autoheader-2.5? ] && ln -s /usr/bin/autoheader-2.5? -#autoheader -#[ -x /usr/bin/aclocal-1.5 ] && ln -s /usr/bin/aclocal-1.5 aclocal -#[ -x /usr/bin/automake-1.5 ] && ln -s /usr/bin/automake-1.5 automake -#export PATH=`pwd`:$PATH -# End workaround - -CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \ - --prefix=%{_prefix} --mandir=%{_mandir} $LOCALFLAGS \ - %{?_with_ru_ua_layout:--enable-ru-ua-layout} - -# Setup for parallel builds -numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` -if [ "$numprocs" = "0" ]; then - numprocs=1 -fi - -make -j$numprocs - -%install -make install-strip DESTDIR=$RPM_BUILD_ROOT - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%doc %{_docdir}/HTML/*/kkbswitch/* -%{_bindir}/kkbswitch -%{_datadir}/applnk/Utilities/kkbswitch.desktop -%{_datadir}/apps/kkbswitch/* -%{_datadir}/apps/tdeconf_update/kkbswitch.upd -%{_datadir}/apps/tdeconf_update/kkbswitch_update_14_icons -%{_datadir}/apps/tdeconf_update/kkbswitch_update_14_options -%{_datadir}/locale/*/LC_MESSAGES/kkbswitch.mo -%{_datadir}/autostart/kkbswitch.desktop -%{_mandir}/man1/kkbswitch.1* -%if 0%{?_with_ru_ua_layout:1} -/usr/X11R6/lib/X11/xkb/symbols/ru_ua -%endif -%changelog -* Sat Jan 15 2005 Leonid Zeitlin 1.4.2 -- Version 1.4.3 - -* Sat Nov 13 2004 Leonid Zeitlin 1.4.2-2 -- Added explicit BuildRequires: tdelibs-devel -- Don't use %configure, it causes binary to be named something like - i686-redhat-linux-gnu-kkbswitch on older (RH 7.3) systems - -* Sat Nov 6 2004 Leonid Zeitlin -- Version 1.4.2 - -* Tue Jun 15 2004 Leonid Zeitlin -- Version 1.4.1 - -* Sat May 8 2004 Leonid Zeitlin -- Version 1.4 -- provide files list explicitly -- --without ru_ua_layout support - -* Thu Jan 8 2004 Leonid Zeitlin -- Version 1.3.2 - -* Sun Nov 2 2003 Leonid Zeitlin -- Version 1.3.1 - -* Tue Oct 21 2003 Leonid Zeitlin -- Version 1.3 -- cgit v1.2.3