# Define libsuffix, minimum libyui-devel version # and so-version of libyui. %global libsuffix yui %global libname lib%{libsuffix} %global devel_min_ver 3.10.0 %global major 15 # CMake-builds go out-of-tree. %global _cmake_build_subdir build-%{?_arch}%{?dist} Name: %{libname}-mga-ncurses Version: 1.2.0 Release: 9%{?dist} Summary: Libyui-Ncurses extensions for Mageia tools # Automatically converted from old format: LGPLv2 or LGPLv3 - review is highly recommended. License: LicenseRef-Callaway-LGPLv2 OR LGPL-3.0-only URL: https://github.com/manatools/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: boost-devel BuildRequires: cmake BuildRequires: %{libname}-devel >= %{devel_min_ver} BuildRequires: %{libname}-mga-devel >= 1.1.0 BuildRequires: %{libname}-ncurses-devel >= 2.55.0 BuildRequires: pkgconfig(ncursesw) BuildRequires: pkgconfig(ncurses) Supplements: (libyui-mga%{?_isa} and libyui-ncurses%{?_isa}) %description This package contains the Libyui-Ncurses extensions for Mageia tools. %package devel Summary: Files needed for developing with %{name} Requires: %{libname}-devel%{?_isa} >= %{devel_min_ver} Requires: %{libname}-ncurses-devel%{?_isa} Requires: %{libname}-mga-devel%{?_isa} Requires: %{name}%{?_isa} == %{version}-%{release} %description devel %{libname} can be used independently of YaST for generic (C++) applications and has very few dependencies. You do NOT need this package for developing with %{libname}. Using %{libname}-devel is sufficient for such purpose. This package is only needed when you want to develop an extension for %{name}. %prep %autosetup -p1 %build %cmake %cmake_build %install %cmake_install %files %license COPYING* %{_libdir}/%{libsuffix}/%{name}.so.%{major}* %files devel %{_includedir}/yui/mga/ncurses/ %{_libdir}/yui/libyui-mga-ncurses.so %changelog * Mon Sep 02 2024 Miroslav Suchý - 1.2.0-9 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 1.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Mar 08 2022 Onuralp Sezer - 1.2.0-2 - Rebuilt for mga * Tue Feb 22 2022 Onuralp Sezer - 1.2.0-1 - Version 1.2.0 * Thu Jan 20 2022 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Sep 26 2021 Neal Gompa - 1.1.0-4 - Add workaround to fix FTBFS with ncurses-6.2-8.20210508 (#1987669) * Thu Jul 22 2021 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Neal Gompa - 1.1.0-1 - Rebase to 1.1.0 (#1539458) * Sat Aug 01 2020 Fedora Release Engineering - 1.0.2-0.22.git026f2e6.20131215 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.0.2-0.21.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0.2-0.20.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Aug 15 2019 Jitka Plesnikova - 1.0.2-0.19.git026f2e6.20131215 - Fix FTBFS - updated path of hardlink * Thu Jul 25 2019 Fedora Release Engineering - 1.0.2-0.18.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0.2-0.17.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.2-0.16.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0.2-0.15.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Björn Esser - 1.0.2-0.14.git026f2e6.20131215 - Dependency on cmake-filesystem is autogenerated now - Skip building of LaTeX-docs * Thu Aug 03 2017 Fedora Release Engineering - 1.0.2-0.13.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Sun Jul 30 2017 Björn Esser - 1.0.2-0.12.git026f2e6.20131215 - Require cmake-filesystem * Wed Jul 26 2017 Fedora Release Engineering - 1.0.2-0.11.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jul 18 2017 Björn Esser - 1.0.2-0.10.git026f2e6.20131215 - Rebuilt for Boost 1.64 * Sat Apr 29 2017 Björn Esser - 1.0.2-0.9.git026f2e6.20131215 - Rebuilt for bootstrapping new arch: s390x * Thu Apr 13 2017 Björn Esser - 1.0.2-0.8.git026f2e6.20131215 - Rebuilt for libyui.so.8 * Mon Apr 10 2017 Björn Esser - 1.0.2-0.7.git026f2e6.20131215 - Use rich-dependencies instead of virtual provides - Get major so-ver from macro * Thu Mar 23 2017 Björn Esser - 1.0.2-0.6.git026f2e6.20131215 - Add Provides: %%{libsuffix}-mga-tui without isa-bits, too * Thu Mar 23 2017 Björn Esser - 1.0.2-0.5.git026f2e6.20131215 - Add Provides: %%{libsuffix}-mga-tui * Fri Feb 10 2017 Fedora Release Engineering - 1.0.2-0.4.git026f2e6.20131215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 03 2017 Björn Esser - 1.0.2-0.3.git026f2e6.20131215 - Rebuilt for Boost 1.63 * Fri Feb 03 2017 Björn Esser - 1.0.2-0.2.git026f2e6.20131215 - Initial import (rhbz#1418872) * Thu Feb 02 2017 Björn Esser - 1.0.2-0.1.git026f2e6.20131215 - Initial rpm-release (rhbz#1418872)