Name: lxqt-common Summary: Common resources for LXQt desktop suite Version: 0.11.1 Release: 1%{?dist} License: LGPLv2+ URL: http://lxqt.org/ Source0: http://downloads.lxqt.org/lxqt-common/%{version}/lxqt-common-%{version}.tar.xz Source1: lxqt-theme-fedora.tar.xz Patch0: %{name}-0.11.0-fedora-defaults.patch Patch1: %{name}-0.11.0-missing-entry.patch Patch2: %{name}-0.11.0-policykit-libexec.patch Patch3: %{name}-0.11.0-menu-redhat.patch BuildArch: noarch BuildRequires: liblxqt-devel >= 0.11.0 BuildRequires: lxqt-build-tools BuildRequires: pkgconfig(Qt5Xdg) BuildRequires: pkgconfig(Qt5Help) BuildRequires: kf5-kwindowsystem-devel >= 5.5 BuildRequires: desktop-file-utils Requires: oxygen-cursor-themes Requires: oxygen-icon-theme %if 0%{?fedora} Requires: redhat-menus Requires: fedora-logos Requires: desktop-backgrounds-compat Requires: lxqt-theme %endif Requires: dbus-x11 # rhbz#1252581 - Panel does not show main menu entries Requires: lxmenu-data %description %{summary}. %package -n lxqt-theme-fedora Summary: Default Fedora theme for LXQt Provides: lxqt-theme = %{version} Requires: breeze-cursor-theme Requires: breeze-icon-theme Requires: plasma-breeze %description -n lxqt-theme-fedora %{summary}. %prep %setup -q %if 0%{?fedora} %patch0 -p1 -b .fedora_defaults %endif %patch1 -p1 -b .missing %patch2 -p1 -b .policykit %if 0%{?fedora} %patch3 -p1 -b .menu-redhat %endif %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_lxqt} .. popd %make_build -C %{_target_platform} %install make install DESTDIR=%{buildroot} -C %{_target_platform} # let desktop-file-validate be happy sed -i -r 's|(XDG_CURRENT_DESKTOP=")(.*)"|\1X-\2"|' %{buildroot}%{_bindir}/startlxqt for desktop in %{buildroot}%{_sysconfdir}/xdg/autostart/*.desktop; do echo ${desktop} desktop-file-edit --remove-only-show-in=LXQt --add-only-show-in=X-LXQt ${desktop} cat ${desktop} done # Fedora theme %if 0%{?fedora} pushd %{buildroot}/%{_datadir}/lxqt/themes/ tar xf %{SOURCE1} popd %endif %check desktop-file-validate %{buildroot}/%{_datadir}/xsessions/lxqt.desktop %posttrans update-desktop-database -q &> /dev/null || : %postun if [ $1 -eq 0 ] ; then update-desktop-database -q &> /dev/null || : fi %files %{_bindir}/startlxqt %dir %{_sysconfdir}/xdg/lxqt %{_sysconfdir}/xdg/autostart/lxqt-* %config(noreplace) %{_sysconfdir}/xdg/lxqt/* %{_datadir}/xsessions/lxqt.desktop %dir %{_sysconfdir}/xdg/pcmanfm-qt %config(noreplace) %{_sysconfdir}/xdg/pcmanfm-qt/lxqt/settings.conf %dir %{_datadir}/lxqt %{_datadir}/lxqt/themes %{_datadir}/lxqt/graphics %{_datadir}/desktop-directories/lxqt-settings.directory %{_sysconfdir}/xdg/menus/lxqt-applications.menu %{_datadir}/desktop-directories/lxqt-leave.directory %{_datadir}/icons/hicolor/*/*/* %if 0%{?fedora} %exclude %{_datadir}/lxqt/themes/Fedora %endif %exclude %{_datadir}/kdm/sessions/lxqt.desktop %if 0%{?fedora} %files -n lxqt-theme-fedora %dir %{_datadir}/lxqt/themes/Fedora %{_datadir}/lxqt/themes/Fedora/* %endif %{_sysconfdir}/xdg/openbox/lxqt-rc.xml %{_mandir}//man1/startlxqt.* %changelog * Sat Jan 07 2017 Christian Dersch - 0.11.1-1 - new version * Sun Sep 25 2016 Helio Chissini de Castro - 0.11.0-1 - New upstream release 0.11.0 * Fri Jun 03 2016 Raphael Groner - 0.10.0-12 - fix XDG_CURRENT_DESKTOP for epel7 * Tue May 31 2016 Than Ngo 0.10.0-11 - add rhel support * Thu Apr 28 2016 Rex Dieter - 0.10.0-10 - lxqt.conf: add fixedFont=Monospace (#1330150) - drop explicit BR: cmake (dep pulled in via use of %%cmake_lxqt macro) * Tue Feb 09 2016 Rex Dieter 0.10.0-9 - add some debugging to test workarounds for bug #1305999 * Tue Feb 02 2016 Raphael Groner - 0.10.0-8 - fix empty panel menu, rhbz#1252581 * Fri Jan 15 2016 Raphael Groner - 0.10.0-7 - fix menu patch * Fri Jan 15 2016 Raphael Groner - 0.10.0-6 - patch for RedHat special submenu Administration, rhbz#1217565 - add Requires: redhat-menus for the Administration category - restructure for better readability - add BR: cmake * Sun Dec 13 2015 Helio Chissini de Castro - 0.10.1-5 - Use regular theme under epel for now * Tue Dec 08 2015 Helio Chissini de Castro - 0.10.1-3 - Prepare to epel7 with new cmake3 * Thu Nov 26 2015 Helio Chissini de Castro - 0.10.1-2 - Missing proper path on policykit .desktop file. This causes the daemon not starts * Mon Nov 02 2015 Helio Chissini de Castro - 0.10.1-1 - New upstream release * Wed Jun 17 2015 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 12 2015 Helio Chissini de Castro - 0.9.1-4 - Avoid show in DM if no lxqt-session is available. Thanks to Rex Dieter * Sat Feb 28 2015 Helio Chissini de Castro - 0.9.1-3 - Fixed xdg entriy preventing session to load proper lxqt resources - Added Fedora theme and make it default * Wed Feb 18 2015 Helio Chissini de Castro - 0.9.1-2 - Rebuild (gcc5) * Sun Feb 15 2015 Helio Chissini de Castro - 0.9.1-1 - New 0.9 series patch release to fix issues related to 0.9.0. * Wed Feb 11 2015 Helio Chissini de Castro - 0.9.0-5 - Assign ownership of %%{_datadir}/lxqt * Tue Feb 10 2015 Helio Chissini de Castro - 0.9.0-4 - startlxqt tries to launch dbus-session, so it need requires dbus-x11 * Tue Feb 10 2015 Helio Chissini de Castro - 0.9.0-3 - Major theme issue on 0.9.0 tarball. Recreated from fix master git. * Sun Feb 08 2015 Helio Chissini de Castro - 0.9.0-2 - Missing upstream files during the tarball release * Sun Feb 08 2015 Helio Chissini de Castro - 0.9.0-1 - New upstream release 0.9.0 * Tue Feb 03 2015 Helio Chissini de Castro - 0.9.0-0.1 - Preparing 0.9.0 * Mon Dec 29 2014 Helio Chissini de Castro - 0.8.0-10 - Rebuild against new Qt 5.4.0 * Mon Dec 22 2014 Helio Chissini de Castro - 0.8.0-9 - Validate XDG desktop entry. Reenable regular sessions * Fri Dec 19 2014 Helio Chissini de Castro - 0.8.0-8 - Unify naming as discussed on Fedora IRC * Fri Dec 19 2014 Rex Dieter - 0.8.0-7 - fix lxqt-policykit autostart (moved to libexec) - don't mark autostart as %%config * Mon Nov 10 2014 Helio Chissini de Castro - 0.8.0-6 - For some reason Xdg went away on buildreqs. * Mon Nov 10 2014 Helio Chissini de Castro - 0.8.0-5 - Validate desktop files adding X- since is not a valif group on freedesktop yet - Owns xdg/lxqt directory * Mon Nov 10 2014 Helio Chissini de Castro - 0.8.0-4 - Fix review issues on https://bugzilla.redhat.com/show_bug.cgi?id=1158632 - Moved fedora theme package away as agreed nee to be in a separate package * Thu Oct 30 2014 Helio Chissini de Castro - 0.8.0-3 - Borrowed an upstream patch for XDG. Thanks to Florian Hubbold from Mageia * Wed Oct 29 2014 Helio Chissini de Castro - 0.8.0-2 - Small modification to submit package for review * Mon Oct 27 2014 Helio Chissini de Castro - 0.8.0-1 - First release to LxQt new base