# # spec file for package liblxqt # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: liblxqt Version: 0.9.0 Release: 0 Summary: Core utility library for lxqt License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://www.lxqt.org Source: http://downloads.lxqt.org/lxqt/%{version}/liblxqt-%{version}.tar.xz BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: kwindowsystem-devel BuildRequires: pkg-config BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Xdg) >= 1.0.0 BuildRequires: pkgconfig(x11) Obsoletes: liblxqt-qt5 < %{version} Provides: liblxqt-qt5 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Core utility library for all lxqt components %package -n liblxqt0 Summary: Libraries for lxqt Group: System/Libraries Provides: liblxqt %description -n liblxqt0 Development libraries for lxqt %package devel Summary: Devel files for liblxqt Group: Development/Libraries/C and C++ Requires: liblxqt0 = %{version} Requires: pkg-config Requires: pkgconfig(Qt5Xdg) %description devel lxqt libraries for development %lang_package %prep %setup -q -n liblxqt-%{version} %build %cmake %__make %{?_smp_flags} %install %cmake_install %fdupes -s %{buildroot}/%{_datadir}/lxqt/translations %fdupes -s %{buildroot}/%{_includedir}/lxqt %post -n liblxqt0 -p /sbin/ldconfig %postun -n liblxqt0 -p /sbin/ldconfig %files -n liblxqt0 %defattr(-,root,root) %doc AUTHORS COPYING %{_libdir}/%{name}.so.0 %{_libdir}/%{name}.so.0.* %dir %{_datadir}/lxqt %files devel %defattr (-,root,root) %{_includedir}/lxqt/ %{_datadir}/cmake/lxqt/ %{_libdir}/pkgconfig/lxqt.pc %{_libdir}/%{name}.so %files -n %{name}-lang %defattr(-,root,root) %{_datadir}/lxqt/translations %changelog