From 41242bd64c5068b79c5326ccd94d32617b430dbd Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 13 May 2014 18:11:14 +0200 Subject: [PATCH] - new - I have not found /usr/lib/qt4/plugins/gui_platform in any package --- lxqt-qtplugin.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lxqt-qtplugin.spec diff --git a/lxqt-qtplugin.spec b/lxqt-qtplugin.spec new file mode 100644 index 0000000..110c729 --- /dev/null +++ b/lxqt-qtplugin.spec @@ -0,0 +1,47 @@ +# +# Conditional build: +# +%define qtver 4.8.5 + +Summary: lxqt-qtplugin +Name: lxqt-qtplugin +Version: 0.7.0 +Release: 0.1 +License: GPLv2 and LGPL-2.1+ +Group: X11/Applications +Source0: http://lxqt.org/downloads/lxqt/0.7.0/%{name}-%{version}.tar.xz +# Source0-md5: dfb5d4030be3c00fde327969657fb12b +URL: http://www.lxqt.org/ +BuildRequires: cmake >= 2.8.3 +BuildRequires: liblxqt-devel >= 0.7.0 +BuildRequires: libqtxdg-devel >= 0.5.3 +BuildRequires: xz-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +lxqt-qtplugin. + +%prep +%setup -q -c %{name}-%{version} + +%build +install -d build +cd build +%cmake \ + ../ + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} -C build install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%dir %{_libdir}/qt4/plugins/gui_platform +%attr(755,root,root) %{_libdir}/qt4/plugins/gui_platform/libqtlxqt.so -- 2.44.0