forked from pool/libfm-qt
d832bf36ba
- Update to 0.11.2: * Fix enabled state of path arrows on starting (#58) * bump patch version (#56) * Use QByteArray::constData() where we can (#57) * Updates lxqt-build-tools required version * Bump ABI so version numbers preparing for a new release. * Fix Pathbar Paint on Menu Pop-Up * Code cleanup and refactor for Fm::PathBar. * Added another condition * Added a missing condition (typo) * Scroll Pathbar with Mouse Wheel * Reduct flickering of the path bar when creating path buttons. * Code simplification by removing unnecessary signal/slot usage. * Path Button Middle Click * Enable auto-repeat for pathbar scroll buttons. * Make the path bar buttons aware of style changes. * Use widget style instead of app style * Align Path Buttons * Move FindXCB.cmake to lxqt-build-tools * Adds superbuild/intree support * Removes not needed dependency check * Set CMP0024 policy usage to NEW * Updates target_include_directories() stuff * Drops GLib library detection * Use the new FindMenuCache CMake module * Use the new FindFm CMake module * Check for FolderModelItem info (and FmPath) * Add Fm::PathBar::editingFinished() signal. * Select the current path when editing the path bar. * Enable path editing and popup menu for the button-style path bar. OBS-URL: https://build.opensuse.org/request/show/460277 OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/libfm-qt?expand=0&rev=5
102 lines
3.2 KiB
RPMSpec
102 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package libfm-qt
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX 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: libfm-qt
|
|
Version: 0.11.2
|
|
Release: 0
|
|
Summary: Library providing components to build desktop file managers
|
|
License: LGPL-2.1+
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://lxqt.org
|
|
Source: https://downloads.lxqt.org/%{name}/%{version}/%{name}-%{version}.tar.xz
|
|
Source1: https://downloads.lxqt.org/%{name}/%{version}/%{name}-%{version}.tar.xz.asc
|
|
Source2: libfm-qt.keyring
|
|
BuildRequires: cmake >= 3.0.2
|
|
BuildRequires: lxqt-build-tools-devel
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
# Needs private headers, see xdndworkaround.cpp
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
|
BuildRequires: libqt5-qttools-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
BuildRequires: pkgconfig(Qt5Xdg)
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(libfm) >= 1.2.0
|
|
BuildRequires: pkgconfig(libmenu-cache) >= 0.4.0
|
|
BuildRequires: pkgconfig(lxqt)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
libfm-qt is the Qt port of libfm, a library providing components to
|
|
build desktop file managers.
|
|
|
|
%package -n libfm-qt3
|
|
Summary: Library providing components to build desktop file managers
|
|
Group: System/Libraries
|
|
Conflicts: pcmanfm <= 0.10.0
|
|
Recommends: %{name}-lang
|
|
|
|
%description -n libfm-qt3
|
|
libfm-qt is the Qt port of libfm, a library providing components to
|
|
build desktop file managers.
|
|
|
|
%package -n libfm-qt-devel
|
|
Summary: Development files for libfm-qt
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libfm-qt3 >= %{version}
|
|
|
|
%description -n libfm-qt-devel
|
|
Libfm-Qt libraries for development
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -DPULL_TRANSLATIONS=No
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%post -n libfm-qt3 -p /sbin/ldconfig
|
|
%postun -n libfm-qt3 -p /sbin/ldconfig
|
|
|
|
%files -n libfm-qt3
|
|
%defattr(-,root,root)
|
|
%doc LICENSE README.md
|
|
%{_libdir}/libfm-qt.so.3
|
|
%{_libdir}/libfm-qt.so.3.1.0
|
|
|
|
%files -n libfm-qt-devel
|
|
%defattr(-,root,root)
|
|
%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
|
|
|
|
%changelog
|