Compare commits

..

4 commits

Author SHA1 Message Date
Yaakov Selkowitz
50016a1b35 Fix dependencies
The runtime libraries should not depend on themselves, and the -qt6-devel
subpackage should require -qt6, not -qt5.
2025-10-12 01:57:59 -04:00
Fedora Release Engineering
d17a6130a9 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 11:23:03 +00:00
Sandro Mani
7ba49749be Raise minimum CMake version, use GNUInstallDirs 2025-07-17 23:56:15 +02:00
Fedora Release Engineering
8ac6103198 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 21:16:32 +00:00
2 changed files with 20 additions and 9 deletions

View file

@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.5)
project(qcustomplot)
include(GNUInstallDirs)
set(LIB_VER "" CACHE STRING "Library version")
set(QT_VER "6" CACHE STRING "Target Qt version")
@ -23,12 +24,12 @@ endif()
target_link_libraries(qcustomplot Qt${QT_VER}::Core Qt${QT_VER}::Gui Qt${QT_VER}::Widgets Qt${QT_VER}::PrintSupport)
install(TARGETS qcustomplot
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
# Headers
install(FILES qcustomplot.h
DESTINATION include
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)

View file

@ -12,7 +12,7 @@
Name: qcustomplot
Version: 2.1.1
Release: 10%{?dist}
Release: 14%{?dist}
Summary: Qt widget for plotting and data visualization
License: GPL-3.0-or-later
@ -40,7 +40,6 @@ This package contains the Qt4 version.
%package qt5
Summary: Qt widget for plotting and data visualization
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
%description qt5
QCustomPlot is a Qt C++ widget for plotting and data visualization.
@ -63,7 +62,6 @@ developing applications that use %{name} (Qt5).
%if %{with qt6}
%package qt6
Summary: Qt widget for plotting and data visualization
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
%description qt6
QCustomPlot is a Qt C++ widget for plotting and data visualization.
@ -76,7 +74,7 @@ This package contains the Qt6 version.
%package qt6-devel
Summary: Development files for %{name} (Qt6)
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
Requires: %{name}-qt6%{?_isa} = %{version}-%{release}
%description qt6-devel
The %{name}-devel package contains libraries and header files for
@ -171,6 +169,18 @@ EOF
%changelog
* Sun Oct 12 2025 Yaakov Selkowitz <yselkowi@redhat.com> - 2.1.1-14
- Fix dependencies
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jul 17 2025 Sandro Mani <manisandro@gmail.com> - 2.1.1-12
- Raise minimum CMake version, use GNUInstallDirs
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild