File warp.spec of Package warp
#
# spec file for package warp
#
# 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/
#
%define _lto_cflags %{nil}
Name: warp
Version: 0.8.1
Release: 0
Summary: Fast and secure file transfer
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/World/warp
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.zst
Source1000: license-list-data-v3.26.0.tar.gz
BuildRequires: cargo-packaging
BuildRequires: meson
BuildRequires: itstool
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(zbar)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0)
BuildRequires: pkgconfig(libadwaita-1)
%description
Warp allows you to securely send files to each other via the internet or local network by exchanging a word-based code.
The best transfer method will be determined using the Magic Wormhole protocol which includes local network transfer if possible.
File transfers are encrypted.
%lang_package
%prep
%autosetup -a1
tar xf %{SOURCE1000}
mv license-list-data-v3.26.0 vendor/license-3.6.0+3.26.0/license-list-data
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%files
%license LICENSE
%doc README.md
%{_bindir}/warp
%{_datadir}/applications/*.desktop
%{_datadir}/icons/*/*/*/*.svg
%{_datadir}/metainfo/*.metainfo.xml
%{_datadir}/warp/
%files lang -f %{name}.lang
%changelog