Compare commits
No commits in common. "rawhide" and "f43" have entirely different histories.
7 changed files with 127 additions and 227 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,4 +3,3 @@
|
|||
/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
|
||||
|
|
|
|||
52
fltk-1.3.4-fltk_config.patch
Normal file
52
fltk-1.3.4-fltk_config.patch
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
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
|
||||
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
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
|
||||
|
||||
|
|
@ -1,33 +1,13 @@
|
|||
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.")
|
||||
Index: fltk-1.3.11/CMake/setup.cmake
|
||||
===================================================================
|
||||
--- fltk-1.3.11.orig/CMake/setup.cmake
|
||||
+++ fltk-1.3.11/CMake/setup.cmake
|
||||
@@ -62,7 +62,7 @@ if (WIN32 AND NOT CYGWIN)
|
||||
elseif (APPLE)
|
||||
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)
|
||||
|
||||
include(TestBigEndian)
|
||||
TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
|
||||
--
|
||||
2.52.0
|
||||
|
||||
|
|
|
|||
201
fltk.spec
201
fltk.spec
|
|
@ -1,35 +1,30 @@
|
|||
# Explicitly use Makefiles
|
||||
%global _cmake_generator "Unix Makefiles"
|
||||
|
||||
# FLTK major version (intentionally lazily evaluated!)
|
||||
%define majorver %(echo "%{version}" | cut -d. -f1,2)
|
||||
|
||||
# Break self-dependency cycles by disabling certain packages on major version bumps
|
||||
%bcond bootstrap 0
|
||||
# trim changelog included in binary rpms
|
||||
%global _changelog_trimtime %(date +%s -d "1 year ago")
|
||||
|
||||
# MinGW is enabled by default (except for RHEL), to disable use '--without mingw'
|
||||
%if 0%{?rhel} || 0%{?flatpak} || 0%{?_with_bootstrap}
|
||||
%if 0%{?rhel} || 0%{?flatpak}
|
||||
%bcond_with mingw
|
||||
%else
|
||||
%bcond_without mingw
|
||||
%endif
|
||||
|
||||
Name: fltk
|
||||
Version: 1.4.4
|
||||
Release: 1%{?dist}
|
||||
Summary: C++ user interface toolkit
|
||||
Name: fltk
|
||||
Version: 1.3.11
|
||||
Release: 2%{?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
|
||||
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.4.4-fltk_config.patch
|
||||
Patch1: fltk-1.3.4-fltk_config.patch
|
||||
# Fix cmake install location for MinGW build
|
||||
Patch2: mingw-fltk-cmake.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
|
|
@ -37,30 +32,19 @@ 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(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(sm)
|
||||
BuildRequires: pkgconfig(xext) pkgconfig(xinerama) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcursor)
|
||||
BuildRequires: pkgconfig(xproto)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
%if %{with mingw}
|
||||
# For MinGW builds
|
||||
BuildRequires: fltk-fluid >= %{majorver}
|
||||
BuildRequires: fltk-fluid
|
||||
# MinGW
|
||||
BuildRequires: mingw32-filesystem >= 95
|
||||
BuildRequires: mingw32-gcc
|
||||
|
|
@ -70,7 +54,6 @@ BuildRequires: mingw32-gettext
|
|||
BuildRequires: mingw32-win-iconv
|
||||
BuildRequires: mingw32-zlib
|
||||
# Libraries
|
||||
BuildRequires: mingw32-cairo
|
||||
BuildRequires: mingw32-libpng
|
||||
BuildRequires: mingw32-libjpeg
|
||||
|
||||
|
|
@ -82,7 +65,6 @@ BuildRequires: mingw64-gettext
|
|||
BuildRequires: mingw64-win-iconv
|
||||
BuildRequires: mingw64-zlib
|
||||
# Libraries
|
||||
BuildRequires: mingw64-cairo
|
||||
BuildRequires: mingw64-libpng
|
||||
BuildRequires: mingw64-libjpeg
|
||||
%endif
|
||||
|
|
@ -100,10 +82,6 @@ It provides modern GUI functionality without the bloat, and supports \
|
|||
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)
|
||||
|
|
@ -120,47 +98,40 @@ 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
|
||||
%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
|
||||
|
||||
Summary: %{summary}
|
||||
|
||||
%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
|
||||
|
||||
Summary: %{summary}
|
||||
|
||||
%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
|
||||
|
||||
|
|
@ -169,31 +140,19 @@ Summary: MinGW compiled fltk for the Win64 target
|
|||
%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
|
||||
|
||||
%cmake_build --target docs
|
||||
make docs -C %{_vpath_builddir}
|
||||
|
||||
%if %{with mingw}
|
||||
%mingw_cmake -DOPTION_BUILD_SHARED_LIBS=TRUE
|
||||
%mingw_make_build
|
||||
%endif
|
||||
|
||||
|
|
@ -201,43 +160,20 @@ Summary: MinGW compiled fltk for the Win64 target
|
|||
%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}
|
||||
%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
|
||||
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
|
||||
%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
|
||||
|
||||
|
||||
|
|
@ -245,14 +181,16 @@ rm %{buildroot}{%{mingw32_bindir},%{mingw64_bindir}}/{blocks,checkers,glpuzzle,s
|
|||
desktop-file-validate %{buildroot}%{_datadir}/applications/fluid.desktop
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
%doc ANNOUNCEMENT CHANGES.txt CREDITS.txt README.txt
|
||||
%doc ANNOUNCEMENT CHANGES CREDITS README
|
||||
%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}{,.*}
|
||||
%{_libdir}/libfltk.so.1.3*
|
||||
%{_libdir}/libfltk_forms.so.1.3*
|
||||
%{_libdir}/libfltk_gl.so.1.3*
|
||||
%{_libdir}/libfltk_images.so.1.3*
|
||||
|
||||
%files devel
|
||||
%doc %{_vpath_builddir}/documentation/html
|
||||
|
|
@ -260,112 +198,73 @@ desktop-file-validate %{buildroot}%{_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/*/*/fluid.png
|
||||
%{_datadir}/icons/hicolor/*/*/*
|
||||
|
||||
%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/
|
||||
%{mingw32_datadir}/cmake/fltk/
|
||||
%exclude %{mingw32_datadir}/man/*
|
||||
|
||||
%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/
|
||||
%{mingw64_datadir}/cmake/fltk/
|
||||
%exclude %{mingw64_datadir}/man/*
|
||||
|
||||
%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
|
||||
|
||||
|
|
|
|||
13
mingw-fltk-cmake.patch
Normal file
13
mingw-fltk-cmake.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Index: fltk-1.3.11/CMake/setup.cmake
|
||||
===================================================================
|
||||
--- fltk-1.3.11.orig/CMake/setup.cmake
|
||||
+++ fltk-1.3.11/CMake/setup.cmake
|
||||
@@ -58,7 +58,7 @@ set (FLTK_DOCDIR ${CMAKE_INSTALL_DATADIR
|
||||
|
||||
# set where config files go
|
||||
if (WIN32 AND NOT CYGWIN)
|
||||
- set (FLTK_CONFIG_PATH CMake)
|
||||
+ set (FLTK_CONFIG_PATH ${FLTK_DATADIR}/cmake/fltk)
|
||||
elseif (APPLE)
|
||||
set (FLTK_CONFIG_PATH FLTK.framework/Resources/CMake)
|
||||
else ()
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (fltk-1.4.4-source.tar.gz) = 7d120a726a19f0f7172ddf18285baad949383a0bd368dcb6efe8ad21c0506c77edaf87dc53c9c31f3b2523fd1c0fd738e83d3e506459eb7159d390876c79a9a2
|
||||
SHA512 (fltk-1.3.11-source.tar.gz) = 697b622e949ed39709c41b688fceba07a95355d1c941f92df01dfd707bbd02bb778943dfc10a9b846b61dcb9927860622c32cfd71b8ffbe2294b401f9fdccfdb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue