Something went wrong. Try again.
Something went wrong. Try again.
2.4 kB · 94 lines
at 43
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495%global tag 1.2.0
# Manual commit is auto-inserted by workflow%global commit 661135654e42f92d4c02c9157699bf7d03faa9fc
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global build_timestamp %(date +"%Y%m%d")
%global rel_build 1.%{build_timestamp}.%{shortcommit}%{?dist}
Name: flatpostVersion: %{tag}Release: %{rel_build}License: BSD 2-ClauseSummary: Desktop environment agnostic Flathub software center.
URL: https://github.com/gloriouseggroll/flatpostSource0: %{url}/archive/refs/tags/%{tag}.tar.gz#/%{name}-%{tag}.tar.gz
BuildArch: noarchBuildRequires: python3-develBuildRequires: makeBuildRequires: desktop-file-utils
Provides: nobara-updater
# App DepsRequires: pythonRequires: python3Requires: python3-gobjectRequires: python3-requestsRequires: python3-pillowRequires: python3-svgwriteRequires: python3-fonttoolsRequires: python3-numpy
Requires: adw-gtk3-themeRequires: adwaita-icon-themeRequires: flatpakRequires: glib2Requires: gtk3Requires: gtk4Requires: xdg-utils
Requires(post): shared-mime-infoRequires(postun): shared-mime-infoRequires(posttrans): shared-mime-info
Provides: flatpost
%descriptionDesktop environment agnostic Flathub software center. Allows for browsing,installation, removal, updating, and permission management of flatpak packages and repositories.
%prep%autosetup -p 1
%buildmake all DESTDIR=%{buildroot}
%checkdesktop-file-validate %{buildroot}%{_datadir}/applications/com.flatpost.flatpostapp.desktop
%postxdg-icon-resource forceupdate --theme hicolor &>/dev/nullupdate-mime-database usr/share/mime &>/dev/nullupdate-desktop-database -q
%postunxdg-icon-resource forceupdate --theme hicolor &>/dev/nullupdate-mime-database usr/share/mime &>/dev/nullupdate-desktop-database -q
%posttransxdg-icon-resource forceupdate --theme hicolor &>/dev/nullupdate-mime-database usr/share/mime &>/dev/nullupdate-desktop-database -q
%files%{python3_sitelib}/flatpost/%{_bindir}/flatpost%{_datadir}/applications/com.flatpost.flatpostapp.desktop%{_datadir}/flatpost/collections_data.json%{_datadir}/icons/hicolor/64x64/apps/com.flatpost.flatpostapp.svg%{_datadir}/mime/packages/flatpost.xml%license %{_datadir}/licenses/flatpost/LICENSE
%cleanrm -rf %{buildroot}
%changelog* Fri Jun 28 2024 Your Name <you@example.com> - 1.0-1- Initial package