Package gnome-dosage: 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 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | %def_disable snapshot %define _name dosage %define __name Dosage %define ver_major 1.6 %define rdn_name io.github.diegopvlk.Dosage %def_enable check Name: gnome-%_name Version: %ver_major.4 Release: alt1 Summary: GNOME Dosage License: GPL-3.0-or-later Group: Sciences/Medicine Url: https://github.com/diegopvlk/Dosage Vcs: https://github.com/diegopvlk/Dosage.git %if_disabled snapshot Source: https://github.com/diegopvlk/Dosage/archive/v%version/%_name-%version.tar.gz %else Source: %_name-%version.tar %endif BuildArch: noarch %define bp_ver 0.10 Requires: /usr/bin/gjs dconf Requires: typelib(Adw) = 1 Requires: typelib(Xdp) = 1.0 BuildRequires(pre): rpm-macros-meson rpm-build-gir BuildRequires: meson /usr/bin/gjs BuildRequires: blueprint-compiler >= %bp_ver typelib(Adw) %{?_enable_check:BuildRequires: /usr/bin/appstreamcli desktop-file-utils} %description Keep track of your treatments. Features: - Notifications - Get reminders at the right time - History - See which medications you took or skipped - Dosage management - Multiple doses with different times - Frequency modes - Every day, selected days, cycle or just when needed - Color and icon - Give a shape for your treatment - Inventory tracking - Monitor your stock and get reminded when it's low - Duration - Define the start and end dates %prep %setup -n %__name-%version sed -i "s|no-net --explain|no-net', '--explain|" data/meson.build %build %meson %meson_build %install %meson_install %find_lang --with-gnome %_name %check %__meson_test %files -f %_name.lang %_bindir/%rdn_name %_desktopdir/%rdn_name.desktop %_datadir/%_name/ %_datadir/glib-2.0/schemas/%rdn_name.gschema.xml %_iconsdir/hicolor/*/apps/%{rdn_name}*.* %_datadir/appdata/%rdn_name.*.xml %doc README* %changelog * Sat Jul 27 2024 Yuri N. Sedunov <aris@altlinux.org> 1.6.4-alt1 - 1.6.4 * Fri Jul 26 2024 Yuri N. Sedunov <aris@altlinux.org> 1.6.3-alt1 - 1.6.3 * Thu Jul 11 2024 Yuri N. Sedunov <aris@altlinux.org> 1.6.2-alt1 - 1.6.2 * Sat May 11 2024 Yuri N. Sedunov <aris@altlinux.org> 1.6.1-alt1 - 1.6.1 * Thu Mar 21 2024 Yuri N. Sedunov <aris@altlinux.org> 1.6.0-alt1 - 1.6.0 * Sun Feb 11 2024 Yuri N. Sedunov <aris@altlinux.org> 1.5.5-alt1 - 1.5.5 * Mon Feb 05 2024 Yuri N. Sedunov <aris@altlinux.org> 1.5.3-alt1 - 1.5.3 * Sat Feb 03 2024 Yuri N. Sedunov <aris@altlinux.org> 1.5.1-alt1 - 1.5.1 * Sun Dec 24 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.8-alt1 - 1.4.8 * Wed Dec 20 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.7-alt1 - 1.4.7 * Sat Dec 09 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.6-alt1 - 1.4.6 * Thu Dec 07 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.5-alt1 - 1.4.5 * Sun Dec 03 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.3-alt1 - 1.4.3 * Sat Dec 02 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.1-alt1 - 1.4.1 * Tue Nov 28 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.0-alt1 - 1.4.0 * Sat Nov 18 2023 Yuri N. Sedunov <aris@altlinux.org> 1.2.1-alt1 - 1.2.1 * Fri Nov 10 2023 Yuri N. Sedunov <aris@altlinux.org> 1.1.6-alt1 - 1.1.6 * Wed Nov 08 2023 Yuri N. Sedunov <aris@altlinux.org> 1.1.5-alt1 - 1.1.5 * Thu Nov 02 2023 Yuri N. Sedunov <aris@altlinux.org> 1.1.3-alt1 - 1.1.3 * Wed Nov 01 2023 Yuri N. Sedunov <aris@altlinux.org> 1.1.2-alt1 - 1.1.2 * Mon Oct 30 2023 Yuri N. Sedunov <aris@altlinux.org> 1.1.1-alt1 - first build for Sisyphus |