2014-10-28 10:09:34 +01:00
|
|
|
#
|
2015-01-31 18:25:49 +01:00
|
|
|
# spec file for package libqt5xdg
|
2014-10-28 10:09:34 +01:00
|
|
|
#
|
2020-01-03 11:36:42 +01:00
|
|
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-10-28 10:09:34 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-01-03 11:36:42 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-10-28 10:09:34 +01:00
|
|
|
#
|
|
|
|
|
2019-01-31 10:44:42 +01:00
|
|
|
|
2016-09-24 22:10:30 +02:00
|
|
|
%define _name libqtxdg
|
2014-10-28 10:09:34 +01:00
|
|
|
Name: libqt5xdg
|
2020-04-25 15:44:42 +02:00
|
|
|
Version: 3.5.0
|
2014-10-28 10:09:34 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Qt implementation of xdg specs for lxqt
|
2019-01-31 10:44:42 +01:00
|
|
|
License: GPL-3.0-only
|
2014-10-28 10:09:34 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-01-03 11:42:48 +01:00
|
|
|
URL: https://lxqt.org
|
2020-04-25 15:44:42 +02:00
|
|
|
Source: https://github.com/lxqt/libqtxdg/releases/download/%{version}/%{_name}-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/lxqt/libqtxdg/releases/download/%{version}/%{_name}-%{version}.tar.xz.asc
|
2016-09-24 22:10:30 +02:00
|
|
|
Source2: %{name}.keyring
|
2019-01-31 10:44:42 +01:00
|
|
|
BuildRequires: cmake >= 3.1.0
|
2014-10-28 10:09:34 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2015-11-10 11:04:43 +01:00
|
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
2019-02-25 11:13:59 +01:00
|
|
|
BuildRequires: lxqt-build-tools-devel
|
2016-09-24 22:10:30 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-04-25 15:44:42 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.10
|
2015-11-10 11:04:43 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
2016-09-24 22:10:30 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
2014-10-28 10:09:34 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
2020-01-03 11:36:42 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2014-10-28 10:09:34 +01:00
|
|
|
|
|
|
|
%description
|
2016-09-24 22:10:30 +02:00
|
|
|
Qt implementation of freedesktop.org XDG specs for LXQt
|
2014-10-28 10:09:34 +01:00
|
|
|
|
2017-10-23 12:00:16 +02:00
|
|
|
%package -n libQt5Xdg3
|
2014-10-28 10:09:34 +01:00
|
|
|
Summary: Libraries for qtxdg
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: libqtxdg
|
|
|
|
|
2017-10-23 12:00:16 +02:00
|
|
|
%description -n libQt5Xdg3
|
2016-09-24 22:10:30 +02:00
|
|
|
QtXDG libraries for development
|
2014-10-28 10:09:34 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel files for libqtxdg
|
|
|
|
Group: Development/Libraries/C and C++
|
2017-10-23 12:00:16 +02:00
|
|
|
Requires: libQt5Xdg3 = %{version}
|
2016-09-24 22:10:30 +02:00
|
|
|
Requires: pkgconfig
|
2015-01-31 18:25:49 +01:00
|
|
|
Requires: pkgconfig(Qt5UiTools)
|
2020-01-03 11:36:42 +01:00
|
|
|
Recommends: qtxdg-tools
|
2014-10-28 10:09:34 +01:00
|
|
|
|
|
|
|
%description devel
|
2016-09-24 22:10:30 +02:00
|
|
|
QtXDG libraries for development
|
|
|
|
|
2017-10-23 12:00:16 +02:00
|
|
|
%package -n libQt5XdgIconLoader3
|
2016-09-24 22:10:30 +02:00
|
|
|
Summary: IconLoader library for QtXDG
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: libqtxdgiconloader
|
|
|
|
|
2017-10-23 12:00:16 +02:00
|
|
|
%description -n libQt5XdgIconLoader3
|
2016-09-24 22:10:30 +02:00
|
|
|
QtXDG icon loader libraries used in LXQt
|
|
|
|
|
|
|
|
%package -n libQt5XdgIconLoader-devel
|
|
|
|
Summary: Devel files for libQt5XdgIconLoader
|
|
|
|
Group: Development/Libraries/C and C++
|
2017-10-23 12:00:16 +02:00
|
|
|
Requires: libQt5XdgIconLoader3 = %{version}
|
2016-09-24 22:10:30 +02:00
|
|
|
|
|
|
|
%description -n libQt5XdgIconLoader-devel
|
|
|
|
Development files for QtXDG icon loader libraries used in LXQt
|
2014-10-28 10:09:34 +01:00
|
|
|
|
2020-01-03 11:36:42 +01:00
|
|
|
%package -n qtxdg-tools
|
|
|
|
Summary: Tools for QtXdg
|
|
|
|
Group: System/X11/Utilities
|
|
|
|
|
|
|
|
%description -n qtxdg-tools
|
|
|
|
Tools for QtXdg.
|
|
|
|
|
2014-10-28 10:09:34 +01:00
|
|
|
%prep
|
2016-09-24 22:10:30 +02:00
|
|
|
%setup -q -n %{_name}-%{version}
|
2014-10-28 10:09:34 +01:00
|
|
|
|
|
|
|
%build
|
2015-02-23 20:46:43 +01:00
|
|
|
%cmake
|
2015-11-10 11:04:43 +01:00
|
|
|
make %{?_smp_mflags}
|
2014-10-28 10:09:34 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-23 20:46:43 +01:00
|
|
|
%cmake_install
|
2014-10-28 10:09:34 +01:00
|
|
|
%fdupes -s %{buildroot}/%{_datadir}/locale
|
|
|
|
|
2017-10-23 12:00:16 +02:00
|
|
|
%post -n libQt5Xdg3 -p /sbin/ldconfig
|
|
|
|
%postun -n libQt5Xdg3 -p /sbin/ldconfig
|
|
|
|
%post -n libQt5XdgIconLoader3 -p /sbin/ldconfig
|
|
|
|
%postun -n libQt5XdgIconLoader3 -p /sbin/ldconfig
|
2014-10-28 10:09:34 +01:00
|
|
|
|
2017-10-23 12:00:16 +02:00
|
|
|
%files -n libQt5Xdg3
|
2020-01-03 11:42:48 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS
|
2015-11-10 11:04:43 +01:00
|
|
|
%{_libdir}/libQt5Xdg.so.*
|
2014-10-28 10:09:34 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_datadir}/cmake/qt5xdg
|
|
|
|
%{_includedir}/qt5xdg
|
|
|
|
%{_libdir}/pkgconfig/Qt5Xdg.pc
|
|
|
|
%{_libdir}/libQt5Xdg.so
|
|
|
|
|
2017-10-23 12:00:16 +02:00
|
|
|
%files -n libQt5XdgIconLoader3
|
|
|
|
%{_libdir}/libQt5XdgIconLoader.so.3
|
2019-01-31 10:44:42 +01:00
|
|
|
%{_libdir}/libQt5XdgIconLoader.so.3.*
|
2016-09-24 22:10:30 +02:00
|
|
|
|
|
|
|
%files -n libQt5XdgIconLoader-devel
|
|
|
|
%dir %{_includedir}/qt5xdgiconloader
|
2019-02-25 11:13:59 +01:00
|
|
|
%dir %{_includedir}/qt5xdgiconloader/%{version}
|
|
|
|
%dir %{_includedir}/qt5xdgiconloader/%{version}/private
|
|
|
|
%dir %{_includedir}/qt5xdgiconloader/%{version}/private/xdgiconloader
|
2016-09-24 22:10:30 +02:00
|
|
|
%dir %{_datadir}/cmake/qt5xdgiconloader
|
|
|
|
%{_libdir}/libQt5XdgIconLoader.so
|
2017-10-23 12:00:16 +02:00
|
|
|
%{_libdir}/qt5/plugins/iconengines/libQt5XdgIconPlugin.so
|
2016-09-24 22:10:30 +02:00
|
|
|
%{_includedir}/qt5xdgiconloader/xdgiconloader_export.h
|
2019-02-25 11:13:59 +01:00
|
|
|
%{_includedir}/qt5xdgiconloader/%{version}/private/xdgiconloader/xdgiconloader_p.h
|
2016-09-24 22:10:30 +02:00
|
|
|
%{_libdir}/pkgconfig/Qt5XdgIconLoader.pc
|
|
|
|
%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-config-version.cmake
|
|
|
|
%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-config.cmake
|
|
|
|
%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-targets-*.cmake
|
|
|
|
%{_datadir}/cmake/qt5xdgiconloader/qt5xdgiconloader-targets.cmake
|
|
|
|
|
2020-01-03 11:36:42 +01:00
|
|
|
%files -n qtxdg-tools
|
2020-01-03 11:42:48 +01:00
|
|
|
%{_bindir}/qtxdg-mat
|
2020-01-03 11:36:42 +01:00
|
|
|
|
2014-10-28 10:09:34 +01:00
|
|
|
%changelog
|