From 5dbcd10883096eb1bf7f704239834f32ae31b2a6 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sun, 29 Sep 2024 12:15:47 +0800 Subject: [PATCH] cleanup spec --- fltk.spec | 23 ++++++----------------- fltk.yaml | 2 +- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/fltk.spec b/fltk.spec index f4af780..9d6fef4 100644 --- a/fltk.spec +++ b/fltk.spec @@ -1,10 +1,8 @@ -%global _changelog_trimtime %(date +%s -d "1 year ago") - Name: fltk Version: 1.3.9 -Release: 1 +Release: 2 Summary: C++ user interface toolkit -License: LGPLv2+ with exceptions +License: LGPL-2.0-or-later with exceptions URL: http://www.fltk.org/ Source0: https://www.fltk.org/pub/fltk/%{version}/%{name}-%{version}-source.tar.gz @@ -15,7 +13,7 @@ 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 +BuildRequires: pkgconfig(xcursor) pkgconfig(xproto) zlib-devel autoconf %description FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit.It provides modern GUI functionality without @@ -95,30 +93,18 @@ rm -rv $RPM_BUILD_ROOT%{_mandir}/cat* %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files -%defattr(-,root,root) %license COPYING %{_libdir}/*.so.* %files devel -%defattr(-,root,root) %{_bindir}/fltk-config %{?arch:%{_bindir}/fltk-config-%{arch}} -%{_libdir}/*.a %{_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* @@ -136,6 +122,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/fluid.desktop %{_datadir}/icons/hicolor/*/*/* %changelog +* Sun Sep 29 2024 Funda Wang - 1.3.9-2 +- cleanup spec + * Fri Dec 29 2023 Paul Thomas - 1.3.9-1 - update to version 1.3.9 diff --git a/fltk.yaml b/fltk.yaml index 15b4944..8a01f54 100644 --- a/fltk.yaml +++ b/fltk.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: fltk/fltk tag_prefix: ^release- -seperator: . +separator: . -- Gitee