Blame lxqt-common.spec

8591f76
%global git_short_rev 0ad2b72
8591f76
Rex Dieter e8c15b5
Name:    lxqt-common
Rex Dieter e8c15b5
Summary: Common resources for LXQt desktop suite
14e0c06
Version: 0.9.1
14e0c06
Release: 1%{?dist}
Rex Dieter e8c15b5
License: LGPLv2+
Rex Dieter e8c15b5
URL:     http://lxqt.org/
14e0c06
Source0: http://downloads.lxqt.org/lxqt/0.9.0/lxqt-common-%{version}.tar.xz
Rex Dieter e8c15b5
BuildArch: noarch
Rex Dieter e8c15b5
Rex Dieter e8c15b5
Requires: oxygen-icon-theme
c65c8d8
Requires: dbus-x11
Rex Dieter e8c15b5
20fe0ec
BuildRequires: cmake >= 2.8.9
Rex Dieter e8c15b5
BuildRequires: pkgconfig(Qt5Xdg)
Rex Dieter e8c15b5
BuildRequires: pkgconfig(Qt5Help)
4110ff2
BuildRequires: pkgconfig(lxqt)
20fe0ec
BuildRequires: kf5-kwindowsystem-devel >= 5.5
Rex Dieter e8c15b5
BuildRequires: desktop-file-utils
Rex Dieter e8c15b5
Rex Dieter e8c15b5
%description
Rex Dieter e8c15b5
%{summary}.
Rex Dieter e8c15b5
Rex Dieter e8c15b5
%prep
Rex Dieter e8c15b5
%setup -q
Rex Dieter e8c15b5
Rex Dieter e8c15b5
%build
Rex Dieter e8c15b5
mkdir -p %{_target_platform}
Rex Dieter e8c15b5
pushd %{_target_platform}
20fe0ec
	%{cmake} ..
