61 lines
1.8 KiB
RPMSpec
61 lines
1.8 KiB
RPMSpec
|
#
|
||
|
# spec file for package meli
|
||
|
#
|
||
|
# Copyright (c) 2022 SUSE LLC
|
||
|
#
|
||
|
# All modifications and additions to the file contributed by third parties
|
||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||
|
# upon. The license for this file, and modifications and additions to the
|
||
|
# file, is the same license as for the pristine package itself (unless the
|
||
|
# license for the pristine package is not an Open Source License, in which
|
||
|
# case the license is the MIT License). An "Open Source License" is a
|
||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||
|
# published by the Open Source Initiative.
|
||
|
|
||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
Name: meli
|
||
|
Version: 0.7.2~0
|
||
|
Release: 0
|
||
|
Summary: Terminal email client
|
||
|
License: GPL-3.0-or-later
|
||
|
Group: Productivity/Networking/Email/Clients
|
||
|
URL: https://meli.delivery/
|
||
|
Source0: %{name}-alpha-%{version}.tar.xz
|
||
|
Source1: vendor.tar.xz
|
||
|
Source2: cargo_config
|
||
|
BuildRequires: cargo-packaging
|
||
|
BuildRequires: dbus-1-glib-devel
|
||
|
BuildRequires: libopenssl-devel
|
||
|
BuildRequires: sqlite3-devel
|
||
|
|
||
|
%description
|
||
|
Terminal email client with support for multiple accounts and Maildir / mbox / notmuch / IMAP / JMAP.
|
||
|
|
||
|
%prep
|
||
|
%setup -qa1 -n %{name}-alpha-%{version}
|
||
|
mkdir .cargo
|
||
|
cp %{SOURCE2} .cargo/config
|
||
|
|
||
|
%build
|
||
|
%{cargo_build}
|
||
|
|
||
|
%install
|
||
|
%{cargo_install}
|
||
|
|
||
|
install -Dm644 docs/meli.1 %{buildroot}%{_mandir}/man1/meli.1
|
||
|
install -Dm644 docs/meli.conf.5 %{buildroot}%{_mandir}/man5/meli.conf.5
|
||
|
install -Dm644 docs/meli-themes.5 %{buildroot}%{_mandir}/man5/meli-themes.5
|
||
|
|
||
|
%files
|
||
|
%license COPYING
|
||
|
%doc CHANGELOG.md README.md
|
||
|
%{_bindir}/meli
|
||
|
%{_mandir}/man1/meli.1%{?ext_man}
|
||
|
%{_mandir}/man5/meli-themes.5%{?ext_man}
|
||
|
%{_mandir}/man5/meli.conf.5%{?ext_man}
|
||
|
|
||
|
%changelog
|