summaryrefslogtreecommitdiffstats
path: root/build-kshowmail
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 15:57:00 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 15:57:00 -0500
commitb888c7edb54e483ec0e3c2e2ce0eafd73acdcc65 (patch)
tree7ca76d42f66fb21ea08142de9a8d3bf16e597404 /build-kshowmail
downloadkshowmail-b888c7edb54e483ec0e3c2e2ce0eafd73acdcc65.tar.gz
kshowmail-b888c7edb54e483ec0e3c2e2ce0eafd73acdcc65.zip
Initial import from kshowmail 3.3.1 sources
Diffstat (limited to 'build-kshowmail')
-rw-r--r--build-kshowmail/RPMROOT/SPECS/kshowmail.spec48
-rw-r--r--build-kshowmail/RPMROOT/tmp/rpm-tmp.2244728
-rw-r--r--build-kshowmail/rpmmacros2
-rw-r--r--build-kshowmail/rpmrc1
4 files changed, 79 insertions, 0 deletions
diff --git a/build-kshowmail/RPMROOT/SPECS/kshowmail.spec b/build-kshowmail/RPMROOT/SPECS/kshowmail.spec
new file mode 100644
index 0000000..8df44d4
--- /dev/null
+++ b/build-kshowmail/RPMROOT/SPECS/kshowmail.spec
@@ -0,0 +1,48 @@
+# This spec file was generated using Kpp
+# If you find any problems with this spec file please report
+# the error to ian geiser <geiseri@msoe.edu>
+Summary:
+Name: kshowmail
+Version: 3.0.1-beta
+Release: 0
+Copyright: GPL
+Vendor: Eggert Ehmke <eggert.ehmke@berlin.de>
+Url: http://www.sourceforge.net/projects/kshowmail
+
+Packager: Eggert Ehmke <eggert.ehmke@berlin.de>
+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
new file mode 100644
index 0000000..0299be2
--- /dev/null
+++ b/build-kshowmail/RPMROOT/tmp/rpm-tmp.22447
@@ -0,0 +1,28 @@
+#!/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
diff --git a/build-kshowmail/rpmmacros b/build-kshowmail/rpmmacros
new file mode 100644
index 0000000..6c1e8a2
--- /dev/null
+++ b/build-kshowmail/rpmmacros
@@ -0,0 +1,2 @@
+%_topdir /home/eggert/src/kshowmail//build-kshowmail/RPMROOT/
+%_tmppath /home/eggert/src/kshowmail//build-kshowmail/RPMROOT/tmp/
diff --git a/build-kshowmail/rpmrc b/build-kshowmail/rpmrc
new file mode 100644
index 0000000..eb05bb1
--- /dev/null
+++ b/build-kshowmail/rpmrc
@@ -0,0 +1 @@
+macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/home/eggert/src/kshowmail//build-kshowmail/rpmmacros