2013-07-25 12:54:53 +00:00
|
|
|
#
|
|
|
|
# spec file for package wgetpaste
|
|
|
|
#
|
2024-03-17 11:54:30 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2013-07-25 12:54:53 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-09-10 06:28:06 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-07-25 12:54:53 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: wgetpaste
|
2024-03-17 11:54:30 +00:00
|
|
|
Version: 2.34
|
2013-07-25 12:54:53 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Command-line interface to various pastebins
|
2020-09-10 06:28:06 +00:00
|
|
|
License: MIT
|
2013-07-25 12:54:53 +00:00
|
|
|
Group: Productivity/Other
|
2021-10-18 08:41:18 +00:00
|
|
|
URL: https://github.com/zlin/wgetpaste
|
|
|
|
Source0: https://github.com/zlin/wgetpaste/releases/download/%{version}/wgetpaste-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/zlin/wgetpaste/releases/download/%{version}/wgetpaste-%{version}.tar.xz.sig
|
|
|
|
Source2: services.conf
|
2022-12-03 07:40:09 +00:00
|
|
|
Source3: wgetpaste.keyring
|
2013-07-25 12:54:53 +00:00
|
|
|
Requires: bash
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: wget
|
2016-04-16 14:43:47 +00:00
|
|
|
Recommends: xclip
|
2013-07-25 12:54:53 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Command-line interface to communicate with various pastebin services.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
# do nothing
|
|
|
|
|
|
|
|
%install
|
2014-11-24 13:36:51 +00:00
|
|
|
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
|
2021-10-18 08:41:18 +00:00
|
|
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}.d/services.conf
|
2014-11-24 13:36:51 +00:00
|
|
|
install -D -m 0644 _%{name} %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
|
2013-07-25 12:54:53 +00:00
|
|
|
|
|
|
|
%files
|
2020-09-10 06:28:06 +00:00
|
|
|
%license LICENSE
|
2014-11-24 13:36:51 +00:00
|
|
|
%dir %{_sysconfdir}/%{name}.d/
|
|
|
|
%dir %{_datadir}/zsh/site-functions/
|
|
|
|
%dir %{_datadir}/zsh/
|
|
|
|
%{_datadir}/zsh/site-functions/_%{name}
|
|
|
|
%config %{_sysconfdir}/%{name}.d/services.conf
|
|
|
|
%{_bindir}/%{name}
|
2013-07-25 12:54:53 +00:00
|
|
|
|
|
|
|
%changelog
|