[alot] initial package
Tomas Tomecek
ttomecek at fedoraproject.org
Tue Aug 12 11:34:54 UTC 2014
commit 9791b53dc67bd43feb06e1361125c59a93682da0
Author: Tomas Tomecek <ttomecek at redhat.com>
Date: Tue Aug 12 13:34:42 2014 +0200
initial package
.gitignore | 1 +
alot.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..169f8b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/alot-9abcc757db854cfe3024dc81d89dac66b960eade.tar.gz
diff --git a/alot.spec b/alot.spec
new file mode 100644
index 0000000..4a995f1
--- /dev/null
+++ b/alot.spec
@@ -0,0 +1,64 @@
+%global owner pazz
+%global commit 9abcc757db854cfe3024dc81d89dac66b960eade
+
+Name: alot
+Version: 0.3.6
+Release: 1%{?dist}
+Summary: An experimental terminal MUA based on notmuch mail
+
+Group: Applications/Internet
+License: GPLv3
+URL: https://github.com/%{owner}/%{name}
+Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-sphinx
+Requires: python-notmuch
+Requires: python-urwid
+Requires: python-twisted
+Requires: gpgme
+Requires: python-configobj
+Requires: python-magic
+
+%description
+alot makes use of existing solutions where possible: It does not fetch, send or
+edit mails; it lets notmuch handle your mailindex and uses a toolkit to render
+its display. You are responsible for automatic initial tagging.
+
+
+%prep
+%setup -qn %{name}-%{commit}
+
+
+%build
+%{__python2} setup.py build
+pushd docs
+make %{?_smp_mflags} man
+popd
+
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+pushd docs
+mkdir -p %{buildroot}%{_mandir}/man1/
+install -p -m 0644 build/man/alot.1* %{buildroot}%{_mandir}/man1/
+popd
+# remove examples of using urwidtrees
+rm %{buildroot}%{python2_sitelib}/alot/foreign/urwidtrees/example*
+
+
+%files
+%{python2_sitelib}/alot/*
+%{python2_sitelib}/alot-%{version}-*.egg-info
+%doc NEWS
+%doc COPYING
+%doc README.md
+%{_bindir}/alot
+%{_mandir}/man1/alot*
+
+
+%changelog
+* Tue Aug 12 2014 Tomas Tomecek <ttomecek at redhat.com> - 0.3.6-1
+- initial package
+
diff --git a/sources b/sources
index e69de29..547993c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b6297c907e58864ca09525ff591b1968 alot-9abcc757db854cfe3024dc81d89dac66b960eade.tar.gz
More information about the scm-commits
mailing list