aboutsummaryrefslogtreecommitdiff
path: root/build-aux/rpm/map.spec
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/rpm/map.spec')
-rw-r--r--build-aux/rpm/map.spec89
1 files changed, 89 insertions, 0 deletions
diff --git a/build-aux/rpm/map.spec b/build-aux/rpm/map.spec
new file mode 100644
index 0000000..d0b5981
--- /dev/null
+++ b/build-aux/rpm/map.spec
@@ -0,0 +1,89 @@
+%global app_id systems.tranquil.Map
+
+Name: map
+Version: 1.0.4
+Release: 1%{?dist}
+Summary: Wardley Map editor for Linux
+
+License: AGPL-3.0-or-later
+URL: https://map.tranquil.systems/map-for-linux
+Source0: %{name}-%{version}.tar.xz
+Source1: %{name}-%{version}-vendor.tar.xz
+
+BuildRequires: meson >= 1.0.0
+BuildRequires: rust >= 1.92
+BuildRequires: cargo
+BuildRequires: gettext
+BuildRequires: pkgconfig(glib-2.0) >= 2.84.0
+BuildRequires: pkgconfig(gio-2.0) >= 2.84.0
+BuildRequires: pkgconfig(gtk4) >= 4.18.0
+BuildRequires: pkgconfig(libadwaita-1) >= 1.7.0
+BuildRequires: pkgconfig(gtksourceview-5) >= 5.16.0
+
+Requires: gtk4 >= 4.18.0
+Requires: libadwaita >= 1.7.0
+Requires: gtksourceview5 >= 5.16.0
+
+%description
+A Wardley Map editor for Linux, built with GTK4 and libadwaita.
+
+%prep
+%autosetup -p1
+%autosetup -T -D -a1
+
+mkdir -p .cargo
+cat > .cargo/config.toml << 'EOF'
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
+EOF
+
+%build
+%meson
+%meson_build
+
+%install
+%meson_install
+
+%check
+%meson_test
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{app_id}.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{app_id}.metainfo.xml
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/map
+%{_datadir}/applications/%{app_id}.desktop
+%{_datadir}/metainfo/%{app_id}.metainfo.xml
+%{_datadir}/icons/hicolor/scalable/apps/%{app_id}.svg
+%{_datadir}/icons/hicolor/symbolic/apps/%{app_id}-symbolic.svg
+%{_datadir}/dbus-1/services/%{app_id}.service
+%{_datadir}/gtksourceview-5/language-specs/wmap.lang
+%{_datadir}/locale/*/LC_MESSAGES/%{app_id}.mo
+
+%changelog
+* Mon Mar 30 2026 Rubén Beltrán del Río <map@r.bdr.sh> - 1.0.4-1
+- Fix rendering issue with icon in about page when installing via flatpak
+- Use breakpoints to render preferences correctly in mobile screens
+ (KNOWN ISSUE: For sizes under 377 px, the templates screen will move slightly)
+- Stop building rpms for fedora 42 and add fedora 44
+
+* Fri Mar 27 2026 Rubén Beltrán del Río <map@r.bdr.sh> - 1.0.3-1
+- Add about window with a reference of the language
+- Brand colors for flathub provide better contrast
+- New icon
+- Summary that's more descriptive for a layperson
+- Disable horizontal layout at smaller window sizes to make usage easier on phones
+- Use Adwaita window and toolbar
+
+* Sat Jan 24 2026 Rubén Beltrán del Río <map@r.bdr.sh> - 1.0.2-1
+- Add adwaita feature to relm4
+
+* Mon Jan 19 2026 Rubén Beltrán del Río <map@r.bdr.sh> - 1.0.1-1
+- Add adwaita feature to relm4
+
+* Mon Jan 19 2026 Rubén Beltrán del Río <map@r.bdr.sh> - 1.0.0-1
+- Initial release