lxqt-build-tools-qt5/lxqt-build-tools-qt5.spec
Shawn Dunn 84fba5f391 - Build version 0.13.0 (boo#1226151)
* Provides Buildsystem requirements for Qt5 based LXQt Components

- Update to 2.0.0
  * Ported to Qt6 with the new project name lxqt2-build-tools, such
    that the Qt5-based version 0.13.0 can be installed alongside it.
- Specfile modernization and cleanup

- Update to 0.13.0
  * Bumped minimum compatibility level to C++17
- Remove lxqt-build-tools-0.12.0-cpp17.patch

- boo#1208217: Bump required C++ version
  See also: gh/lxqt/lxqt-config#903
  Add lxqt-build-tools-0.12.0-cpp17.patch

- Update to 0.12.0
  * Support absolute `CMAKE_INSTALL_{INCLUDE,LIB}DIR` in
    `LXQtCreatePkgConfigFile'
  * Use `gdesktopappinfo.h` to find gio-unix-2.0 in
    `FindGLIB.cmake`
  * Drop use of `-Bsymbolic` in `LXQtCompilerSettings`
- Remove lxqt-build-tools-symbolic.patch
- Remove 4991811-fix-FindGLIB.cmake.patch

- Add patch to fix libqt5xdg with latest glib-2.0:
  * 4991811-fix-FindGLIB.cmake.patch

- bsc#1195421: Add lxqt-build-tools-symbolic.patch

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

64 lines
1.8 KiB
RPMSpec

#
# spec file for package lxqt-build-tools-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 lxqt-build-tools
Name: lxqt-build-tools-qt5
Version: 0.13.0
Release: 0
Summary: Core build tools for LXQt
License: BSD-3-Clause
URL: http://www.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
BuildRequires: cmake >= 3.5.0
BuildRequires: pkgconfig
BuildRequires: cmake(Qt5Core)
BuildRequires: pkgconfig(glib-2.0) >= 2.50
BuildArch: noarch
%description
This package provides several tools needed to build LXQt itself as well as other components maintained by the LXQt project.
%package devel
Summary: Tools for building lxqt
Requires: cmake(Qt5Core)
%description devel
This package provides several tools needed to build compatibility for Qt5 applications within LXQt 2.0
%prep
%autosetup -p1 -n %{_name}-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
%check
%ctest
%files devel
%doc AUTHORS CHANGELOG README.md
%license BSD-3-Clause
%{_datadir}/cmake/
%{_bindir}/lxqt-transupdate
%changelog