diff --git a/.gitignore b/.gitignore index 00d5bfb..74d9125 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,2 @@ /fltk-1.3.4-1-source.tar.gz /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 diff --git a/fltk-1.3.4-fltk_config.patch b/fltk-1.3.4-fltk_config.patch new file mode 100644 index 0000000..5f33a0f --- /dev/null +++ b/fltk-1.3.4-fltk_config.patch @@ -0,0 +1,58 @@ +diff -up fltk-1.3.4-1/fltk-config.in.fltk_config fltk-1.3.4-1/fltk-config.in +--- fltk-1.3.4-1/fltk-config.in.fltk_config 2016-01-30 20:49:56.000000000 -0600 ++++ fltk-1.3.4-1/fltk-config.in 2017-03-04 12:29:28.910316677 -0600 +@@ -44,8 +44,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@" +@@ -228,7 +228,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= +@@ -236,28 +236,28 @@ 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 @GLLIB@ $LDLIBS" ++ LDLIBS="-lfltk_gl$SHAREDSUFFIX $LDLIBS" + LDSTATIC="$libdir/libfltk_gl.a @GLLIB@ $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 + +-LDLIBS="$DSOLINK $LDFLAGS $libs $LDLIBS" +-LDSTATIC="$LDFLAGS $LDSTATIC" ++LDLIBS="$libs $LDLIBS" ++#LDSTATIC="$LDFLAGS $LDSTATIC" + + # Answer to user requests + if test -n "$echo_help"; then diff --git a/fltk-1.3.4-x-fluid_mimetype.patch b/fltk-1.3.4-x-fluid_mimetype.patch new file mode 100644 index 0000000..fe7f09a --- /dev/null +++ b/fltk-1.3.4-x-fluid_mimetype.patch @@ -0,0 +1,21 @@ +diff -up fltk-1.3.4-1/fluid/Makefile.x-fluid_mimetype fltk-1.3.4-1/fluid/Makefile +--- fltk-1.3.4-1/fluid/Makefile.x-fluid_mimetype 2016-07-17 14:51:54.000000000 -0500 ++++ fltk-1.3.4-1/fluid/Makefile 2017-03-04 12:42:00.573346286 -0600 +@@ -84,7 +84,7 @@ install-linux: + $(INSTALL_DATA) icons/fluid-$$size.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/fluid.png; \ + done + -$(INSTALL_DIR) $(DESTDIR)/usr/share/mimelnk/application +- $(INSTALL_DATA) x-fluid.desktop $(DESTDIR)/usr/share/mimelnk/application ++ #$(INSTALL_DATA) x-fluid.desktop $(DESTDIR)/usr/share/mimelnk/application + + install-osx: + echo Installing Fluid in $(DESTDIR)/Applications... +@@ -104,7 +104,7 @@ uninstall: + uninstall-linux: + $(RM) $(DESTDIR)/usr/share/applications/fluid.desktop + $(RM) $(DESTDIR)/usr/share/icons/hicolor/*/fluid.png +- $(RM) $(DESTDIR)/usr/share/mimelnk/application/x-fluid.desktop ++ #$(RM) $(DESTDIR)/usr/share/mimelnk/application/x-fluid.desktop + + uninstall-osx: + $(RM) -r $(DESTDIR)/Applications/fluid.app diff --git a/fltk-1.4.4-fltk_config.patch b/fltk-1.4.4-fltk_config.patch deleted file mode 100644 index e61fcf0..0000000 --- a/fltk-1.4.4-fltk_config.patch +++ /dev/null @@ -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 - diff --git a/fltk-cmake.patch b/fltk-cmake.patch deleted file mode 100644 index c000925..0000000 --- a/fltk-cmake.patch +++ /dev/null @@ -1,33 +0,0 @@ -From e6064481c940ec0b487f84257d27eb2929d5013d Mon Sep 17 00:00:00 2001 -From: Neal Gompa -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 - diff --git a/fltk-config.sh b/fltk-config.sh index a212283..c70522d 100644 --- a/fltk-config.sh +++ b/fltk-config.sh @@ -1,3 +1,3 @@ -#!/usr/bin/bash +#!/bin/bash -exec fltk-config-$(uname -m) "$@" +exec fltk-config-$(uname -i) "$@" diff --git a/fltk.spec b/fltk.spec index 0fe3a50..5cd374e 100644 --- a/fltk.spec +++ b/fltk.spec @@ -1,452 +1,175 @@ -# Explicitly use Makefiles -%global _cmake_generator "Unix Makefiles" +#global snap r9671 -# FLTK major version (intentionally lazily evaluated!) -%define majorver %(echo "%{version}" | cut -d. -f1,2) +# TODO: +# * port .spec to use cmake -# 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} -%bcond_with mingw -%else -%bcond_without mingw -%endif - -Name: fltk -Version: 1.4.4 -Release: 1%{?dist} -Summary: C++ user interface toolkit +Summary: C++ user interface toolkit +Name: fltk +Version: 1.3.5 +Release: 2%{?dist} # 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/ +License: LGPLv2+ with exceptions +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 - -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) - -%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 +%if "%{?snap:1}" == "1" +Source0: http://ftp.easysw.com/pub/fltk/snapshots/fltk-1.3.x-%{snap}.tar.bz2 +%else +Source0: http://fltk.org/pub/%{name}/%{version}/%{name}-%{version}-source.tar.gz %endif +Source1: fltk-config.sh -%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. +## FIXME/TODO: upstream these asap -- Rex +# add lib64 support, drop extraneous libs (bug #708185) and ldflags (#1112930) +Patch1: fltk-1.3.4-fltk_config.patch + +## upstream patches + +## upstreamable patches +Patch100: fltk-1.3.4-x-fluid_mimetype.patch + +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +BuildRequires: libjpeg-devel +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: xorg-x11-utils +BuildRequires: zlib-devel +BuildRequires: autoconf %description -%{_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. + %package devel -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) +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libstdc++-devel +Requires: pkgconfig(gl) pkgconfig(glu) +Requires: pkgconfig(ice) pkgconfig(sm) +Requires: pkgconfig(xft) pkgconfig(xt) pkgconfig(x11) %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}. - -%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 +%{summary}, an interactive GUI designer for %{name}. %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 +# verbose build output +sed -i.silent '\,^.SILENT:,d' makeinclude.in +autoconf + %build -%cmake_build +# set DSOFLAGS too, used to link shlibs (LDFLAGS used only for static libs) +%{?__global_ldflags:DSOFLAGS="%{__global_ldflags}" ; export DSOFLAGS} -%cmake_build --target docs +%configure \ + --with-links \ + --with-optim="%{optflags}" \ + --disable-localjpeg \ + --disable-localzlib \ + --disable-localpng \ + --enable-shared \ + --enable-threads \ + --enable-xdbe \ + --enable-xinerama \ + --enable-xft -%if %{with mingw} -%mingw_make_build -%endif +%make_build %install -%cmake_install +%make_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 +make install-linux -C fluid DESTDIR=$RPM_BUILD_ROOT # 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 +%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 %endif -%if %{with mingw} -%mingw_make_install -%mingw_debug_install_post +# docs +rm -rf __docs +mv $RPM_BUILD_ROOT%{_docdir}/fltk __docs -# 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 +## unpackaged files +# errant docs +rm -rv $RPM_BUILD_ROOT%{_mandir}/cat* %check -desktop-file-validate %{buildroot}%{_datadir}/applications/fluid.desktop +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop +%ldconfig_scriptlets + %files -%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}{,.*} +%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 %files devel -%doc %{_vpath_builddir}/documentation/html +%doc __docs/* %{_bindir}/fltk-config %{?arch:%{_bindir}/fltk-config-%{arch}} %{_includedir}/FL/ +%{_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 - -%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 +%{_datadir}/icons/hicolor/*/*/* %changelog -* Mon Jan 12 2026 Neal Gompa - 1.4.4-1 -- Rebase to 1.4.4 - -* Wed Jul 23 2025 Fedora Release Engineering - 1.3.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sat Mar 22 2025 Richard Shaw - 1.3.11-1 -- Update to 1.3.11. - -* Thu Jan 16 2025 Fedora Release Engineering - 1.3.8-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jul 17 2024 Fedora Release Engineering - 1.3.8-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Wed Jan 24 2024 Fedora Release Engineering - 1.3.8-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 1.3.8-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Jul 19 2023 Fedora Release Engineering - 1.3.8-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jan 19 2023 Fedora Release Engineering - 1.3.8-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Mon Sep 05 2022 Richard Shaw - 1.3.8-5 -- Fix second instance of uname -i in bash script. - -* Sat Aug 27 2022 Richard Shaw - 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 - 1.3.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 1.3.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Sat Nov 20 2021 Richard Shaw - 1.3.8-1 -- Update to 1.3.8. - -* Wed Jul 21 2021 Fedora Release Engineering - 1.3.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Sun Jun 27 2021 Richard Shaw - 1.3.6-1 -- Update to 1.3.6. - -* Mon Feb 22 2021 Richard Shaw - 1.3.5-11 -- Update requires for devel package, fixes #1931645. - -* Tue Jan 26 2021 Fedora Release Engineering - 1.3.5-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Thu Jan 21 2021 Adam Jackson - 1.3.5-9 -- Remove BuildRequires xprop entirely. If present, the configure script will call - it looking for a property on the root window that Fedora's X server does not - set, and which would not work anyway since there is no X server running in the - buildroot, so we can just remove the dependency. - -* Sat Aug 01 2020 Fedora Release Engineering - 1.3.5-8 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jul 28 2020 Adam Jackson - 1.3.5-7 -- BuildRequires xprop not xorg-x11-server-utils - -* Mon Jul 27 2020 Fedora Release Engineering - 1.3.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu May 14 2020 Rex Dieter - 1.3.5-5 -- restore fltk_config.patch lost in last (cmake) merge - -* Mon May 11 2020 Rex Dieter - 1.3.5-4 -- merge cmake PR -- spec cosmetics - -* Tue Jan 28 2020 Fedora Release Engineering - 1.3.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - * Thu Jul 25 2019 Fedora Release Engineering - 1.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 3d11223..9d7287a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fltk-1.4.4-source.tar.gz) = 7d120a726a19f0f7172ddf18285baad949383a0bd368dcb6efe8ad21c0506c77edaf87dc53c9c31f3b2523fd1c0fd738e83d3e506459eb7159d390876c79a9a2 +SHA512 (fltk-1.3.5-source.tar.gz) = db7ea7c5f3489195a48216037b9371a50f1119ae7692d66f71b6711e5ccf78814670581bae015e408dee15c4bba921728309372c1cffc90113cdc092e8540821