2016-09-24 19:58:25 +02:00
|
|
|
#
|
|
|
|
# spec file for package libfm-qt
|
|
|
|
#
|
2023-01-02 14:21:56 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2016-09-24 19:58:25 +02: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-04-30 16:31:05 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-09-24 19:58:25 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libfm-qt
|
2023-11-05 15:30:39 +01:00
|
|
|
Version: 1.4.0
|
2016-09-24 19:58:25 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Library providing components to build desktop file managers
|
2022-11-06 09:57:34 +01:00
|
|
|
License: BSD-3-Clause AND LGPL-2.1-or-later
|
2016-09-24 19:58:25 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-05-22 16:19:24 +02:00
|
|
|
URL: http://lxqt.org
|
2020-04-25 15:47:12 +02:00
|
|
|
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
2016-09-24 19:58:25 +02:00
|
|
|
Source2: libfm-qt.keyring
|
2019-01-31 10:37:03 +01:00
|
|
|
BuildRequires: cmake >= 3.1.0
|
2016-09-24 19:58:25 +02:00
|
|
|
# Needs private headers, see xdndworkaround.cpp
|
|
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
|
|
|
BuildRequires: libqt5-qttools-devel
|
2023-11-05 15:30:39 +01:00
|
|
|
BuildRequires: lxqt-build-tools-devel >= 0.13.0
|
2016-09-24 19:58:25 +02:00
|
|
|
BuildRequires: pkgconfig
|
2018-05-22 16:19:24 +02:00
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
2017-02-26 13:11:14 +01:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
2023-11-10 18:46:51 +01:00
|
|
|
BuildRequires: cmake(lxqt-menu-data)
|
2021-11-08 10:23:25 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.15
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.15
|
2017-02-26 13:11:14 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Xdg)
|
2016-09-24 19:58:25 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
2020-11-04 14:24:13 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
|
2017-10-23 12:16:21 +02:00
|
|
|
BuildRequires: pkgconfig(libexif)
|
2020-11-04 14:24:13 +01:00
|
|
|
BuildRequires: pkgconfig(libmenu-cache) >= 1.1.0
|
2017-02-26 13:11:14 +01:00
|
|
|
BuildRequires: pkgconfig(lxqt)
|
2016-09-24 19:58:25 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
|
|
|
|
%description
|
2016-09-30 23:48:54 +02:00
|
|
|
libfm-qt is the Qt port of libfm, a library providing components to
|
|
|
|
build desktop file managers.
|
2016-09-24 19:58:25 +02:00
|
|
|
|
2023-11-10 18:46:51 +01:00
|
|
|
%{lang_package -r libfm-qt14}
|
2019-01-31 10:37:03 +01:00
|
|
|
|
2023-11-05 22:27:11 +01:00
|
|
|
%package -n libfm-qt14
|
2016-09-30 23:48:54 +02:00
|
|
|
Summary: Library providing components to build desktop file managers
|
2020-04-30 16:31:05 +02:00
|
|
|
# Require data files read by the library. For parallel installed library versions, the newest one wins
|
2016-09-24 19:58:25 +02:00
|
|
|
Group: System/Libraries
|
2020-04-30 16:31:05 +02:00
|
|
|
Requires: %{name}-data >= %{version}
|
2016-09-24 19:58:25 +02:00
|
|
|
Recommends: %{name}-lang
|
2018-05-22 16:19:24 +02:00
|
|
|
Conflicts: pcmanfm <= 0.10.0
|
2020-04-30 16:35:07 +02:00
|
|
|
Provides: libfm-qt
|
2016-09-24 19:58:25 +02:00
|
|
|
|
2023-11-05 22:18:20 +01:00
|
|
|
%description -n libfm-qt14
|
2016-09-30 23:48:54 +02:00
|
|
|
libfm-qt is the Qt port of libfm, a library providing components to
|
|
|
|
build desktop file managers.
|
2016-09-24 19:58:25 +02:00
|
|
|
|
2020-04-30 16:31:05 +02:00
|
|
|
%package data
|
|
|
|
Summary: Data files for libfm library
|
|
|
|
# libfm-qt6 wrongly shipped those files as part of the library package
|
|
|
|
# resulting in file conflicts when the soname changed
|
|
|
|
# No way to fix the old package, so we conflict it
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Conflicts: libfm-qt6
|
2023-04-15 23:03:16 +02:00
|
|
|
BuildArch: noarch
|
2020-04-30 16:31:05 +02:00
|
|
|
|
|
|
|
%description data
|
|
|
|
Provides data to be read by libfm-qt
|
|
|
|
|
2016-09-24 19:58:25 +02:00
|
|
|
%package -n libfm-qt-devel
|
|
|
|
Summary: Development files for libfm-qt
|
|
|
|
Group: Development/Libraries/C and C++
|
2023-11-05 22:39:00 +01:00
|
|
|
Requires: libfm-qt14 >= %{version}
|
2017-10-23 12:16:21 +02:00
|
|
|
Requires: pkgconfig
|
|
|
|
# libfm-qt has an -I on a path from menu-cache-devel
|
|
|
|
Requires: pkgconfig(libmenu-cache) >= 0.4.0
|
2016-09-24 19:58:25 +02:00
|
|
|
|
|
|
|
%description -n libfm-qt-devel
|
|
|
|
Libfm-Qt libraries for development
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -DPULL_TRANSLATIONS=No
|
2020-04-30 16:31:05 +02:00
|
|
|
%make_build
|
2016-09-24 19:58:25 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
2019-01-31 10:37:03 +01:00
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
2023-11-05 22:24:39 +01:00
|
|
|
%post -n libfm-qt14 -p /sbin/ldconfig
|
|
|
|
%postun -n libfm-qt14 -p /sbin/ldconfig
|
2016-09-24 19:58:25 +02:00
|
|
|
|
2023-11-05 22:24:39 +01:00
|
|
|
%files -n libfm-qt14
|
2020-05-11 22:46:40 +02:00
|
|
|
%license LICENSE LICENSE.BSD-3-Clause
|
2018-05-22 16:19:24 +02:00
|
|
|
%doc README.md
|
2017-10-23 12:16:21 +02:00
|
|
|
%{_libdir}/libfm-qt.so.*
|
2020-04-30 16:31:05 +02:00
|
|
|
|
|
|
|
%files data
|
|
|
|
%dir %{_datadir}/libfm-qt/
|
2018-05-03 12:23:02 +02:00
|
|
|
%{_datadir}/libfm-qt/archivers.list
|
|
|
|
%{_datadir}/libfm-qt/terminals.list
|
|
|
|
%{_datadir}/mime/packages/libfm-qt-mimetypes.xml
|
2016-09-24 19:58:25 +02:00
|
|
|
|
|
|
|
%files -n libfm-qt-devel
|
|
|
|
%doc %{_datadir}/cmake/fm-qt
|
|
|
|
%{_includedir}/libfm-qt/
|
|
|
|
%{_libdir}/libfm-qt.so
|
|
|
|
%{_libdir}/pkgconfig/libfm-qt.pc
|
|
|
|
%{_datadir}/cmake/fm-qt/fm-qt-config-version.cmake
|
|
|
|
%{_datadir}/cmake/fm-qt/fm-qt-config.cmake
|
|
|
|
%{_datadir}/cmake/fm-qt/fm-qt-targets-*.cmake
|
|
|
|
%{_datadir}/cmake/fm-qt/fm-qt-targets.cmake
|
|
|
|
|
2020-04-30 16:31:05 +02:00
|
|
|
%files lang -f %{name}.lang
|
2019-01-31 10:37:03 +01:00
|
|
|
%dir %{_datadir}/libfm-qt
|
|
|
|
%dir %{_datadir}/libfm-qt/translations
|
2020-04-25 15:47:12 +02:00
|
|
|
%{_datadir}/libfm-qt/translations/*
|
2019-01-31 10:37:03 +01:00
|
|
|
|
2016-09-24 19:58:25 +02:00
|
|
|
%changelog
|