Update to version 1.8.1 Update build dependence libsoup2.4 to libsoup3 because of the requirement of source code OBS-URL: https://build.opensuse.org/request/show/1183511 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/frogr?expand=0&rev=47
84 lines
2.5 KiB
RPMSpec
84 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package frogr
|
|
#
|
|
# Copyright (c) 2024 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: frogr
|
|
Version: 1.8.1
|
|
Release: 0
|
|
Summary: Tool to Manage Flickr Accounts
|
|
License: GPL-3.0-only
|
|
Group: Productivity/Graphics/Other
|
|
URL: https://wiki.gnome.org/Apps/Frogr
|
|
Source: https://download.gnome.org/sources/frogr/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: libgcrypt-devel >= 1.5.0
|
|
BuildRequires: meson
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.44
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.16
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2
|
|
BuildRequires: pkgconfig(libexif) >= 0.6.14
|
|
BuildRequires: pkgconfig(libsoup-3.0) >= 3.2.2
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.8
|
|
|
|
%description
|
|
Frogr is a application for the GNOME desktop that allows users to
|
|
manage their accounts in the Flickr image hosting website. It supports
|
|
all the basic Flickr features, including uploading pictures, adding
|
|
descriptions, setting tags and managing sets and groups pools.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
### TODO: Remove this on the next release package update.
|
|
# Fix meson option warning_level based on commit:
|
|
# https://gitlab.gnome.org/GNOME/frogr/-/commit/623d7e397baff3a8ab1695e190b13bc60153b64c
|
|
sed -i 's/warnlevel/warning_level/' meson.build
|
|
###
|
|
|
|
%build
|
|
%meson \
|
|
-D enable-header-bar=true \
|
|
-D enable-video=true \
|
|
-D werror=false \
|
|
%{nil}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%suse_update_desktop_file org.gnome.frogr Viewer
|
|
|
|
%files
|
|
%doc NEWS README
|
|
%license COPYING
|
|
%doc %{_datadir}/help/C/%{name}/
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/metainfo/org.gnome.frogr.appdata.xml
|
|
%{_datadir}/applications/org.gnome.%{name}.desktop
|
|
%{_datadir}/%{name}/
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.frogr*.*
|
|
%{_mandir}/man1/frogr.1%{ext_man}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|