## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 uuid com.github.spheras.%{name} Name: desktopfolder Version: 1.1.3 Release: %autorelease Summary: Bring your desktop back to life License: GPLv3+ URL: https://github.com/spheras/desktopfolder Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # Fix FTBFS # Remove deprecated positional arguments for translation merges # https://github.com/spheras/desktopfolder/pull/335/files Patch0: %{url}/pull/335.patch#/Remove-deprecated-positional-arguments-for-translation-merges.patch BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: vala BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.22 BuildRequires: pkgconfig(gtksourceview-3.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libwnck-3.0) Requires: hicolor-icon-theme %description Organize your desktop with panels that hold your things. - Access files, folders and apps from your desktop - Drop files, folders, links and .desktop launchers inside panels - Resize, position and color panels - Display photos and keep notes on your desktop - Reveal the desktop with ⌘-D Open it like any other app after installing. Desktop Folder will launch automatically when you next log in. %prep %autosetup -p1 %build %meson %meson_build %install %meson_install %find_lang %{uuid} %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files -f %{uuid}.lang %doc README.md AUTHORS.md CODE_OF_CONDUCT.md CONTRIBUTING.md %license LICENSE %{_bindir}/%{uuid} %{_datadir}/applications/*.desktop %{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/icons/hicolor/*/*/*.svg %{_metainfodir}/*.xml %{_sysconfdir}/xdg/autostart/%{uuid}-autostart.desktop %changelog * Sun Oct 09 2022 Artem Polishchuk 1.1.3-1 - build(update): 1.1.3 * Thu Jul 21 2022 Fedora Release Engineering - 1.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 02 2020 Artem Polishchuk - 1.1.2-1 - Update to 1.1.2 * Thu Oct 03 2019 Artem Polishchuk - 1.1.1-4.20190925git69fb542 - Update to latest git snapshot * Wed Jul 24 2019 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 15 2019 Artem Polishchuk - 1.1.1-2 - Initial package