SHA256
1
0
forked from pool/libfm-qt

Accepting request 1178511 from X11:LXQt

- Added:
  * Provides: libfm-qt6 >= %{version} for main library
  * Specfile Cleanup
  * %check section

- Requires fixed

- Update to 2.0.2:
  * Fixed a regression in running executable files in terminal.
  * Removed a redundant child-parent relation in path-bar to prevent
    a rare crash with Qt ≥ 6.7.
  * Ported to Qt6.
  * Added lxqt-menu-data dependency to README.md.
  * Updated mime types of lxqt-archiver and arqiver.
  * Added 4 menu icons.
  * Workaround for Qt bug in a context menu invoked by Menu key.

OBS-URL: https://build.opensuse.org/request/show/1178511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfm-qt?expand=0&rev=21
This commit is contained in:
Ana Guerrero 2024-06-05 15:38:52 +00:00 committed by Git OBS Bridge
commit bb857a24da
7 changed files with 109 additions and 97 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ee3882e023df1df31a53f03575856d38364aa63bec39e9a47fde3730d6f7753
size 398004

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmVHeacVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+eFwQAJ5gGCZ+iDAJeXnndzsvnnU1OXtq
DMR/8C/sIsJP5jNnR2sBTQPBpz2qdOqn8TY3ymQE5s8kVw40oEn8S8U7yDEAYAvU
TdeoGMzxyLim/J7lZ653xW87EmXY//latRHjdTTPRdM6NbYgz1SPGIacPdQ27X1f
6NMSSpgCjB2WxjJDfTyVpRCKgt5opKXki9cBFfeA9y1rTJJdoKD3H+J/IOMjhvFl
TZovxdGlvKbbCQIKrbD5VYRyv6P/3FGhFvGNwrdocsWebOWhlJosx8ItZ+gxskK/
wLvqSeAI6wbv8ip7O1R8pwJHl4W4NCi6JlbNe7HGXmwy+beQH8e4bxYwwRGcN7HY
A9Bjf6rrpNlZuk+3ky7dA/xswsxhxQ60iuvb0pesQAu6EWdUm3Wzx9VhfeWLqamb
V3SIklyVK5//kDCWE+O2kH5LCB4Zke+4F+rPkgBb508EyW3C2GWAlO7KtYBRUFkw
WPb9o39rb7zP5Opn8pYxikf2HWnOY9H3Yb7OL+zPtBvFbVw5TaxRkaTaq/iNENPr
OydvBluI++udG6MurBFG20WnnDXmND4bNB983+duzXS1YDWWnTNXFy3ixJpAzMtr
U38+k3+qrGpYj//XSPXfDuPmqxkKGkGlhDgHacGBiDLV3Ipm8dESRDXh0Cj3tuQf
YTHQWwgAiHtoickG
=1A7T
-----END PGP SIGNATURE-----

3
libfm-qt-2.0.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:411ae1d7d549f34d10389953ded47fba030f128d716373c6af6d45a1bddc2755
size 412452

