Package gnome-text-editor: Specfile
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | %def_disable snapshot %define ver_major 46 %define beta %nil %define xdg_name org.gnome.TextEditor %def_enable check Name: gnome-text-editor Version: %ver_major.1 Release: alt1%beta Summary: A simple Text Editor for GNOME Group: Editors License: GPL-3.0 Url: https://apps.gnome.org/TextEditor %if_disabled snapshot Source: https://download.gnome.org/sources/%name/%ver_major/%name-%version%beta.tar.xz %else Source: %name-%version.tar %endif %define glib_ver 2.73 %define gtk_ver 4.10 %define gtksource_ver 5.10 %define enchant_ver 2.2.0 %define adwaita_ver 1.5 BuildRequires(pre): rpm-macros-meson BuildRequires: meson yelp-tools BuildRequires: libgio-devel >= %glib_ver BuildRequires: libgtk4-devel >= %gtk_ver BuildRequires: libgtksourceview5-devel >= %gtksource_ver BuildRequires: pkgconfig(enchant-2) >= %enchant_ver BuildRequires: pkgconfig(libadwaita-1) >= %adwaita_ver BuildRequires: libeditorconfig-devel %{?_enable_check:BuildRequires: /usr/bin/appstreamcli desktop-file-utils} %description Text Editor is a simple editor for GNOME focused on being a good general purpose default editor. %prep %setup -n %name-%version%beta %build %meson %meson_build %install %meson_install %find_lang %name --with-gnome %check %__meson_test %files -f %name.lang %_bindir/* %_desktopdir/%xdg_name.desktop %_datadir/%name/ %_datadir/glib-2.0/schemas/%xdg_name.gschema.xml %_datadir/dbus-1/services/%xdg_name.service %_iconsdir/hicolor/*/apps/%{xdg_name}*.svg #%_iconsdir/hicolor/*/actions/*.svg %_datadir/metainfo/%xdg_name.appdata.xml %doc README* NEWS %changelog * Thu Apr 11 2024 Yuri N. Sedunov <aris@altlinux.org> 46.1-alt1 - 46.1 * Sat Mar 16 2024 Yuri N. Sedunov <aris@altlinux.org> 46.0-alt1 - 46.0 * Mon Jan 22 2024 Yuri N. Sedunov <aris@altlinux.org> 45.3-alt1 - 45.3 * Tue Jan 16 2024 Yuri N. Sedunov <aris@altlinux.org> 45.2-alt1 - 45.2 * Mon Oct 30 2023 Yuri N. Sedunov <aris@altlinux.org> 45.1-alt1 - 45.1 * Sun Sep 17 2023 Yuri N. Sedunov <aris@altlinux.org> 45.0-alt1 - 45.0 * Sat Mar 18 2023 Yuri N. Sedunov <aris@altlinux.org> 44.0-alt1 - 44.0 * Wed Jan 11 2023 Yuri N. Sedunov <aris@altlinux.org> 43.2-alt1 - 43.2 * Tue Oct 04 2022 Yuri N. Sedunov <aris@altlinux.org> 43.1-alt1 - 43.1 * Thu Sep 22 2022 Yuri N. Sedunov <aris@altlinux.org> 43.0-alt1 - 43.0 * Sun Jun 12 2022 Yuri N. Sedunov <aris@altlinux.org> 42.2-alt1 - 42.2 * Thu Apr 21 2022 Yuri N. Sedunov <aris@altlinux.org> 42.1-alt1 - 42.1 * Sat Mar 19 2022 Yuri N. Sedunov <aris@altlinux.org> 42.0-alt1 - 42.0 * Wed Oct 06 2021 Yuri N. Sedunov <aris@altlinux.org> 41.1-alt1 - 41.1 * Thu Aug 26 2021 Yuri N. Sedunov <aris@altlinux.org> 41-alt0.2.beta1 - first build for Sisyphus |