Rex Dieter e8c15b5
popd
Rex Dieter e8c15b5
Rex Dieter e8c15b5
make %{?_smp_mflags} -C %{_target_platform}
Rex Dieter e8c15b5
Rex Dieter e8c15b5
%install
Rex Dieter e8c15b5
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter e8c15b5
Rex Dieter e8c15b5
desktop-file-validate %{buildroot}/%{_datadir}/xsessions/lxqt.desktop
Rex Dieter e8c15b5
Rex Dieter e8c15b5
for desktop in %{buildroot}%{_sysconfdir}/xdg/autostart/*.desktop; do
Rex Dieter e8c15b5
	desktop-file-edit --remove-only-show-in=LXQt --add-only-show-in=X-LXQt ${desktop}
Rex Dieter e8c15b5
done
Rex Dieter e8c15b5
20fe0ec
%posttrans
20fe0ec
update-desktop-database -q &> /dev/null || :
20fe0ec
20fe0ec
%postun
20fe0ec
if [ $1 -eq 0 ] ; then
20fe0ec
update-desktop-database -q &> /dev/null || :
20fe0ec
fi
20fe0ec
20fe0ec
Rex Dieter e8c15b5
%files
Rex Dieter e8c15b5
%{_bindir}/startlxqt	
Rex Dieter e8c15b5
%dir %{_sysconfdir}/xdg/lxqt
Rex Dieter 3b20ced
%{_sysconfdir}/xdg/autostart/lxqt-*
Rex Dieter e8c15b5
%config(noreplace) %{_sysconfdir}/xdg/lxqt/*
Rex Dieter e8c15b5
%{_datadir}/xsessions/lxqt.desktop
Rex Dieter e8c15b5
%dir %{_sysconfdir}/xdg/pcmanfm-qt
Rex Dieter e8c15b5
%config(noreplace) %{_sysconfdir}/xdg/pcmanfm-qt/lxqt/settings.conf
c670aca
%dir %{_datadir}/lxqt
4110ff2
%{_datadir}/lxqt/themes
4110ff2
%{_datadir}/lxqt/graphics
4110ff2
%{_datadir}/lxqt/openbox
14e0c06
%{_datadir}/desktop-directories/lxqt-settings.directory
20fe0ec
%{_sysconfdir}/xdg/menus/lxqt-applications.menu
Rex Dieter e8c15b5
%exclude %{_datadir}/apps/kdm/sessions/lxqt.desktop
9e51fe3
%{_datadir}/desktop-directories/lxqt-leave.directory
9e51fe3
%{_datadir}/icons/hicolor/*/*/*
Rex Dieter e8c15b5
Rex Dieter e8c15b5
%changelog
14e0c06
* Sun Feb 15 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.1-1
14e0c06
- New 0.9 series patch release to fix issues related to 0.9.0.
14e0c06
c670aca
* Wed Feb 11 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-5
14e0c06
- Assign ownership of %{_datadir}/lxqt to lxqt-common
c670aca
c65c8d8
* Tue Feb 10 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-4
c65c8d8
- startlxqt tries to launch dbus-session, so it need requires dbus-x11
c65c8d8
8591f76
* Tue Feb 10 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-3
8591f76
- Major theme issue on 0.9.0 tarball. Recreated from fix master git.
8591f76
9e51fe3
* Sun Feb 08 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-2
9e51fe3
- Missing upstream files during the tarball release
9e51fe3
20fe0ec
* Sun Feb 08 2015 Helio Chissini de Castro <helio@kde.org> - 0.9.0-1
20fe0ec
- New upstream release 0.9.0
20fe0ec
20fe0ec
* Tue Feb 03 2015 Helio Chissini de Castro <hcastro@redhat.com> - 0.9.0-0.1
20fe0ec
- Preparing 0.9.0
20fe0ec
5719f23
* Mon Dec 29 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-10
5719f23
- Rebuild against new Qt 5.4.0
5719f23
bdb6c23
* Mon Dec 22 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-9
bdb6c23
- Validate XDG desktop entry. Reenable regular sessions
bdb6c23
4110ff2
* Fri Dec 19 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-8
4110ff2
- Unify naming as discussed on Fedora IRC
4110ff2
Rex Dieter 3b20ced
* Fri Dec 19 2014 Rex Dieter <rdieter@fedoraproject.org> - 0.8.0-7
Rex Dieter 3b20ced
- fix lxqt-policykit autostart (moved to libexec)
Rex Dieter 3b20ced
- don't mark autostart as %%config
Rex Dieter 3b20ced
Rex Dieter e8c15b5
* Mon Nov 10 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-6
Rex Dieter e8c15b5
- For some reason Xdg went away on buildreqs.
Rex Dieter e8c15b5
Rex Dieter e8c15b5
* Mon Nov 10 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-5
Rex Dieter e8c15b5
- Validate desktop files adding X- since is not a valif group on freedesktop yet
Rex Dieter e8c15b5
- Owns xdg/lxqt directory
Rex Dieter e8c15b5
Rex Dieter e8c15b5
* Mon Nov 10 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-4
Rex Dieter e8c15b5
- Fix review issues on https://bugzilla.redhat.com/show_bug.cgi?id=1158632
Rex Dieter e8c15b5
- Moved fedora theme package away as agreed nee to be in a separate package
Rex Dieter e8c15b5
Rex Dieter e8c15b5
* Thu Oct 30 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-3
Rex Dieter e8c15b5
- Borrowed an upstream patch for XDG. Thanks to Florian Hubbold from Mageia
Rex Dieter e8c15b5
Rex Dieter e8c15b5
* Wed Oct 29 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-2
Rex Dieter e8c15b5
- Small modification to submit package for review
Rex Dieter e8c15b5
Rex Dieter e8c15b5
* Mon Oct 27 2014 Helio Chissini de Castro <hcastro@redhat.com> - 0.8.0-1
Rex Dieter e8c15b5
- First release to LxQt new base