%global debug_package %{nil} URL: https://github.com/MCC45TR/uke-linux-hardware-support Source0: uke-libaccounts-glib-1.25.tar.xz ExclusiveArch: aarch64 BuildRequires: gcc BuildRequires: gtk-doc BuildRequires: meson >= 0.48.0 BuildRequires: pkgconfig(check) BuildRequires: pkgconfig(gio-2.0) >= 2.26 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.26 BuildRequires: pkgconfig(gobject-2.0) >= 2.35.1 BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sqlite3) >= 3.7.0 BuildRequires: python3-devel BuildRequires: python3-gobject BuildRequires: vala BuildRequires: meson = 1.12.1-2.fc46 BuildRequires: python3 = 3.15.2-1.fc46 BuildRequires: python3-devel = 3.15.2-1.fc46 Name: uke-libaccounts-glib Version: 1.25 Release: 45.fc46 License: LicenseRef-Callaway-LGPLv2 Summary: Accounts framework for Linux and POSIX based platforms Provides: senemos-native-runtime(libaccounts-glib) = 1.25-45.fc46 Provides: libaccounts-glib = 1.25-45.fc46 Provides: libaccounts-glib%{?_isa} = 1.25-45.fc46 Obsoletes: libaccounts-glib < 1.25-45.fc46 Conflicts: libaccounts-glib %description -n uke-libaccounts-glib Accounts framework for Linux and POSIX based platforms. %package -n uke-libaccounts-glib-devel Version: 1.25 Release: 45.fc46 License: LicenseRef-Callaway-LGPLv2 Summary: Development files for uke-libaccounts-glib Requires: uke-libaccounts-glib(aarch-64) = 1.25-45.fc46 Provides: libaccounts-glib-devel = 1.25-45.fc46 Provides: libaccounts-glib-devel%{?_isa} = 1.25-45.fc46 Obsoletes: libaccounts-glib-devel < 1.25-45.fc46 Conflicts: libaccounts-glib-devel %description -n uke-libaccounts-glib-devel The libaccounts-glib-devel package contains libraries and header files for developing applications that use libaccounts-glib. %package -n uke-libaccounts-glib-docs Version: 1.25 Release: 45.fc46 License: LicenseRef-Callaway-LGPLv2 Summary: Documentation for uke-libaccounts-glib BuildArch: noarch Provides: libaccounts-glib-docs = 1.25-45.fc46 Provides: libaccounts-glib-docs%{?_isa} = 1.25-45.fc46 Obsoletes: libaccounts-glib-docs < 1.25-45.fc46 Conflicts: libaccounts-glib-docs %description -n uke-libaccounts-glib-docs The libaccounts-glib-docs package contains documentation for libaccounts-glib. %prep %setup -q ( mkdir -p "%{_builddir}/uke-libaccounts-glib-1.25/work/libaccounts-glib" cd '%{_builddir}/uke-libaccounts-glib-1.25/work/libaccounts-glib' rm -rf 'libaccounts-glib-VERSION_1.25' /usr/bin/rpmuncompress -x '%{_builddir}/uke-libaccounts-glib-1.25/inputs/libaccounts-glib/libaccounts-glib-VERSION_1.25.tar.gz' STATUS=$? if [ $STATUS -ne 0 ]; then exit $STATUS fi cd 'libaccounts-glib-VERSION_1.25' /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . /usr/bin/rpmuncompress %{_builddir}/uke-libaccounts-glib-1.25/inputs/libaccounts-glib/0001-fix-uncommitted-changes-cleanup.patch | /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f ) %build ( cd "%{_builddir}/uke-libaccounts-glib-1.25/work/libaccounts-glib/libaccounts-glib-VERSION_1.25" CFLAGS="${CFLAGS:--O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer }" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer }" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules }" ; export FFLAGS ; FCFLAGS="${FCFLAGS:--O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules }" ; export FCFLAGS ; VALAFLAGS="${VALAFLAGS:--g}" ; export VALAFLAGS ; RUSTFLAGS="${RUSTFLAGS:--Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn}" ; export RUSTFLAGS ; LDFLAGS="${LDFLAGS:--Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes }" ; export LDFLAGS ; LT_SYS_LIBRARY_PATH="${LT_SYS_LIBRARY_PATH:-/usr/lib64:}" ; export LT_SYS_LIBRARY_PATH ; CC="${CC:-gcc}" ; export CC ; CXX="${CXX:-g++}" ; export CXX /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/bin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build /usr/bin/meson compile -C redhat-linux-build -j${RPM_BUILD_NCPUS} --verbose ) %install ( cd "%{_builddir}/uke-libaccounts-glib-1.25/work/libaccounts-glib/libaccounts-glib-VERSION_1.25" DESTDIR=%{buildroot} /usr/bin/meson install -C redhat-linux-build --no-rebuild # create data directories mkdir -p %{buildroot}/usr/share/accounts/{applications,providers,services,service_types} # Senemos Uke: keep Python outside every target payload. rm -rf %{buildroot}/usr/lib64/python* if find %{buildroot} -type f \( -name "*.py" -o -name "*.pyc" -o -name "*.pyo" -o -name "python[0-9]*" \) -print | grep .; then exit 1; fi while IFS= read -r -d "" file; do if head -c 256 "$file" | LC_ALL=C grep -aE "^#!.*(python|pypy)"; then exit 1; fi; done < <(find %{buildroot} -type f -print0) ) %check ( cd "%{_builddir}/uke-libaccounts-glib-1.25/work/libaccounts-glib/libaccounts-glib-VERSION_1.25" # some tests fail without either dbus-test-runner (not packaged) or X11 session /usr/bin/meson test -C redhat-linux-build -j${RPM_BUILD_NCPUS} --print-errorlogs || : ) %files -n uke-libaccounts-glib %license work/libaccounts-glib/libaccounts-glib-VERSION_1.25/COPYING %doc work/libaccounts-glib/libaccounts-glib-VERSION_1.25/README.md work/libaccounts-glib/libaccounts-glib-VERSION_1.25/NEWS /usr/bin/ag-backup /usr/bin/ag-tool /usr/lib64/libaccounts-glib.so.0 /usr/lib64/libaccounts-glib.so.1.25 /usr/lib64/girepository-1.0/Accounts-1.0.typelib %dir /usr/share/xml/accounts/schema/dtd /usr/share/xml/accounts/schema/dtd/accounts-*.dtd %dir /usr/share/xml/ %dir /usr/share/xml/accounts/ %dir /usr/share/xml/accounts/schema/ %dir /usr/share/accounts/ %dir /usr/share/accounts/applications/ %dir /usr/share/accounts/providers/ %dir /usr/share/accounts/services/ %dir /usr/share/accounts/service_types/ %files -n uke-libaccounts-glib-devel /usr/include/libaccounts-glib/ /usr/lib64/libaccounts-glib.so /usr/lib64/pkgconfig/libaccounts-glib.pc /usr/share/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml /usr/share/gettext/its/accounts-*.{its,loc} /usr/share/gir-1.0/Accounts-1.0.gir /usr/share/vala/vapi/libaccounts-glib.deps /usr/share/vala/vapi/libaccounts-glib.vapi %files -n uke-libaccounts-glib-docs %doc /usr/share/gtk-doc/html/libaccounts-glib/ %changelog * Thu Oct 29 2026 Senemos Maintainers <75160848+MCC45TR@users.noreply.github.com> - 1.25-45.fc46 - Build this component independently from its reviewed source recipe.