diff --git a/fltk-1.3.5-source.tar.gz b/fltk-1.3.8-source.tar.gz similarity index 43% rename from fltk-1.3.5-source.tar.gz rename to fltk-1.3.8-source.tar.gz index 5483aa0688100808744203ea081d040a4e79287f..7295f2990410aae173e093fb47ce47923301ed37 100644 Binary files a/fltk-1.3.5-source.tar.gz and b/fltk-1.3.8-source.tar.gz differ diff --git a/fltk.spec b/fltk.spec index 6a37b9146c0eb4d511b2a4e9b4be8691c04cf7c8..03e25885c5acfa8173aa29a4a7e3552efd00b230 100644 --- a/fltk.spec +++ b/fltk.spec @@ -1,20 +1,17 @@ %global _changelog_trimtime %(date +%s -d "1 year ago") Name: fltk -Version: 1.3.5 -Release: 2 +Version: 1.3.8 +Release: 1 Summary: C++ user interface toolkit License: LGPLv2+ with exceptions URL: http://www.fltk.org/ -Source0: https://www.fltk.org/pub/fltk/1.3.5/fltk-1.3.5-source.tar.gz +Source0: https://www.fltk.org/pub/fltk/1.3.8/fltk-1.3.8-source.tar.gz Source1: fltk-config.sh Patch0001: fltk-1.3.4-x-fluid_mimetype.patch -Provides: %{name}-fluid = %{version}-%{release} -Obsoletes: %{name}-fluid < %{version}-%{release} - 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 @@ -27,8 +24,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 @@ -37,6 +32,21 @@ 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 @@ -91,10 +101,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) @@ -104,15 +111,33 @@ 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 24 2021 liuyumeng - 1.3.8-1 +- update to fltk-1.3.8-1 + * Thu Jul 20 2021 liuyumeng - 1.3.5-2 - delete gdb in buildrequires