From e167d15409204539a0fa3a5b7260ca090192d6fa Mon Sep 17 00:00:00 2001 From: gregory guy Date: Wed, 30 Sep 2020 11:03:15 +0200 Subject: Drop automake build support. Add basic cmake build instructions. Delete empty folder templates. Delete rpm stuff (kshowmail.spec and build-kshowmail folder). Rework of the README and AUTHORS files. Add BUGS file. Move the kshowmail.desktop file into XDG_APPS_INSTALL_DIR directory, see TDE/tde#26 and bug 2408. Some cosmetics. Signed-off-by: gregory guy --- build-kshowmail/RPMROOT/SPECS/kshowmail.spec | 48 ---------------------------- build-kshowmail/RPMROOT/tmp/rpm-tmp.22447 | 28 ---------------- 2 files changed, 76 deletions(-) delete mode 100644 build-kshowmail/RPMROOT/SPECS/kshowmail.spec delete mode 100644 build-kshowmail/RPMROOT/tmp/rpm-tmp.22447 (limited to 'build-kshowmail/RPMROOT') diff --git a/build-kshowmail/RPMROOT/SPECS/kshowmail.spec b/build-kshowmail/RPMROOT/SPECS/kshowmail.spec deleted file mode 100644 index 8df44d4..0000000 --- a/build-kshowmail/RPMROOT/SPECS/kshowmail.spec +++ /dev/null @@ -1,48 +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 -Summary: -Name: kshowmail -Version: 3.0.1-beta -Release: 0 -Copyright: GPL -Vendor: Eggert Ehmke -Url: http://www.sourceforge.net/projects/kshowmail - -Packager: Eggert Ehmke -Group: Mail -Source: kshowmail-3.0.1-beta.tar.gz -BuildRoot: - -%description - - -%prep -%setup -CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \ - \ - $LOCALFLAGS -%build -# 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 - -cd $RPM_BUILD_ROOT -find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.kshowmail -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kshowmail -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kshowmail - -%clean -rm -rf $RPM_BUILD_ROOT/* -rm -rf $RPM_BUILD_DIR/kshowmail -rm -rf ../file.list.kshowmail - - -%files -f ../file.list.kshowmail diff --git a/build-kshowmail/RPMROOT/tmp/rpm-tmp.22447 b/build-kshowmail/RPMROOT/tmp/rpm-tmp.22447 deleted file mode 100644 index 0299be2..0000000 --- a/build-kshowmail/RPMROOT/tmp/rpm-tmp.22447 +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -RPM_SOURCE_DIR="/home/eggert/src/kshowmail//build-kshowmail/RPMROOT//SOURCES" -RPM_BUILD_DIR="/home/eggert/src/kshowmail//build-kshowmail/RPMROOT//BUILD" -RPM_OPT_FLAGS="-O2" -RPM_ARCH="i386" -RPM_OS="linux" -export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS -RPM_DOC_DIR="/usr/doc/packages" -export RPM_DOC_DIR -RPM_PACKAGE_NAME="kshowmail" -RPM_PACKAGE_VERSION="2.1.e" -RPM_PACKAGE_RELEASE="cd /home/eggert/src/kshowmail/build-kshowmail/RPMROOT/BUILD -rm -rf kshowmail-2.1.e -/bin/gzip -dc /home/eggert/src/kshowmail/build-kshowmail/RPMROOT/SOURCES/kshowmail-2.1.e.tar.gz | tar -xvvf - -STATUS=$? -if [ $STATUS -ne 0 ]; then - exit $STATUS -fi -cd kshowmail-2.1.e -[ `/usr/bin/id -u` = '0' ] && /bin/chown -Rhf root . -[ `/usr/bin/id -u` = '0' ] && /bin/chgrp -Rhf root . -/bin/chmod -Rf a+rX,g-w,o-w . -CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \ - \ - $LOCALFLAGS - -exit 0 \ No newline at end of file -- cgit v1.2.1