Files
libfm-qt5/libfm-qt5.spec
Shawn Dunn 48638bce15 - Build version 1.4.0 (boo#1226151)
* Required for Qt5 Application support

- Update to 2.0.0:
  * Ported to Qt6
  * Added lxqt-menu-data dependency to README.md
  * Updated mimetypes of lxqt-archiver and arquiver
  * Added 4 Menu Icons
  * Workaround for Qt bug in a context menu invoked by a Menu Key
- Specfile cleanup and macro updating/refactoring

- Change in .spec to clear install issue with -lang subpackage
  * https://build.opensuse.org/package/show/openSUSE:Factory/libfm-qt#comment-1846136 

- Update to 1.4.0:
  * Use lxqt-menu-data instead of lxmenu-data.
  * Get terminals list also from data directories.
  * Remember password and anonymity settings of mount dialog.
  * Also add suffixes containing dot on saving with LXQt file dialog.
  * Don't select extensions on creating new template files.
  * Fixed a crash on deleting path-bar.
  * Prevent invisible "Create New" dialog under Wayland.
  * Added foot to terminals.list.

- Update to 1.3.0
  * Disabling of smooth scrolling is made possible for all views.
  * Zero-sized files are treated based on their extensions.
  * "New file" is used as the default name for new files
    (especially after GLib 2.75.1, that does not treat empty files

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/libfm-qt5?expand=0&rev=1
2024-06-11 01:27:33 +00:00

108 lines
3.3 KiB
RPMSpec

#
# spec file for package libfm-qt5
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define _name libfm-qt
Name: libfm-qt5
Version: 1.4.0
Release: 0
Summary: Library providing components to build desktop file managers
License: BSD-3-Clause AND LGPL-2.1-or-later
URL: http://lxqt.org
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
Source2: libfm-qt.keyring
BuildRequires: cmake >= 3.5.0
BuildRequires: lxqt-build-tools-qt5-devel >= 0.13.0
BuildRequires: libQt5PlatformSupport-private-headers-devel
BuildRequires: pkgconfig
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: cmake(Qt5UiTools)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5X11Extras)
BuildRequires: cmake(lxqt) >= 2.0.0
BuildRequires: cmake(lxqt-menu-data) >= 2.0.0
BuildRequires: cmake(qt5xdg)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libmenu-cache) >= 1.1.0
BuildRequires: pkgconfig(x11)
%description
libfm-qt5 is the Qt5 port of libfm, and provides compatibility for Qt5 Applications in LXQt >= 2.0
%lang_package
%package -n libfm-qt5-14
Summary: Library providing components to build desktop file managers
# Require data files read by the library. For parallel installed library versions, the newest one wins
Conflicts: pcmanfm <= 0.10.0
Provides: libfm-qt
%description -n libfm-qt5-14
libfm-qt is the Qt port of libfm, a library providing components to
build desktop file managers.
%package -n libfm-qt5-devel
Summary: Development files for libfm-qt
Requires: libfm-qt5-14 >= %{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-qt5-devel
Libfm-Qt libraries for development
%prep
%autosetup -p1 -n %{_name}-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
%find_lang %{_name} --with-qt
%ldconfig_scriptlets -n libfm-qt5-14
%check
%ctest
%files -n libfm-qt5-14
%license LICENSE LICENSE.BSD-3-Clause
%doc README.md
%dir %{_datadir}/%{_name}
%{_libdir}/%{_name}.so.*
%{_datadir}/%{_name}/*.list
%{_datadir}/mime/packages/%{_name}-mimetypes.xml
%files -n libfm-qt5-devel
%{_includedir}/%{_name}/
%{_libdir}/%{_name}.so
%{_libdir}/pkgconfig/%{_name}.pc
%{_datadir}/cmake/fm-qt/
%files lang -f %{_name}.lang
%dir %{_datadir}/%{_name}
%dir %{_datadir}/%{_name}/translations
%changelog