Blame packages/l/lagrange/lagrange.spec

8116d0
#
8116d0
# spec file for package lagrange
8116d0
#
5e89c1
# Copyright (c) 2022 SUSE LLC
8116d0
#
8116d0
# All modifications and additions to the file contributed by third parties
8116d0
# remain the property of their copyright owners, unless otherwise agreed
8116d0
# upon. The license for this file, and modifications and additions to the
8116d0
# file, is the same license as for the pristine package itself (unless the
8116d0
# license for the pristine package is not an Open Source License, in which
8116d0
# case the license is the MIT License). An "Open Source License" is a
8116d0
# license that conforms to the Open Source Definition (Version 1.9)
8116d0
# published by the Open Source Initiative.
8116d0
8116d0
# Please submit bugfixes or comments via https://bugs.opensuse.org/
8116d0
#
8116d0
Bernhard M. Wiedemann 790ed5
8116d0
%define app_id fi.skyjake.Lagrange
8116d0
Name:           lagrange
Bernhard M. Wiedemann f155be
Version:        1.10.5
8116d0
Release:        0
8116d0
Summary:        Desktop GUI client for browsing Geminispace
8116d0
License:        BSD-2-Clause
8116d0
URL:            https://gmi.skyjake.fi/lagrange
8116d0
Source0:        https://git.skyjake.fi/skyjake/lagrange/releases/download/v%{version}/%{name}-%{version}.tar.gz
8116d0
BuildRequires:  cmake
8116d0
BuildRequires:  libunistring-devel
Bernhard M. Wiedemann 790ed5
BuildRequires:  pkgconfig
Bernhard M. Wiedemann 790ed5
BuildRequires:  update-desktop-files
61fbdf
BuildRequires:  zip
Bernhard M. Wiedemann 2e1030
BuildRequires:  pkgconfig(fribidi)
Bernhard M. Wiedemann 2e1030
BuildRequires:  pkgconfig(harfbuzz)
8116d0
BuildRequires:  pkgconfig(libcurl)
8116d0
BuildRequires:  pkgconfig(libmpg123)
8116d0
BuildRequires:  pkgconfig(libpcre)
1cb4cb
BuildRequires:  pkgconfig(libwebp)
8116d0
BuildRequires:  pkgconfig(openssl)
8116d0
BuildRequires:  pkgconfig(sdl2)
8116d0
BuildRequires:  pkgconfig(zlib)
8116d0
8116d0
%description
8116d0
Lagrange is a desktop GUI client for browsing Geminispace. It offers modern
8116d0
conveniences familiar from web browsers, such as smooth scrolling, inline image
8116d0
viewing, multiple tabs, visual themes, Unicode fonts, bookmarks, history, and
8116d0
page outlines.
8116d0
8116d0
%prep
8116d0
%setup -q
8116d0
8116d0
%build
cd99b9
%cmake -DTFDN_ENABLE_SSE41=NO
8116d0
%cmake_build
8116d0
8116d0
%install
8116d0
%cmake_install
8116d0
%suse_update_desktop_file -G "Gemini Client" %{app_id} WebBrowser
8116d0
8116d0
%files
8116d0
%{_bindir}/%{name}
8116d0
%{_datadir}/applications/%{app_id}.desktop
8116d0
%dir %{_datadir}/icons/hicolor
8116d0
%dir %{_datadir}/icons/hicolor/256x256
8116d0
%dir %{_datadir}/icons/hicolor/256x256/apps
8116d0
%{_datadir}/icons/hicolor/256x256/apps/%{app_id}.png
8116d0
%{_datadir}/%{name}/
8116d0
%{_datadir}/metainfo/%{app_id}.appdata.xml
27a065
%{_mandir}/man1/%{name}.1%{ext_man}
8116d0
8116d0
%changelog