2015-02-16 21:12:21 +01:00
|
|
|
#
|
|
|
|
# spec file for package liblxqt
|
|
|
|
#
|
2023-04-19 16:54:10 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-02-16 21:12:21 +01: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-01-27 10:44:35 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-02-16 21:12:21 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: liblxqt
|
2023-11-05 15:26:34 +01:00
|
|
|
Version: 1.4.0
|
2015-02-16 21:12:21 +01:00
|
|
|
Release: 0
|
2016-09-24 22:12:20 +02:00
|
|
|
Summary: Core utility library for LXQt
|
2019-01-31 10:41:40 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2015-02-16 21:12:21 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-05-29 11:08:05 +02:00
|
|
|
URL: http://www.lxqt.org
|
2018-05-22 17:39:00 +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 22:12:20 +02:00
|
|
|
Source2: %{name}.keyring
|
2019-01-31 10:41:40 +01:00
|
|
|
BuildRequires: cmake >= 3.1.0
|
2015-02-16 21:12:21 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2023-04-19 16:54:10 +02:00
|
|
|
BuildRequires: lxqt-build-tools-devel >= 0.13.0
|
2016-09-24 22:12:20 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-11-04 14:21:09 +01:00
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= 5.36.0
|
2015-02-16 21:12:21 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
2022-04-27 21:25:16 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Xdg) >= 3.9.0
|
2019-01-31 10:41:40 +01:00
|
|
|
BuildRequires: pkgconfig(polkit-qt5-1)
|
2015-02-16 21:12:21 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2016-09-24 22:12:20 +02:00
|
|
|
BuildRequires: pkgconfig(xscrnsaver)
|
2015-02-25 02:17:07 +01:00
|
|
|
Obsoletes: liblxqt-qt5 < %{version}
|
|
|
|
Provides: liblxqt-qt5 = %{version}
|
2021-11-09 17:04:19 +01:00
|
|
|
# moved files to correct location in liblxqt1 (/lxqt-backlight_backend, power.conf, polkit)
|
|
|
|
Conflicts: liblxqt0
|
2022-08-03 15:34:01 +02:00
|
|
|
Requires: /usr/bin/pkexec
|
2015-02-16 21:12:21 +01:00
|
|
|
|
|
|
|
%description
|
2016-10-01 00:32:39 +02:00
|
|
|
liblxqt represents the core library of LXQt providing essential
|
|
|
|
functionality needed by nearly all of its components.
|
2015-02-16 21:12:21 +01:00
|
|
|
|
2019-01-31 10:41:40 +01:00
|
|
|
%lang_package
|
|
|
|
|
2021-11-05 16:58:02 +01:00
|
|
|
%package -n liblxqt1
|
2016-10-01 00:32:39 +02:00
|
|
|
Summary: LXQt core library
|
2015-02-16 21:12:21 +01:00
|
|
|
Group: System/Libraries
|
2016-09-24 22:12:20 +02:00
|
|
|
Recommends: %{name}-lang
|
2020-11-04 14:21:09 +01:00
|
|
|
Provides: liblxqt
|
2021-11-09 16:47:54 +01:00
|
|
|
Recommends: %{name} >= %{version}
|
2015-02-16 21:12:21 +01:00
|
|
|
|
2021-11-05 16:58:02 +01:00
|
|
|
%description -n liblxqt1
|
2016-10-01 00:32:39 +02:00
|
|
|
liblxqt represents the core library of LXQt providing essential
|
|
|
|
functionality needed by nearly all of its components.
|
2015-02-16 21:12:21 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel files for liblxqt
|
|
|
|
Group: Development/Libraries/C and C++
|
2021-11-05 16:58:02 +01:00
|
|
|
Requires: liblxqt1 = %{version}
|
2016-09-24 22:12:20 +02:00
|
|
|
Requires: pkgconfig
|
2015-02-16 21:12:21 +01:00
|
|
|
Requires: pkgconfig(Qt5Xdg)
|
|
|
|
|
|
|
|
%description devel
|
2016-10-01 00:32:39 +02:00
|
|
|
liblxqt represents the core library of LXQt providing essential
|
|
|
|
functionality needed by nearly all of its components.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of liblxqt.
|
2015-02-16 21:12:21 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n liblxqt-%{version}
|
|
|
|
|
|
|
|
%build
|
2016-09-24 22:12:20 +02:00
|
|
|
%cmake -DPULL_TRANSLATIONS=No
|
2020-11-04 14:21:09 +01:00
|
|
|
%make_build
|
2015-02-16 21:12:21 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-25 02:17:07 +01:00
|
|
|
%cmake_install
|
2015-02-16 21:12:21 +01:00
|
|
|
|
2019-01-31 10:41:40 +01:00
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
2021-11-05 16:58:02 +01:00
|
|
|
%post -n liblxqt1 -p /sbin/ldconfig
|
|
|
|
%postun -n liblxqt1 -p /sbin/ldconfig
|
2015-02-16 21:12:21 +01:00
|
|
|
|
2021-11-09 16:47:54 +01:00
|
|
|
%files
|
2021-11-09 16:58:00 +01:00
|
|
|
%dir %{_datadir}/lxqt/
|
2021-11-09 16:47:54 +01:00
|
|
|
%{_datadir}/lxqt/power.conf
|
|
|
|
%{_bindir}/lxqt-backlight_backend
|
|
|
|
%dir %{_datadir}/polkit-1/
|
|
|
|
%{_datadir}/polkit-1/actions/
|
|
|
|
|
2021-11-05 16:58:02 +01:00
|
|
|
%files -n liblxqt1
|
2018-05-22 16:05:48 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS
|
2021-11-05 16:58:02 +01:00
|
|
|
%{_libdir}/%{name}.so.?
|
|
|
|
%{_libdir}/%{name}.so.?.*
|
2015-02-16 21:12:21 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/lxqt/
|
|
|
|
%{_libdir}/pkgconfig/lxqt.pc
|
|
|
|
%{_libdir}/%{name}.so
|
2021-11-09 17:04:19 +01:00
|
|
|
%{_datadir}/cmake/lxqt/
|
2015-02-16 21:12:21 +01:00
|
|
|
|
2020-11-04 14:21:09 +01:00
|
|
|
%files lang -f %{name}.lang
|
2019-01-31 10:41:40 +01:00
|
|
|
%dir %{_datadir}/lxqt/translations
|
|
|
|
%dir %{_datadir}/lxqt/translations/liblxqt
|
2020-04-25 15:44:12 +02:00
|
|
|
%{_datadir}/lxqt/translations/liblxqt/*
|
2019-01-31 10:41:40 +01:00
|
|
|
|
2015-02-16 21:12:21 +01:00
|
|
|
%changelog
|