# # Conditional build: # %define qtver 5.3.1 Summary: lxqt-about Name: lxqt-about Version: 0.11.0 Release: 1 License: GPLv2 and LGPL-2.1+ Group: X11/Applications Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz # Source0-md5: fc03056a2226f78da99acaeb5ce78e80 URL: http://www.lxqt.org/ BuildRequires: cmake >= 2.8.3 BuildRequires: liblxqt-devel >= 0.10.0 BuildRequires: xz-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description lxqt-about. %prep %setup -q %build install -d build cd build %cmake \ -DPULL_TRANSLATIONS=OFF \ ../ %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT #%%find_lang %{name} --with-qm %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) #%%dir %{_datadir}/lxqt/translations/%{name} %attr(755,root,root) %{_bindir}/lxqt-about %{_desktopdir}/lxqt-about.desktop