From 249edbe4915427a70d569e1f46e8c7927497ce95 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Tue, 12 Aug 2014 13:34:42 +0200 Subject: [PATCH] initial package --- .gitignore | 1 + alot.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+) create mode 100644 alot.spec 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 - 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