17
libfm-qt-2.0.2.tar.xz.asc Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmY7qZYVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+EC8P/RX6Cs9b929K4mHGv7zTdOSnBNxI
Okx5ajGJdiIwP83y3ZF2U0jHCbhh0z8Afy/fDJx0b6iLURWRJzJSb77EaIONkl6j
cJFaarO0sqPrdC51loqndH5CQbxZOBTmDAygl/5SaoiepzlGdLVgbiIdBES9y9un
1raI9G/co6uurgWoyKpYCzbh/OWJF/cbr82e6Vhcc5lrmxMMjQNY4mwo1tTOaWOL
QZcSL5bqSnvyt7wg/4R9yWWq9O8u6KtSskiK9x+Y6jMfdv9Y1PAJ9lanAVUxXmD+
Mm/JO1aVp6o5rAeTZedeRs4SxBLfHhRpI9N/RHIyw0tCVa0cHqKJrF9iCTK8GEk/
/k4N3LlM5em24J/z0fZl1zhlsOsz2b+1Bp/2kFV/KDFscm2WVvYBquTI+iIQeLnd
yMjVVjoMmxj0MXyowc4lKThn8UDSJP7qf4dkj1+RQOtjjA2MBEhTx3Vh9w3+4K+1
AyKkga4O/93v8h0zJ1tsjqALuJzTbdbCepnLhO1HVE2o5q7eHVG0mOTsHJ01k0e7
iUmdARDiE3rMvzm2GsRwORO0HM4rv+pg0BdLmR8ntzRqKKd4EJGdSJv4WcthnqN9
AIFiKK+2vlL/IJKtFfvmF1B+TmozVqYWiCzYYjbjbr7I0SDOs7nILbit7uS83Ftw
wQ44h2U2rPw61b47
=kckF
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Jun 4 14:28:21 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Added:
* Provides: libfm-qt6 >= %{version} for main library
* Specfile Cleanup
* %check section
-------------------------------------------------------------------
Mon Jun 3 20:09:16 UTC 2024 - Axel Braun <axel.braun@gmx.de>
- Requires fixed
-------------------------------------------------------------------
Sat May 11 04:11:37 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>
- Update to 2.0.2:
* Fixed a regression in running executable files in terminal.
* Removed a redundant child-parent relation in path-bar to prevent
a rare crash with Qt ≥ 6.7.
* Ported to Qt6.
* Added lxqt-menu-data dependency to README.md.
* Updated mime types of lxqt-archiver and arqiver.
* Added 4 menu icons.
* Workaround for Qt bug in a context menu invoked by Menu key.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 10 17:27:16 UTC 2023 - Shawn Dunn <sfalken@opensuse.org> Fri Nov 10 17:27:16 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libfm-qt # spec file for package libfm-qt
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,117 +16,103 @@
# #
%define _ver 14
%define _name libfm-qt6
Name: libfm-qt Name: libfm-qt
Version: 1.4.0 Version: 2.0.2
Release: 0 Release: 0
Summary: Library providing components to build desktop file managers Summary: Core library of PCManFM-Qt (Qt binding for libfm)
License: BSD-3-Clause AND LGPL-2.1-or-later License: BSD-3-Clause AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++ URL: https://github.com/lxqt/libfm-qt
URL: http://lxqt.org Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring
Source2: libfm-qt.keyring BuildRequires: cmake >= 3.18.0
BuildRequires: cmake >= 3.1.0 BuildRequires: gcc-c++
# Needs private headers, see xdndworkaround.cpp
BuildRequires: libQt5Gui-private-headers-devel
BuildRequires: libqt5-qttools-devel
BuildRequires: lxqt-build-tools-devel >= 0.13.0
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: cmake(KF5WindowSystem) BuildRequires: qt6-gui-private-devel
BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Widgets) >= 6.6.0
BuildRequires: cmake(lxqt-menu-data) BuildRequires: cmake(lxqt-menu-data)
BuildRequires: pkgconfig(Qt5Widgets) >= 5.15 BuildRequires: cmake(lxqt2-build-tools)
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.15
BuildRequires: pkgconfig(Qt5Xdg)
BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0 BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libmenu-cache) >= 1.1.0 BuildRequires: pkgconfig(libmenu-cache) >= 1.1.0
BuildRequires: pkgconfig(lxqt) BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(x11)
%description %description
libfm-qt is the Qt port of libfm, a library providing components to Libfm-Qt is a companion library providing components to build desktop file managers
build desktop file managers.
%{lang_package -r libfm-qt14} %lang_package -n %{_name}
%package -n libfm-qt14 %package -n %{_name}-%{_ver}
Summary: Library providing components to build desktop file managers Summary: Libfm-qt libraries
# Require data files read by the library. For parallel installed library versions, the newest one wins Requires: %{_name}-data >= %{version}
Group: System/Libraries Provides: %{_name} >= %{version}
Requires: %{name}-data >= %{version}
Recommends: %{name}-lang
Conflicts: pcmanfm <= 0.10.0
Provides: libfm-qt
%description -n libfm-qt14 %description -n %{_name}-%{_ver}
libfm-qt is the Qt port of libfm, a library providing components to Libfm-Qt is a companion library providing components to build desktop file managers
build desktop file managers.
%package data %package -n %{_name}-data
Summary: Data files for libfm library 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
BuildArch: noarch BuildArch: noarch
%description data %description -n %{_name}-data
Provides data to be read by libfm-qt Provides data to be read by libfm-qt
%package -n libfm-qt-devel %package -n %{_name}-devel
Summary: Development files for libfm-qt Summary: Development files for libfm-qt
Group: Development/Libraries/C and C++ Requires: %{_name}-%{_ver} = %{version}-%{release}
Requires: libfm-qt14 >= %{version}
Requires: pkgconfig
# libfm-qt has an -I on a path from menu-cache-devel
Requires: pkgconfig(libmenu-cache) >= 0.4.0
%description -n libfm-qt-devel %description -n %{_name}-devel
Libfm-Qt libraries for development Libfm-Qt libraries for development
%prep %prep
%setup -q %autosetup
%build %build
%cmake -DPULL_TRANSLATIONS=No %cmake_qt6
%make_build %{qt6_build}
%install %install
%cmake_install %{qt6_install}
%find_lang %{name} --with-qt %find_lang %{name} --with-qt
%post -n libfm-qt14 -p /sbin/ldconfig %ldconfig_scriptlets -n %{_name}-%{_ver}
%postun -n libfm-qt14 -p /sbin/ldconfig
%files -n libfm-qt14 %check
%license LICENSE LICENSE.BSD-3-Clause %ctest
%doc README.md
%{_libdir}/libfm-qt.so.*
%files data %files -n %{_name}-%{_ver}
%dir %{_datadir}/libfm-qt/ %doc AUTHORS CHANGELOG README.md
%{_datadir}/libfm-qt/archivers.list %{_libdir}/%{_name}.so.*
%{_datadir}/libfm-qt/terminals.list %license LICENSE
%{_datadir}/mime/packages/libfm-qt-mimetypes.xml
%files -n libfm-qt-devel %files -n %{_name}-data
%doc %{_datadir}/cmake/fm-qt %dir %{_datadir}/%{_name}
%{_includedir}/libfm-qt/ %{_datadir}/%{_name}/archivers.list
%{_libdir}/libfm-qt.so %{_datadir}/%{_name}/terminals.list
%{_libdir}/pkgconfig/libfm-qt.pc %{_datadir}/mime/packages/%{_name}-mimetypes.xml
%{_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
%files lang -f %{name}.lang %files -n %{_name}-devel
%dir %{_datadir}/libfm-qt %dir %{_datadir}/cmake/fm-qt6
%dir %{_datadir}/libfm-qt/translations %{_includedir}/%{_name}/
%{_datadir}/libfm-qt/translations/* %{_libdir}/%{_name}.so
%{_libdir}/pkgconfig/%{_name}.pc
%{_datadir}/cmake/fm-qt6/fm-qt6-config-version.cmake
%{_datadir}/cmake/fm-qt6/fm-qt6-config.cmake
%{_datadir}/cmake/fm-qt6/fm-qt6-targets-*.cmake
%{_datadir}/cmake/fm-qt6/fm-qt6-targets.cmake
%license LICENSE.BSD-3-Clause
%files -n %{_name}-lang -f %{name}.lang
%dir %{_datadir}/%{_name}/translations/
%if 0%{?sle_version}
%{_datadir}/%{_name}/translations/%{name}_???.qm
%endif
%changelog %changelog