-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloupe.spec
57 lines (49 loc) · 1.56 KB
/
loupe.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
%define _empty_manifest_terminate_build 0
Name: loupe
Version: 47.4
Release: 1
Summary: A simple image viewer application
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/loupe
Source0: https://download.gnome.org/sources/loupe/45/loupe-%{version}.tar.xz
#Source2: vendor.tar.xz
#Source3: cargo_config
BuildRequires: appstream-util
BuildRequires: cargo
BuildRequires: meson itstool
BuildRequires: gettext
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk4) >= 4.10
BuildRequires: pkgconfig(gweather4) >= 4.0.0
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libadwaita-1) >= 1.3.99
#BuildRequires: pkgconfig(libheif) >= 1.14.2
BuildRequires: pkgconfig(libssh2)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(glycin-1)
Requires: glycin-loaders
%description
%{summary} written with GTK4 and Rust.
%prep
%autosetup -p1
#-a2
#mkdir .cargo
#cp %{SOURCE3} .cargo/config
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%files -f %{name}.lang
%license COPYING.md
%doc README.md
%doc %{_datadir}/help/*/loupe/
%{_bindir}/%{name}
%{_datadir}/applications/org.gnome.Loupe.desktop
%{_datadir}/dbus-1/services/org.gnome.Loupe.service
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Loupe.Devel.svg
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Loupe.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Loupe-symbolic.svg
%{_datadir}/metainfo/org.gnome.Loupe.metainfo.xml
%{_datadir}/glib-2.0/schemas/org.gnome.Loupe.gschema.xml