# # spec file for package libqtxdg # # Copyright (c) 2014 SUSE LINUX Products 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: libqt5xdg Version: 1.0.0 Release: 0 Summary: Qt implementation of xdg specs for lxqt License: GPL-3.0 Group: Development/Libraries/C and C++ Url: https://lxqt.org Source: libqtxdg-%{version}.tar.gz BuildRequires: cmake BuildRequires: fdupes BuildRequires: file-devel BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) #BuildRequires: pkgconfig(Qt5LinguistTools) BuildRequires: libqt5-linguist-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Qt implementation of freedesktop.org xdg specs for lxqt %package -n libQt5Xdg1 Summary: Libraries for qtxdg Group: System/Libraries Provides: libqtxdg %description -n libQt5Xdg1 qtxdg libraries for development %package devel Summary: Devel files for libqtxdg Group: Development/Libraries/C and C++ Requires: libQt5Xdg1 = %{version} Requires: libqt5-linguist-devel Requires: pkg-config %description devel qtxdg libraries for development %prep %setup -q -n libqtxdg-%{version} %build %cmake -DUSE_QT5=ON %__make %{?_smp_mflags} %install %cmake_install %fdupes -s %{buildroot}/%{_datadir}/locale %post -n libQt5Xdg1 -p /sbin/ldconfig %postun -n libQt5Xdg1 -p /sbin/ldconfig %files -n libQt5Xdg1 %defattr(-,root,root) %doc AUTHORS COPYING %{_libdir}/libQt5Xdg.so.1 %{_libdir}/libQt5Xdg.so.1.0.0 %{_datadir}/%{name} %files devel %defattr(-,root,root) %{_datadir}/cmake/qt5xdg %{_includedir}/qt5xdg %{_libdir}/pkgconfig/Qt5Xdg.pc %{_libdir}/libQt5Xdg.so %changelog