Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
cb79ac77de
!12 update to version 1.3.9
From: @paulthomas100199 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-12-29 07:14:14 +00:00
lwg
f7b48ea692 update to version 1.3.9 2023-12-29 10:26:10 +08:00
openeuler-ci-bot
3ad9a5a2be !11 update to fltk-1.3.8-1
Merge pull request !11 from liuyumeng/master
2021-12-25 08:20:05 +00:00
liuyumeng
1c7b937f47 update to fltk-1.3.8-1 2021-12-25 09:10:38 +08:00
openeuler-ci-bot
bbed8e1bf8 !3 delete gdb in buildrequires
From: @liuyumeng1
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2021-07-20 08:34:44 +00:00
liuyumeng
1f128ff312 delete gdb in buildrequires 2021-07-20 16:00:47 +08:00
openeuler-ci-bot
bcca0640e8 !2 add yaml file in package
Merge pull request !2 from 桐小哥/master
2020-07-21 11:55:06 +08:00
tong_1001
98f9c76b8e add yaml file in package 2020-06-12 19:09:14 +08:00
openeuler-ci-bot
2fa2d171af !1 升级版本1.3.5
Merge pull request !1 from huzunhao/master
2020-01-11 22:55:44 +08:00
songnannan
dea96f63c7 update version 1.3.5 2020-01-11 20:47:19 +08:00
5 changed files with 56 additions and 75 deletions

Binary file not shown.

View File

@ -1,58 +0,0 @@
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

BIN
fltk-1.3.9-source.tar.gz Normal file

Binary file not shown.

View File

@ -1,26 +1,21 @@
%global _changelog_trimtime %(date +%s -d "1 year ago")
Name: fltk
Version: 1.3.4
Release: 9
Version: 1.3.9
Release: 1
Summary: C++ user interface toolkit
License: LGPLv2+ with exceptions
URL: http://www.fltk.org/
Source0: http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-1-source.tar.gz
Source0: https://www.fltk.org/pub/fltk/%{version}/%{name}-%{version}-source.tar.gz
Source1: fltk-config.sh
#PATCH-FIX-https://bugzilla.redhat.com/
Patch0001: fltk-1.3.4-fltk_config.patch
#PATCH-FIX-https://bugzilla.redhat.com/
Patch0002: fltk-1.3.4-x-fluid_mimetype.patch
Provides: %{name}-fluid = %{version}-%{release}
Obsoletes: %{name}-fluid < %{version}-%{release}
Patch0001: fltk-1.3.4-x-fluid_mimetype.patch
BuildRequires: gcc-c++ desktop-file-utils libjpeg-devel pkgconfig(libpng) pkgconfig(gl) pkgconfig(glu) pkgconfig(ice)
BuildRequires: pkgconfig(sm) pkgconfig(xext) pkgconfig(xinerama) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
BuildRequires: pkgconfig(xcursor) pkgconfig(xproto) xorg-x11-utils zlib-devel autoconf gdb
BuildRequires: pkgconfig(xcursor) pkgconfig(xproto) xorg-x11-utils zlib-devel autoconf
%description
FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit.It provides modern GUI functionality without
@ -30,8 +25,6 @@ the bloat, and supports 3D graphics via OpenGL and its built-in GLUT emulation.
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} libstdc++-devel pkgconfig(gl) pkgconfig(glu)
Requires: pkgconfig(ice) pkgconfig(sm) pkgconfig(xft) pkgconfig(xt) pkgconfig(x11)
Provides: %{name}-static = %{version}-%{release}
Obsoletes: %{name}-static < %{version}-%{release}
%description devel
@ -40,10 +33,25 @@ Microsoft(r) Windows(r), and MacOS(r) X. FLTK provides modern GUI functionality
graphics via OpenGL(r) and its built-in GLUT emulation. It was originally developed by Mr. Bill Spitzak and is
currently maintained by a small group of developers across the world with a central repository
%package static
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{version}-%{release}
%description static
%{summary}.
%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}.
%package_help
%prep
%autosetup -n %{name}-%{version}-1 -p1
%autosetup -n %{name}-%{version} -p1
sed -i.silent '\,^.SILENT:,d' makeinclude.in
autoconf
@ -94,10 +102,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
%files
%defattr(-,root,root)
%license COPYING
%{_bindir}/fluid
%{_libdir}/*.so.*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/applications/fluid.desktop
%files devel
%defattr(-,root,root)
@ -107,15 +112,45 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop
%{_libdir}/*.so
%{_includedir}/FL/
%{_includedir}/Fl
%exclude %{_libdir}/libfltk.a
%exclude %{_libdir}/libfltk_forms.a
%exclude %{_libdir}/libfltk_gl.a
%exclude %{_libdir}/libfltk_images.a
%files help
%defattr(-,root,root)
%doc README* ANNOUNCEMENT CHANGES* CREDITS __docs/*
%{_mandir}/man1/fltk-config.1*
%{_mandir}/man3/fltk.3*
%files static
%{_libdir}/libfltk.a
%{_libdir}/libfltk_forms.a
%{_libdir}/libfltk_gl.a
%{_libdir}/libfltk_images.a
%files fluid
%{_bindir}/fluid
%{_mandir}/man1/fluid.1*
%{_datadir}/applications/fluid.desktop
%{_datadir}/icons/hicolor/*/*/*
%changelog
* Fri Dec 29 2023 Paul Thomas <paulthomas100199@gmail.com> - 1.3.9-1
- update to version 1.3.9
* Fri Dec 24 2021 liuyumeng <liuyumeng5@huawei.com> - 1.3.8-1
- update to fltk-1.3.8-1
* Thu Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 1.3.5-2
- delete gdb in buildrequires
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.5-1
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:update version to 1.3.5
* Thu Oct 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.4-9
- Type:bugfix
- Id:NA

4
fltk.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: fltk/fltk
tag_prefix: ^release-
seperator: .