From 4a94e5f2251acd3a8198345a9fbaba18b32547a4 Mon Sep 17 00:00:00 2001 From: dsommers Date: Nov 16 2009 18:01:45 +0000 Subject: Imported imapfilter-2.0.11 --- diff --git a/.cvsignore b/.cvsignore index e69de29..3239b02 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +imapfilter-2.0.11.tar.bz2 diff --git a/imapfilter-configure.patch b/imapfilter-configure.patch new file mode 100644 index 0000000..9ed668b --- /dev/null +++ b/imapfilter-configure.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index 6b5b0d5..0be3f84 100755 +--- a/configure ++++ b/configure +@@ -13,7 +13,7 @@ crammd5="yes" + incdirs="-I/usr/local/include" + libdirs="-L/usr/local/lib" + +-mycflags="$CFLAGS -Wall -O" ++mycflags="$CFLAGS -Wall" + myldflags="$LDFLAGS" + + libs="-lm -llua -lpcre" diff --git a/imapfilter.spec b/imapfilter.spec new file mode 100644 index 0000000..09c7317 --- /dev/null +++ b/imapfilter.spec @@ -0,0 +1,69 @@ +Name: imapfilter +Version: 2.0.11 +Release: 3%{?dist} +Summary: A flexible client side mail filtering utility for IMAP servers + +Group: Applications/Internet +License: MIT +URL: http://imapfilter.hellug.gr/ +Source0: http://imapfilter.hellug.gr/source/imapfilter-%{version}.tar.bz2 +Patch0: http://people.redhat.com/~dsommers/imapfilter/imapfilter-configure.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: openssl-devel lua-devel pcre-devel + +%description +IMAPFilter is a mail filtering utility. It connects to remote mail servers +using the Internet Message Access Protocol (IMAP), sends searching queries +to the server and processes mailboxes based on the results. It can be used +to delete, copy, move, flag, etc. messages residing in mailboxes at the +same or different mail servers. The 4rev1 and 4 versions of the IMAP +protocol are supported. + + +%prep +%setup -q +%patch0 -p1 + +%build +# As the ./configure script in imapfilter is not autotools based, other arguments need to +# be used. This will cause rpmlint configure-without-libdir-spec warnings on the spec file +# and the src.rpm. +CFLAGS=$RPM_OPT_FLAGS ./configure -p %{_prefix} -b %{_bindir} -s %{_datadir}/imapfilter -m %{_mandir} +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README LICENSE +%{_bindir}/imapfilter +%{_datadir}/imapfilter/ +%{_mandir}/man1/imapfilter.1.gz +%{_mandir}/man5/imapfilter_config.5.gz + + +%changelog +* Tue Oct 13 2009 David Sommerseth - 2.0.11-3 +- Apply patch overriding -O optimisation and removed not needed install lines + +* Thu Sep 24 2009 David Sommerseth - 2.0.11-2 +- Use $RPM_OPT_FLAGS as CFLAGS + +* Wed Sep 23 2009 David Sommerseth - 2.0.11-1 +- Updated to imapfilter-2.0.11 and more clean up in spec rules + +* Mon Aug 10 2009 David Sommerseth - 2.0.10-2 +- Cleaned up the spec rules + +* Thu Aug 6 2009 David Sommerseth - 2.0.10-1 +- First cut at spec file for imapfilter + diff --git a/import.log b/import.log new file mode 100644 index 0000000..2ab923a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +imapfilter-2_0_11-3_fc11:HEAD:imapfilter-2.0.11-3.fc11.src.rpm:1258394458 diff --git a/sources b/sources index e69de29..87c9e27 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +752a895a17754666a490bd445577309d imapfilter-2.0.11.tar.bz2