From b888c7edb54e483ec0e3c2e2ce0eafd73acdcc65 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 15:57:00 -0500 Subject: Initial import from kshowmail 3.3.1 sources --- build-kshowmail/RPMROOT/SPECS/kshowmail.spec | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 build-kshowmail/RPMROOT/SPECS/kshowmail.spec (limited to 'build-kshowmail/RPMROOT/SPECS') 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 +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 -- cgit v1.2.1