[imaptest] Initial import

Robert Scheck robert at fedoraproject.org
Wed Jul 23 10:32:43 UTC 2014


commit c921ccda53dcc6abe8203550966d2e5f56623c5c
Author: Robert Scheck <robert at fedoraproject.org>
Date:   Wed Jul 23 12:10:02 2014 +0200

    Initial import

 .gitignore    |    1 +
 imaptest.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..350caf7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/imaptest-????????.tar.gz
diff --git a/imaptest.spec b/imaptest.spec
new file mode 100644
index 0000000..d487db4
--- /dev/null
+++ b/imaptest.spec
@@ -0,0 +1,56 @@
+Summary:	A generic IMAP server compliancy tester
+Name:		imaptest
+# Upstream is not really planning on adding version numbers
+Version:	20140528
+Release:	2%{?dist}
+License:	MIT
+Group:		Applications/Internet
+URL:		http://www.imapwiki.org/ImapTest
+Source0:	http://dovecot.org/nightly/%{name}/%{name}-20140528.tar.gz
+BuildRequires:	dovecot-devel >= 2.2
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+ImapTest is a generic IMAP server compliancy tester that works with all IMAP
+servers. It supports stress testing with state tracking, scripted testing and
+benchmarking. When stress testing with state tracking ImapTest sends random
+commands to the server and verifies that server's output looks correct. Using
+the scripted testing ImapTest runs a list of predefined scripted tests and
+verifies that server returns expected output.
+
+Examples and details are provided online at: http://www.imapwiki.org/ImapTest
+
+%prep
+%setup -q
+
+# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1103927#c4 (and later)
+sed -e 's@\(^LIBDOVECOT .*\)@\1 -Wl,-rpath -Wl,%{_libdir}/dovecot@' -i src/Makefile.in
+
+%build
+%configure --with-dovecot=%{_libdir}/dovecot
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+# Copy test files for later shipping
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/
+cp -pr src/tests/ $RPM_BUILD_ROOT%{_datadir}/%{name}/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING COPYING.MIT profile.conf
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
+
+%changelog
+* Fri Jun 20 2014 Robert Scheck <robert at fedoraproject.org> 20140528-2
+- Added workaround for missing rpath linking (#1103927 #c4)
+
+* Tue Jun 03 2014 Robert Scheck <robert at fedoraproject.org> 20140528-1
+- Upgrade to 20140528
+- Initial spec file for Fedora and Red Hat Enterprise Linux
diff --git a/sources b/sources
index e69de29..8feff4d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dd307f680c7a73f1030c1d7e200adc24  imaptest-20140528.tar.gz


More information about the scm-commits mailing list