meli/meli.spec
Michael Vetter 0b1bead24f - Update to version 0.8.10:
* Two years of changes is too long. See
    https://github.com/meli/meli/blob/v0.8.10/CHANGELOG.md instead
- Use shipped source tarball instead of archiving git source
- Move from vendor.tar.xz to vendor.tar.zst
- Remove cargo_config

OBS-URL: https://build.opensuse.org/package/show/server:mail/meli?expand=0&rev=2
2024-12-08 14:24:06 +00:00

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.8.10
Release: 0
Summary: Terminal email client
License: GPL-3.0-or-later
Group: Productivity/Networking/Email/Clients
URL: https://meli-email.org/
Source0: https://github.com/meli/meli/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: dbus-1-glib-devel
BuildRequires: libopenssl-devel
BuildRequires: sqlite3-devel
BuildRequires: mandoc-bin
%description
Terminal email client with support for multiple accounts and Maildir / mbox / notmuch / IMAP / JMAP.
%prep
%autosetup -a1 -p1
%build
%{cargo_build}
%install
mkdir -p %{buildroot}%{_bindir}
cp target/release/meli %{buildroot}%{_bindir}
install -Dm644 meli/docs/meli.1 %{buildroot}%{_mandir}/man1/meli.1
install -Dm644 meli/docs/meli.conf.5 %{buildroot}%{_mandir}/man5/meli.conf.5
install -Dm644 meli/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