Accepting request 1177880 from home:kskarthik
fixed the strip binary lint warning OBS-URL: https://build.opensuse.org/request/show/1177880 OBS-URL: https://build.opensuse.org/package/show/server:mail/pop?expand=0&rev=1
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 07:11:00 UTC 2024 - Sai Karthik Karra <kskarthik@disroot.org>
|
||||
|
||||
This release includes our most requested feature, SMTP support 🪄 ✉️.
|
||||
|
||||
With Pop v0.2.0, you can now send emails using your own SMTP server configuration.
|
||||
|
||||
To get started, export the following environment variables:
|
||||
|
||||
export POP_SMTP_HOST=smtp.gmail.com
|
||||
export POP_SMTP_PORT=587
|
||||
export POP_SMTP_USERNAME=azure.diamond@gmail.com
|
||||
export POP_SMTP_PASSWORD=hunter2
|
||||
|
||||
Then, run pop and send emails like you normally would:
|
||||
@@ -0,0 +1,58 @@
|
||||
#
|
||||
# spec file for package pop
|
||||
#
|
||||
# Copyright (c) specCURRENT_YEAR 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: pop
|
||||
Version: 0.2.0
|
||||
Release: 0
|
||||
Summary: Send emails from your terminal
|
||||
License: MIT
|
||||
Group: Productivity/Networking/Email/Utilities
|
||||
URL: https://github.com/charmbracelet/pop
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source1: vendor.tar.gz
|
||||
BuildRequires: golang(API) >= 1.18
|
||||
BuildRequires: zstd
|
||||
|
||||
%description
|
||||
Send emails from your terminal
|
||||
|
||||
%prep
|
||||
%autosetup -a1
|
||||
|
||||
%build
|
||||
export GOWORK=off
|
||||
|
||||
go build \
|
||||
-mod=vendor \
|
||||
-buildmode=pie \
|
||||
-ldflags "-s -w"
|
||||
|
||||
%install
|
||||
# Install the binary.
|
||||
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
|
||||
|
||||
%check
|
||||
# execute the binary as a basic check
|
||||
./%{name} --help
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,20 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="manual">
|
||||
<param name="url">https://github.com/charmbracelet/pop.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">v0.2.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
<param name="basename">pop</param>
|
||||
</service>
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
</service>
|
||||
</services>
|
||||
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/charmbracelet/pop.git</param>
|
||||
<param name="changesrevision">99f44cc8822a5ba564f0eb02b8a19b92530834d9</param></service></servicedata>
|
||||
@@ -0,0 +1,24 @@
|
||||
*.changes merge=merge-changes
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1,4 @@
|
||||
*.obscpio
|
||||
*.osc
|
||||
_build.*
|
||||
.pbuild
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48cfe4a6a78f20cd4bb0acb021c79d206c4f4163b4cbeabf4fee5d145d216fb0
|
||||
size 17124
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae52b1e90518d15d5cb90d8e5be1c63dae1bb93cc54f5d5ef53af84e464e972d
|
||||
size 2492796
|
||||
Reference in New Issue
Block a user