2016-09-24 19:58:25 +02:00
|
|
|
#
|
|
|
|
# spec file for package libfm-qt
|
|
|
|
#
|
2017-02-26 13:11:14 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libfm-qt
|
2017-02-26 13:11:14 +01:00
|
|
|
Version: 0.11.2
|
2016-09-24 19:58:25 +02:00
|
|
|
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
|
2017-02-26 13:11:14 +01:00
|
|
|
BuildRequires: lxqt-build-tools-devel
|
2016-09-24 19:58:25 +02:00
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
# Needs private headers, see xdndworkaround.cpp
|
|
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
|
|
|
BuildRequires: libqt5-qttools-devel
|
|
|
|
BuildRequires: pkgconfig
|
2017-02-26 13:11:14 +01:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
2016-09-24 19:58:25 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
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)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(libfm) >= 1.2.0
|
|
|
|
BuildRequires: pkgconfig(libmenu-cache) >= 0.4.0
|
2017-02-26 13:11:14 +01:00
|
|
|
BuildRequires: pkgconfig(lxqt)
|
2016-09-24 19:58:25 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
%package -n libfm-qt3
|
2016-09-30 23:48:54 +02:00
|
|
|
Summary: Library providing components to build desktop file managers
|
2016-09-24 19:58:25 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Conflicts: pcmanfm <= 0.10.0
|
|
|
|
Recommends: %{name}-lang
|
|
|
|
|
|
|
|
%description -n libfm-qt3
|
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
|
|
|
|
|
|
|
%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)
|
2016-09-27 09:45:50 +02:00
|
|
|
%doc LICENSE README.md
|
2016-09-24 19:58:25 +02:00
|
|
|
%{_libdir}/libfm-qt.so.3
|
2017-02-26 13:11:14 +01:00
|
|
|
%{_libdir}/libfm-qt.so.3.1.0
|
2016-09-24 19:58:25 +02:00
|
|
|
|
|
|
|
%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
|