## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global gvc_commit d2442f455844e5292cb4a74ffc66ecc8d7595a9f Name: phosh-mobile-settings Version: 0.56.0 Release: %autorelease Summary: Mobile Settings App for phosh and related components License: GPL-3.0-or-later URL: https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings Source: https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings/-/archive/v%{version_no_tilde _}/phosh-mobile-settings-v%{version_no_tilde _}.tar.gz # This library doesn't compile into a DSO nor has any tagged releases. # Other projects such as gnome-shell use it this way. Source: https://gitlab.gnome.org/guidog/libgnome-volume-control/-/archive/%{gvc_commit}/libgnome-volume-control-%{gvc_commit}.tar.gz # Tests currently abort on this warning: # "Use GtkSettings:gtk-interface-color-scheme instead" Patch: 0002-tests-Do-not-make-warnings-fatal.patch ExcludeArch: %{ix86} # This package has no demonstrable use-cases for server/mainframe hardware. ExcludeArch: s390x ExcludeArch: ppc64le BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: meson >= 1.7.0 BuildRequires: pkgconfig(accountsservice) >= 23.13 BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(glib-2.0) >= 2.84 BuildRequires: pkgconfig(gio-2.0) >= 2.84 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.84 BuildRequires: pkgconfig(gmodule-2.0) >= 2.84 BuildRequires: pkgconfig(gmobile) >= 0.4.0 BuildRequires: pkgconfig(gsound) BuildRequires: pkgconfig(gtk4) >= 4.18.0 BuildRequires: pkgconfig(gtk4-wayland) >= 4.12.5 BuildRequires: pkgconfig(phosh-plugins) >= 0.23.0 BuildRequires: pkgconfig(phosh-settings) >= 0.40.0 BuildRequires: pkgconfig(json-glib-1.0) >= 1.6.2 BuildRequires: pkgconfig(libadwaita-1) >= 1.7 BuildRequires: pkgconfig(wayland-client) >= 1.14 BuildRequires: pkgconfig(wayland-protocols) >= 1.12 BuildRequires: pkgconfig(gnome-desktop-4) >= 44 BuildRequires: pkgconfig(libportal-gtk4) >= 0.9.1 BuildRequires: pkgconfig(libfeedback-0.0) >= 0.8.0 BuildRequires: pkgconfig(libcellbroadcast-0.0) >= 0.0.2 BuildRequires: pkgconfig(yaml-0.1) BuildRequires: pkgconfig(polkit-gobject-1) >= 126 BuildRequires: /usr/bin/rst2man BuildRequires: gobject-introspection BuildRequires: appstream-devel BuildRequires: lm_sensors-devel BuildRequires: desktop-file-utils BuildRequires: /usr/bin/dbus-launch BuildRequires: gstreamer1-plugins-good BuildRequires: phoc BuildRequires: glibc-langpack-en # gvc BuildRequires: pkgconfig(libpulse) >= 12.99.3 Requires: feedbackd >= 0.8.0 Requires: phoc >= 0.34.0 Requires: phosh >= 0.44.0 Requires: libphosh-mobile-settings >= %{version}-%{release} %description Mobile Settings App for phosh and related components %package -n libphosh-mobile-settings License: LGPL-2.1-or-later Summary: Allows to configure advanced settings Requires: polkit %description -n libphosh-mobile-settings Allows to configure some advanced settings of Phosh %package -n libphosh-mobile-settings-devel License: LGPL-2.1-or-later Summary: Development files for libphosh-mobile-settings %description -n libphosh-mobile-settings-devel Development files for libphosh-mobile-settings %prep %autosetup -a1 -p1 -n %{name}-v%{version_no_tilde _} mv libgnome-volume-control-%{gvc_commit} subprojects/gvc mkdir -p /tmp/runtime-dir chmod 0700 /tmp/runtime-dir %conf %meson -Dtweaks-data-dir=%{_datadir}/phosh-tweaks -Dman=true -Dpolkit-group=wheel %build %meson_build %install %meson_install install -d %{buildroot}%{_datadir}/phosh-tweaks %find_lang %{name} %check # FIXME: how to handle XDG_RUNTIME_DIR properly export XDG_RUNTIME_DIR=/tmp/runtime-dir export WLR_BACKENDS=headless # Need to reconfigure "tweaks-data-dir" for the tests %meson --reconfigure -Dtweaks-data-dir=$(realpath %{_vpath_srcdir}/tests/data) dbus-launch phoc --no-xwayland -E "%meson_test" %files %doc README.md %license COPYING %{_bindir}/phosh-mobile-settings %dir %{_libdir}/phosh-mobile-settings %{_libdir}/phosh-mobile-settings/plugins/libms-plugin-librem5.so %{_datadir}/applications/mobi.phosh.MobileSettings.desktop %{_datadir}/applications/mobi.phosh.MobileSettings.nobuiltins.desktop %{_datadir}/dbus-1/services/mobi.phosh.MobileSettings.service %{_datadir}/glib-2.0/schemas/mobi.phosh.MobileSettings.gschema.xml %{_datadir}/icons/hicolor/scalable/apps/mobi.phosh.MobileSettings.svg %{_datadir}/icons/hicolor/symbolic/apps/mobi.phosh.MobileSettings-symbolic.svg %{_datadir}/metainfo/mobi.phosh.MobileSettings.metainfo.xml %{_datadir}/polkit-1/rules.d/phosh-mobile-settings.rules %dir %{_datadir}/phosh-tweaks %{_mandir}/man1/phosh-mobile-settings.1* %files -n libphosh-mobile-settings -f %{name}.lang %license COPYING.LIB %{_libdir}/girepository-1.0/Pms-1.0.typelib %{_libdir}/libpms-1.0.so.0 %files -n libphosh-mobile-settings-devel %{_datadir}/gir-1.0/Pms-1.0.gir %{_includedir}/pms-1.0 %{_libdir}/libpms-1.0.so %{_libdir}/pkgconfig/pms-1.0.pc %changelog ## START: Generated by rpmautospec * Sun Jul 05 2026 Sam Day - 0.56.0-1 - v0.56.0 (fedora#2497124) * Sat Jul 04 2026 Sam Day - 0.56~rc2-1 - 0.56~rc2 (fedora#2492225) * Fri Jul 03 2026 Sam Day - 0.55.0-3 - Disable fatal-warnings in tests for now * Tue Jun 30 2026 Sam Day - 0.55.0-2 - Rebuild for new gnome-desktop4 * Sun May 17 2026 Tomi Lähteenmäki - 0.55.0-1 - Upstream release 0.55.0 (fedora#2468368) * Sun Apr 05 2026 Tomi Lähteenmäki - 0.54.0-1 - Upstream release 0.54.0 (fedora#2455160) * Tue Mar 31 2026 Tomi Lähteenmäki - 0.54~rc1-1 - Upstream release 0.54~rc1 (fedora#2451147) * Sun Feb 15 2026 Tomi Lähteenmäki - 0.53.0-1 - Upstream release 0.53.0 (fedora#2440014) * Tue Feb 10 2026 Tomi Lähteenmäki - 0.53~rc1-3 - Fix tweaks-prefs test crash * Tue Feb 10 2026 Tomi Lähteenmäki - 0.53~rc1-2 - Use Guidog's gvc * Mon Feb 09 2026 Tomi Lähteenmäki - 0.53~rc1-1 - Upstream release 0.53_rc1 (fedora#2437992) * Sat Jan 31 2026 Tomi Lähteenmäki - 0.52.0-3 - Version 0.52.0 requires libawaita >= 1.7 * Sat Jan 17 2026 Fedora Release Engineering - 0.52.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Jan 04 2026 Sam Day - 0.52.0-1 - Upstream release 0.52.0 (fedora#2427009) * Fri Jan 02 2026 Sam Day - 0.52~rc2-2 - exclude ppc64le * Thu Jan 01 2026 Sam Day - 0.52~rc2-1 - Upstream release 0.52_rc2 (fedora#2426664) * Mon Nov 17 2025 Tomi Lähteenmäki - 0.51.0-1 - Upstream release 0.51.0 (fedora#2415199) * Sun Nov 09 2025 Tomi Lähteenmäki - 0.50_rc1-1 - Upstream release 0.51_rc1 (fedora#2400505) * Wed Oct 22 2025 Tomi Lähteenmäki - 0.50.1-1 - Upstream release 0.50.1 (fedora#2400505) * Sat Oct 11 2025 Tomi Lähteenmäki - 0.50.0-1 - Upstream release 0.50.0 (fedora#2400505) * Wed Sep 03 2025 Tomi Lähteenmäki - 0.49.0-1 - Upstream release 0.49.0 (fedora#2387375) * Fri Jul 25 2025 Fedora Release Engineering - 0.48.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jul 01 2025 Tomi Lähteenmäki - 0.48.0-1 - Upstream release 0.48.0 * Sun May 18 2025 Tomi Lähteenmäki - 0.47.0-1 - Upstream release 0.47.0 (fedora#2367050) * Fri May 09 2025 Tomi Lähteenmäki - 0.47~rc1-1 - Upstream release 0.47-rc1 (fedora#2365099) * Mon Mar 31 2025 Tomi Lähteenmäki - 0.46.0-1 - Upstream release 0.46.0 (fedora#2354338) * Thu Mar 27 2025 Tomi Lähteenmäki - 0.46.0~rc1-1 - Upstream release 0.46-rc1 (fedora#2354338) * Sat Feb 15 2025 Tomi Lähteenmäki - 0.45.0-1 - Upstream release 0.45.0 (fedora#2344546) * Wed Feb 05 2025 Tomi Lähteenmäki - 0.44.0-3 - Fix FTBFS from failing test * Sat Jan 18 2025 Fedora Release Engineering - 0.44.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jan 04 2025 Tomi Lähteenmäki - 0.44.0-1 - Upstream release v0.44.0 (fedora#2325415) * Sat Jan 04 2025 Tomi Lähteenmäki - 0.43.0-2 - Prepare for breaking change in phosh * Mon Nov 18 2024 Tomi Lähteenmäki - 0.43.0-1 - Upstream release v0.43.0 (fedora#2325415) * Tue Oct 01 2024 Tomi Lähteenmäki - 0.42.0-1 - Upstream release v0.42.0 * Sat Aug 31 2024 Tomi Lähteenmäki - 0.41.0-4 - Re-enable fatal-warnings for tests * Sat Aug 17 2024 Sam Day - 0.41.0-3 - Disable G_DEBUG=fatal-warnings in tests * Fri Aug 16 2024 Sam Day - 0.41.0-2 - Bump feedbackd minimum requirement to 0.4.1 * Fri Aug 16 2024 Tomi Lähteenmäki - 0.41.0-1 - Upstream release 0.41.0 * Fri Jul 19 2024 Fedora Release Engineering - 0.40.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jul 01 2024 Tomi Lähteenmäki - 0.40.0-1 - Upstream release 0.40.0 * Sat Jun 29 2024 Tomi Lähteenmäki - 0.37.0-4 - Remove bundled gmobile * Sun May 19 2024 Tomi Lähteenmäki - 0.37.0-1 - Upstream release 0.37.0 * Mon Apr 29 2024 Fedora Release Engineering - 0.32.0-5 - Unretirement Releng Request: https://pagure.io/releng/issue/12084 * Thu Jan 25 2024 Fedora Release Engineering - 0.32.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.32.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 17 2023 torbuntu - 0.32.0-2 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec