Compare commits

...
Sign in to create a new pull request.

20 commits

Author SHA1 Message Date
Neal Gompa
0f5ca176ca Fix bootstrap macro name 2026-01-13 07:34:23 -05:00
Neal Gompa
ad44498c2f Rebase to 1.4.4 2026-01-12 12:51:03 -05:00
Fedora Release Engineering
4ea4a2494d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 20:38:22 +00:00
Orion Poplawski
88180e905e Make BR on fltk-fluid only for mingw builds as noted 2025-06-21 14:23:02 -06:00
Richard Shaw
61eff03e4a Update to 1.3.11.
Update to 1.3.11.
Update to 1.3.11.
Update to 1.3.11.
Update to 1.3.11.
Update to 1.3.11.
Update to 1.3.11.
Update to 1.3.11.
Update to 1.3.11.
Update to 1.3.11.
2025-03-22 08:50:43 -05:00
Fedora Release Engineering
8fd15badca Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 18:30:58 +00:00
Miroslav Suchý
13c401cba1 Migrate to SPDX license
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-10-29 22:38:00 +00:00
Fedora Release Engineering
1a97c3eff9 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 23:21:33 +00:00
Fedora Release Engineering
1e15b8e4e0 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 11:47:13 +00:00
Fedora Release Engineering
b74bfd4bdf Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 19:31:50 +00:00
Yaakov Selkowitz
ae97515034 Disable mingw in flatpak builds 2023-08-01 00:36:52 -04:00
Yaakov Selkowitz
f8fdcea64f BuildRequires: mingw*-gcc-c++ 2023-07-19 17:34:11 -04:00
Fedora Release Engineering
85fb381ed1 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 19:56:43 +00:00
Yaakov Selkowitz
9b6370c6cd Disable mingw in RHEL builds
The mingw build is unwanted in RHEL and requires other unwanted
dependencies.
2023-04-21 18:12:00 -04:00
Fedora Release Engineering
1fc2276d8e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:38:44 +00:00
Richard Shaw
8d8372cde4 Fix second instance of uname -i in bash script. 2022-09-05 12:00:17 -05:00
Richard Shaw
2c3f3989da Migrate MinGW build to native package. 2022-09-03 16:13:32 -05:00
Richard Shaw
6ab01c0d48 Spec file modernization and fixes:
Update to SPDX license tag
  Clean up spec file formatting
  Remove obsolete snapshot build support
  Migrate from uname -i to uname -m
2022-08-27 16:02:17 -05:00
Fedora Release Engineering
cea97d4577 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:22:23 +00:00
Fedora Release Engineering
17b5aa6cfa - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 03:11:41 +00:00
7 changed files with 410 additions and 142 deletions

2
.gitignore vendored
View file

@ -2,3 +2,5 @@
/fltk-1.3.5-source.tar.gz
/fltk-1.3.6-source.tar.gz
/fltk-1.3.8-source.tar.gz
/fltk-1.3.11-source.tar.gz
/fltk-1.4.4-source.tar.gz

View file

@ -1,52 +0,0 @@
Index: fltk-1.3.6/fltk-config.in
===================================================================
--- fltk-1.3.6.orig/fltk-config.in
+++ fltk-1.3.6/fltk-config.in
@@ -42,8 +42,8 @@ CXX="@CXX@"
# flags for C++ compiler:
ARCHFLAGS="@ARCHFLAGS@"
-CFLAGS="@CFLAGS@ @LARGEFILE@ @PTHREAD_FLAGS@"
-CXXFLAGS="@CXXFLAGS@ @LARGEFILE@ @PTHREAD_FLAGS@"
+CFLAGS=""
+CXXFLAGS=""
LDFLAGS="@LDFLAGS@"
LDLIBS="@LIBS@"
OPTIM="@OPTIM@"
@@ -226,7 +226,7 @@ if test "$BINARY_DIR" != ""; then
includes="-I$BINARY_DIR $includes"
fi
-if test "$libdir" != /usr/lib -a "$libdir" != /usr/lib32; then
+if test "$libdir" != /usr/lib -a "$libdir" != /usr/lib32 -a "$libdir" != /usr/lib64; then
libs=-L$libdir
else
libs=
@@ -234,23 +234,23 @@ fi
# Calculate needed libraries
LDSTATIC="$libdir/libfltk.a $LDLIBS"
-LDLIBS="-lfltk$SHAREDSUFFIX $LDLIBS"
+LDLIBS="-lfltk$SHAREDSUFFIX"
if test x$use_forms = xyes; then
LDLIBS="-lfltk_forms$SHAREDSUFFIX $LDLIBS"
LDSTATIC="$libdir/libfltk_forms.a $LDSTATIC"
fi
if test x$use_gl = xyes; then
- LDLIBS="-lfltk_gl$SHAREDSUFFIX @GLLIBS@ $LDLIBS"
+ LDLIBS="-lfltk_gl$SHAREDSUFFIX $LDLIBS"
LDSTATIC="$libdir/libfltk_gl.a @GLLIBS@ $LDSTATIC"
fi
if test x$use_images = xyes; then
- LDLIBS="-lfltk_images$SHAREDSUFFIX $IMAGELIBS $LDLIBS"
+ LDLIBS="-lfltk_images$SHAREDSUFFIX $LDLIBS"
LDSTATIC="$libdir/libfltk_images.a $STATICIMAGELIBS $LDSTATIC"
fi
if test x$use_cairo = xyes; then
- LDLIBS="-lfltk_cairo$SHAREDSUFFIX $CAIROLIBS $LDLIBS"
+ LDLIBS="-lfltk_cairo$SHAREDSUFFIX $LDLIBS"
LDSTATIC="$libdir/libfltk_cairo.a $CAIROLIBS $LDSTATIC"
fi

View file

@ -0,0 +1,43 @@
diff --git a/fltk-config.in b/fltk-config.in
index c23b79ce6..0b5cd922b 100644
--- a/fltk-config.in
+++ b/fltk-config.in
@@ -264,7 +264,7 @@ if test -n "$BINARY_DIR"; then
includes="-I$BINARY_DIR $includes"
fi
-if test "$libdir" != /usr/lib -a "$libdir" != /usr/lib32; then
+if test "$libdir" != /usr/lib -a "$libdir" != /usr/lib32 -a "$libdir" != /usr/lib64; then
libs="-L$libdir"
else
libs=
@@ -272,7 +272,7 @@ fi
# Calculate needed libraries
LDSTATIC="$libdir/libfltk.a $LDLIBS"
-LDLIBS="-lfltk$SHAREDSUFFIX $LDLIBS"
+LDLIBS="-lfltk$SHAREDSUFFIX"
if test x$use_forms = xyes; then
LDLIBS="-lfltk_forms$SHAREDSUFFIX $LDLIBS"
@@ -280,17 +280,17 @@ if test x$use_forms = xyes; then
fi
if test x$use_gl = xyes; then
- LDLIBS="-lfltk_gl$SHAREDSUFFIX $GLLIBS $LDLIBS"
+ LDLIBS="-lfltk_gl$SHAREDSUFFIX $LDLIBS"
LDSTATIC="$libdir/libfltk_gl.a $GLLIBS $LDSTATIC"
fi
if test x$use_images = xyes; then
- LDLIBS="-lfltk_images$SHAREDSUFFIX $IMAGELIBS $LDLIBS"
+ LDLIBS="-lfltk_images$SHAREDSUFFIX $LDLIBS"
LDSTATIC="$libdir/libfltk_images.a $STATICIMAGELIBS $LDSTATIC"
fi
if test x$use_cairo = xyes -a -n "$CAIROLIBS"; then
- LDLIBS="$CAIROLIBS $LDLIBS"
+ LDLIBS="$LDLIBS"
LDSTATIC="$CAIROLIBS $LDSTATIC"
fi

View file

@ -1,13 +1,33 @@
Index: fltk-1.3.6/CMake/setup.cmake
===================================================================
--- fltk-1.3.6.orig/CMake/setup.cmake
+++ fltk-1.3.6/CMake/setup.cmake
@@ -62,7 +62,7 @@ if (WIN32 AND NOT CYGWIN)
elseif (APPLE AND NOT OPTION_APPLE_X11)
set (FLTK_CONFIG_PATH FLTK.framework/Resources/CMake)
else ()
- set (FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
+ set (FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk CACHE FILEPATH "Install location for cmake files.")
endif (WIN32 AND NOT CYGWIN)
From e6064481c940ec0b487f84257d27eb2929d5013d Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa@fedoraproject.org>
Date: Mon, 12 Jan 2026 07:55:53 -0500
Subject: [PATCH] CMake: Use the correct install path for CMake data files
Whether we are building natively or cross-compiling, we consistently
want to use a single path setup for installing CMake data files.
---
CMake/setup.cmake | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/CMake/setup.cmake b/CMake/setup.cmake
index 266e1299a..3089f87a8 100644
--- a/CMake/setup.cmake
+++ b/CMake/setup.cmake
@@ -93,13 +93,7 @@ set(STATICIMAGELIBS "")
#######################################################################
# set where config files go
-if(WIN32 AND NOT CYGWIN)
- set(FLTK_CONFIG_PATH CMake)
-elseif(APPLE AND NOT FLTK_BACKEND_X11)
- set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
-else()
- set(FLTK_CONFIG_PATH ${FLTK_DATADIR}/fltk)
-endif(WIN32 AND NOT CYGWIN)
+set(FLTK_CONFIG_PATH ${FLTK_LIBDIR}/cmake/fltk CACHE FILEPATH "Install location for cmake files.")
include(TestBigEndian)
TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
--
2.52.0

View file

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/bash
exec fltk-config-$(uname -i) "$@"
exec fltk-config-$(uname -m) "$@"

407
fltk.spec
View file

@ -1,126 +1,258 @@
#global snap r9671
# Explicitly use Makefiles
%global _cmake_generator "Unix Makefiles"
# trim changelog included in binary rpms
%global _changelog_trimtime %(date +%s -d "1 year ago")
# FLTK major version (intentionally lazily evaluated!)
%define majorver %(echo "%{version}" | cut -d. -f1,2)
Summary: C++ user interface toolkit
Name: fltk
Version: 1.3.8
Release: 1%{?dist}
# Break self-dependency cycles by disabling certain packages on major version bumps
%bcond bootstrap 0
# see COPYING (or http://www.fltk.org/COPYING.php ) for exceptions details
License: LGPLv2+ with exceptions
URL: http://www.fltk.org/
%if "%{?snap:1}" == "1"
Source0: http://ftp.easysw.com/pub/fltk/snapshots/fltk-1.3.x-%{snap}.tar.bz2
# MinGW is enabled by default (except for RHEL), to disable use '--without mingw'
%if 0%{?rhel} || 0%{?flatpak} || 0%{?_with_bootstrap}
%bcond_with mingw
%else
Source0: http://fltk.org/pub/%{name}/%{version}/%{name}-%{version}-source.tar.gz
%bcond_without mingw
%endif
Name: fltk
Version: 1.4.4
Release: 1%{?dist}
Summary: C++ user interface toolkit
# see COPYING (or http://www.fltk.org/COPYING.php ) for exceptions details
License: LGPL-2.0-or-later WITH FLTK-exception
URL: http://www.fltk.org/
Source0: https://github.com/%{name}/%{name}/releases/download/release-%{version}/%{name}-%{version}-source.tar.gz
Source1: fltk-config.sh
# Use the correct cmake data install location
Patch0: fltk-cmake.patch
# add lib64 support, drop extraneous libs (bug #708185) and ldflags (#1112930)
Patch1: fltk-1.3.4-fltk_config.patch
Patch1: fltk-1.4.4-fltk_config.patch
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: doxygen
BuildRequires: texlive-latex
# fltk bug with pdf generation, investigate later
#BuildRequires: texlive-epstopdf
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(gl) pkgconfig(glu)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(xext) pkgconfig(xinerama) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(zlib)
BuildRequires: make
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: texlive-latex
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(libdecor-0) >= 0.2.0
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(pango) pkgconfig(pangocairo)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(gl) pkgconfig(glu)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(wayland-client) >= 1.18
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-egl)
# includes cursor-shape and tablet-v2 with all current fixes
BuildRequires: pkgconfig(wayland-protocols) >= 1.46
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xext) pkgconfig(xinerama) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(zlib)
%description
FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit.
It provides modern GUI functionality without the bloat, and supports
%if %{with mingw}
# For MinGW builds
BuildRequires: fltk-fluid >= %{majorver}
# MinGW
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw32-gcc
BuildRequires: mingw32-gcc-c++
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gettext
BuildRequires: mingw32-win-iconv
BuildRequires: mingw32-zlib
# Libraries
BuildRequires: mingw32-cairo
BuildRequires: mingw32-libpng
BuildRequires: mingw32-libjpeg
BuildRequires: mingw64-filesystem >= 95
BuildRequires: mingw64-gcc
BuildRequires: mingw64-gcc-c++
BuildRequires: mingw64-binutils
BuildRequires: mingw64-gettext
BuildRequires: mingw64-win-iconv
BuildRequires: mingw64-zlib
# Libraries
BuildRequires: mingw64-cairo
BuildRequires: mingw64-libpng
BuildRequires: mingw64-libjpeg
%endif
%global _description \
FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit. \
It provides modern GUI functionality without the bloat, and supports \
3D graphics via OpenGL and its built-in GLUT emulation.
%description
%{_description}
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libstdc++-devel
Requires: pkgconfig(fontconfig)
Requires: pkgconfig(gl) pkgconfig(glu)
Requires: pkgconfig(ice) pkgconfig(sm)
Requires: pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
Requires: pkgconfig(libjpeg)
Requires: pkgconfig(libpng)
Requires: pkgconfig(zlib)
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libstdc++-devel
Requires: pkgconfig(libdecor-0) >= 0.2.0
Requires: pkgconfig(wayland-client) >= 1.18
Requires: pkgconfig(wayland-cursor)
Requires: pkgconfig(xkbcommon)
Requires: pkgconfig(fontconfig)
Requires: pkgconfig(gl) pkgconfig(glu)
Requires: pkgconfig(ice) pkgconfig(sm)
Requires: pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
Requires: pkgconfig(libjpeg)
Requires: pkgconfig(libpng)
Requires: pkgconfig(zlib)
%description devel
%{summary}.
%package static
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{version}-%{release}
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{version}-%{release}
%description static
%{summary}.
%package options
Summary: Fast Light Tool Kit Options Editor
Requires: %{name}%{?_isa} = %{version}-%{release}
%description options
%{summary}, an interactive options editor for applications
using %{name}.
%package fluid
Summary: Fast Light User Interface Designer
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-devel
Summary: Fast Light User Interface Designer
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-devel
%description fluid
%{summary}, an interactive GUI designer for %{name}.
%{summary}, an interactive GUI designer for %{name}.
%if %{with mingw}
%package -n mingw32-fltk
Summary: MinGW compiled fltk for the Win32 target
%description -n mingw32-fltk
%{_description}
# Win64
%package -n mingw64-fltk
Summary: MinGW compiled fltk for the Win64 target
%description -n mingw64-fltk
%{_description}
%package -n mingw32-fltk-static
Summary: MinGW compiled fltk for the Win32 target
%description -n mingw32-fltk-static
%{_description}
# Win64
%package -n mingw64-fltk-static
Summary: MinGW compiled fltk for the Win64 target
%description -n mingw64-fltk-static
%{_description}
%{?mingw_debug_package}
%endif
%prep
%if 0%{?snap:1}
%autosetup -p1 -n fltk-1.3.x-%{snap}
%else
%autosetup -p1
%conf
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DFLTK_BUILD_SHARED_LIBS:BOOL=ON \
-DOpenGL_GL_PREFERENCE=GLVND \
-DFLTK_OPTION_CAIRO_WINDOW:BOOL=ON \
-DFLTK_BUILD_HTML_DOCS:BOOL=ON \
-DFLTK_BUILD_PDF_DOCS:BOOL=OFF \
%{nil}
%if %{with mingw}
%mingw_cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DFLTK_OPTION_CAIRO_WINDOW:BOOL=ON \
-DFLTK_BUILD_SHARED_LIBS:BOOL=ON \
-DFLTK_BUILD_HTML_DOCS:BOOL=OFF \
-DFLTK_BUILD_PDF_DOCS:BOOL=OFF \
%{nil}
%endif
%build
%cmake -DFLTK_CONFIG_PATH:PATH=%{_libdir}/cmake/fltk \
-DOpenGL_GL_PREFERENCE=GLVND \
-DOPTION_BUILD_HTML_DOCUMENTATION:BOOL=ON \
-DOPTION_BUILD_PDF_DOCUMENTATION:BOOL=OFF \
-DOPTION_BUILD_SHARED_LIBS:BOOL=ON
%cmake_build
make docs -C %{_vpath_builddir}
%cmake_build --target docs
%if %{with mingw}
%mingw_make_build
%endif
%install
%cmake_install
# Replace "static" applications with their "shared" equivalents
mv %{buildroot}%{_bindir}/fltk-options-shared %{buildroot}%{_bindir}/fltk-options
mv %{buildroot}%{_bindir}/fluid-shared %{buildroot}%{_bindir}/fluid
# Delete installed demo applications
rm %{buildroot}%{_bindir}/{blocks,checkers,glpuzzle,sudoku}
# Deal with license file of same name
mv src/xutf8/COPYING ./COPYING.xutf8
# we only apply this hack to multilib arch's
%ifarch x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparc
%global arch %(uname -i 2>/dev/null || echo undefined)
mv $RPM_BUILD_ROOT%{_bindir}/fltk-config \
$RPM_BUILD_ROOT%{_bindir}/fltk-config-%{arch}
install -p -m755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/fltk-config
%ifarch x86_64 %{ix86}
%global arch %(uname -m 2>/dev/null || echo undefined)
mv %{buildroot}%{_bindir}/fltk-config \
%{buildroot}%{_bindir}/fltk-config-%{arch}
install -p -m755 -D %{SOURCE1} %{buildroot}%{_bindir}/fltk-config
%endif
%if %{with mingw}
%mingw_make_install
%mingw_debug_install_post
# Delete redundant man pages
rm -rf %{buildroot}%{mingw32_mandir}
rm -rf %{buildroot}%{mingw64_mandir}
# Replace "static" applications with their "shared" equivalents
mv %{buildroot}%{mingw32_bindir}/fltk-options-shared.exe \
%{buildroot}%{mingw32_bindir}/fltk-options.exe
mv %{buildroot}%{mingw64_bindir}/fltk-options-shared.exe \
%{buildroot}%{mingw64_bindir}/fltk-options.exe
# Delete useless fluid binaries
rm -rf %{buildroot}{%{mingw32_bindir},%{mingw64_bindir}}/fluid*
# Delete installed demo applications
rm %{buildroot}{%{mingw32_bindir},%{mingw64_bindir}}/{blocks,checkers,glpuzzle,sudoku}.exe
%endif
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/fluid.desktop
%ldconfig_scriptlets
%files
%doc ANNOUNCEMENT CHANGES CREDITS README
%license COPYING
%{_libdir}/libfltk.so.1.3*
%{_libdir}/libfltk_forms.so.1.3*
%{_libdir}/libfltk_gl.so.1.3*
%{_libdir}/libfltk_images.so.1.3*
%doc ANNOUNCEMENT CHANGES.txt CREDITS.txt README.txt
%license COPYING COPYING.xutf8
%{_libdir}/libfltk.so.%{majorver}{,.*}
%{_libdir}/libfltk_cairo.so.%{majorver}{,.*}
%{_libdir}/libfltk_forms.so.%{majorver}{,.*}
%{_libdir}/libfltk_gl.so.%{majorver}{,.*}
%{_libdir}/libfltk_images.so.%{majorver}{,.*}
%files devel
%doc %{_vpath_builddir}/documentation/html
@ -128,29 +260,152 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
%{?arch:%{_bindir}/fltk-config-%{arch}}
%{_includedir}/FL/
%{_libdir}/libfltk.so
%{_libdir}/libfltk_cairo.so
%{_libdir}/libfltk_forms.so
%{_libdir}/libfltk_gl.so
%{_libdir}/libfltk_images.so
%{_libdir}/cmake/fltk/
%{_mandir}/man1/fltk-config.1*
%{_mandir}/man1/fltk-options.1*
%{_mandir}/man3/fltk.3*
%{_mandir}/man6/*.6*
%files static
%{_libdir}/libfltk.a
%{_libdir}/libfltk_cairo.a
%{_libdir}/libfltk_forms.a
%{_libdir}/libfltk_gl.a
%{_libdir}/libfltk_images.a
%files options
%{_bindir}/fltk-options
%{_mandir}/man1/fltk-options.1*
%{_datadir}/applications/fltk-options.desktop
%{_datadir}/mime/packages/fltk-options.xml
%{_datadir}/icons/hicolor/*/*/fltk-options.png
%files fluid
%{_bindir}/fluid
%{_mandir}/man1/fluid.1*
%{_datadir}/applications/fluid.desktop
%{_datadir}/mime/packages/fluid.xml
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/icons/hicolor/*/*/fluid.png
%if %{with mingw}
%files -n mingw32-fltk
%license COPYING COPYING.xutf8
%{mingw32_bindir}/fltk-config
%{mingw32_bindir}/fltk-options-cmd.exe
%{mingw32_bindir}/fltk-options.exe
%{mingw32_bindir}/libfltk.dll
%{mingw32_libdir}/libfltk.dll.a
%{mingw32_bindir}/libfltk_cairo.dll
%{mingw32_libdir}/libfltk_cairo.dll.a
%{mingw32_bindir}/libfltk_forms.dll
%{mingw32_libdir}/libfltk_forms.dll.a
%{mingw32_bindir}/libfltk_images.dll
%{mingw32_libdir}/libfltk_images.dll.a
%{mingw32_bindir}/libfltk_jpeg.dll
%{mingw32_libdir}/libfltk_jpeg.dll.a
%{mingw32_bindir}/libfltk_png.dll
%{mingw32_libdir}/libfltk_png.dll.a
%{mingw32_bindir}/libfltk_gl.dll
%{mingw32_libdir}/libfltk_gl.dll.a
%{mingw32_bindir}/libfltk_z.dll
%{mingw32_libdir}/libfltk_z.dll.a
%{mingw32_includedir}/FL/
%{mingw32_libdir}/cmake/fltk/
%files -n mingw64-fltk
%license COPYING COPYING.xutf8
%{mingw64_bindir}/fltk-config
%{mingw64_bindir}/fltk-options-cmd.exe
%{mingw64_bindir}/fltk-options.exe
%{mingw64_bindir}/libfltk.dll
%{mingw64_libdir}/libfltk.dll.a
%{mingw64_bindir}/libfltk_cairo.dll
%{mingw64_libdir}/libfltk_cairo.dll.a
%{mingw64_bindir}/libfltk_forms.dll
%{mingw64_libdir}/libfltk_forms.dll.a
%{mingw64_bindir}/libfltk_images.dll
%{mingw64_libdir}/libfltk_images.dll.a
%{mingw64_bindir}/libfltk_jpeg.dll
%{mingw64_libdir}/libfltk_jpeg.dll.a
%{mingw64_bindir}/libfltk_png.dll
%{mingw64_libdir}/libfltk_png.dll.a
%{mingw64_bindir}/libfltk_gl.dll
%{mingw64_libdir}/libfltk_gl.dll.a
%{mingw64_bindir}/libfltk_z.dll
%{mingw64_libdir}/libfltk_z.dll.a
%{mingw64_includedir}/FL/
%{mingw64_libdir}/cmake/fltk/
%files -n mingw32-fltk-static
%{mingw32_libdir}/libfltk.a
%{mingw32_libdir}/libfltk_cairo.a
%{mingw32_libdir}/libfltk_forms.a
%{mingw32_libdir}/libfltk_images.a
%{mingw32_libdir}/libfltk_jpeg.a
%{mingw32_libdir}/libfltk_png.a
%{mingw32_libdir}/libfltk_gl.a
%{mingw32_libdir}/libfltk_z.a
%files -n mingw64-fltk-static
%{mingw64_libdir}/libfltk.a
%{mingw64_libdir}/libfltk_cairo.a
%{mingw64_libdir}/libfltk_forms.a
%{mingw64_libdir}/libfltk_images.a
%{mingw64_libdir}/libfltk_jpeg.a
%{mingw64_libdir}/libfltk_png.a
%{mingw64_libdir}/libfltk_gl.a
%{mingw64_libdir}/libfltk_z.a
%endif
%changelog
* Mon Jan 12 2026 Neal Gompa <ngompa@fedoraproject.org> - 1.4.4-1
- Rebase to 1.4.4
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Mar 22 2025 Richard Shaw <hobbes1069@gmail.com> - 1.3.11-1
- Update to 1.3.11.
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Sep 05 2022 Richard Shaw <hobbes1069@gmail.com> - 1.3.8-5
- Fix second instance of uname -i in bash script.
* Sat Aug 27 2022 Richard Shaw <hobbes1069@gmail.com> - 1.3.8-4
- Spec file modernization and fixes:
Update to SPDX license tag
Clean up spec file formatting
Remove obsolete snapshot build support
Migrate from uname -i to uname -m
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Nov 20 2021 Richard Shaw <hobbes1069@gmail.com> - 1.3.8-1
- Update to 1.3.8.

View file

@ -1 +1 @@
SHA512 (fltk-1.3.8-source.tar.gz) = 5c1cbfc156c49888e25b90dcb9b1ab86a03447e08e00864c3c7ae8a0e32cfbd9154ee630054235c9edfd29fd1d0371ae77eff7b78094fb660dbbdec5cecfc8fb
SHA512 (fltk-1.4.4-source.tar.gz) = 7d120a726a19f0f7172ddf18285baad949383a0bd368dcb6efe8ad21c0506c77edaf87dc53c9c31f3b2523fd1c0fd738e83d3e506459eb7159d390876c79a9a2