%global app_id de.schmidhuberj.DieBahn %global forgeurl https://gitlab.com/schmiddi-on-mobile/railway %global tag %{version} %global upstream_name diebahn Name: railway Version: 2.10.1 Release: 1%{?dist} Summary: Find all your travel information License: GPL-3.0-or-later BugURL: https://github.com/Infiniti151/flatpak-apps %forgemeta URL: %{forgeurl} Source0: %{forgesource} BuildRequires: meson >= 0.59 BuildRequires: ninja-build BuildRequires: appstream BuildRequires: blueprint-compiler BuildRequires: cairo-devel BuildRequires: cargo BuildRequires: cargo-rpm-macros BuildRequires: desktop-file-utils BuildRequires: forge-srpm-macros BuildRequires: gdk-pixbuf2-devel BuildRequires: gettext BuildRequires: glibc-langpack-en BuildRequires: gtk-update-icon-cache BuildRequires: pango-devel BuildRequires: openssl-devel BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(glib-2.0) >= 2.66 BuildRequires: pkgconfig(gtk4) >= 4.14 BuildRequires: pkgconfig(libadwaita-1) >= 1.8 BuildRequires: rustc Requires: cairo Requires: gdk-pixbuf2 Requires: glib2 Requires: gtk4 Requires: hicolor-icon-theme Requires: libadwaita Requires: pango %description Railway lets you look up travel information across networks and borders without having to navigate through different websites. Due to the adaptive design, it is suitable to plan your trip in advance or mobile on the go: - View your tripsʼ details including platforms and delays - Bookmark current and future trips as well as frequent search - Make use of advance search options like filtering by mode of transport And all that for networks from all around the world, but mostly from Europe. %prep %forgesetup mkdir -p cargo-home %build export CARGO_HOME=$(pwd)/cargo-home %meson %meson_build %install %meson_install %find_lang %{upstream_name} %check %meson_test desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop appstreamcli validate --no-net --explain %{buildroot}%{_metainfodir}/*.metainfo.xml glib-compile-schemas --dry-run --strict %{buildroot}%{_datadir}/glib-2.0/schemas/ %files -f %{upstream_name}.lang %license LICENSE %doc CHANGELOG.md README.md %{_bindir}/%{upstream_name} %{_datadir}/%{upstream_name} %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/dbus-1/services/*.service %{_metainfodir}/*.metainfo.xml %changelog * Thu Nov 12 2026 Infiniti151 <43163551+Infiniti151@users.noreply.github.com> - 2.10.1-1 - Fixed - Fixed errors with the DB provider. - Removed - Removed the BLS provider, as it was not working anymore.