diff --git a/xforms.spec b/xforms.spec index 3819a64..7e65762 100644 --- a/xforms.spec +++ b/xforms.spec @@ -1,35 +1,27 @@ -%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}} - -# trim changelog included in binary rpms -%global _changelog_trimtime %(date +%s -d "1 year ago") - -Name: xforms -Summary: XForms toolkit library -Version: 1.2.4 -Release: 18%{?dist} - -License: LGPLv2+ -URL: http://xforms-toolkit.org/ -Source0: https://download.savannah.gnu.org/releases-noredirect/xforms/xforms-%{version}%{?pre}.tar.gz -Source1: https://download.savannah.gnu.org/releases-noredirect/xforms/xforms-%{version}%{?pre}.tar.gz.sig -Source2: gpgkey-B5049F22184B56AF7C3AFBDBEB9474E50D5C15EB.gpg -Patch0: xforms-1.2.4-gcc10.patch - -BuildRequires: gnupg2 -BuildRequires: gcc -BuildRequires: make -BuildRequires: libjpeg-devel -BuildRequires: libXpm-devel -BuildRequires: libGL-devel -BuildRequires: libX11-devel - +Summary: GUI toolkit based on Xlib for X Window Systems +Name: xforms +Version: 1.2.4 +Release: 30%{?dist} +License: LGPL-2.1-or-later +URL: http://xforms-toolkit.org/ +Source0: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}%{?pre}.tar.gz +Source1: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}%{?pre}.tar.gz.sig +Source2: gpgkey-B5049F22184B56AF7C3AFBDBEB9474E50D5C15EB.gpg +Patch0: xforms-1.2.4-gcc10.patch +BuildRequires: gnupg2 +BuildRequires: gcc +BuildRequires: make +BuildRequires: libjpeg-devel +BuildRequires: libXpm-devel +BuildRequires: libGL-devel +BuildRequires: libX11-devel # import/export: png, sgi (optional?) -Requires: netpbm-progs +Requires: netpbm-progs # import eps,ps (optional?) -#Requires: ghostscript +#Requires: ghostscript # eww, http://lists.nongnu.org/archive/html/xforms-development/2010-05/msg00000.html -Requires: xorg-x11-fonts-ISO8859-1-75dpi -Requires: xorg-x11-fonts-ISO8859-1-100dpi +Requires: xorg-x11-fonts-ISO8859-1-75dpi +Requires: xorg-x11-fonts-ISO8859-1-100dpi %description XForms is a GUI toolkit based on Xlib for X Window Systems. It features a @@ -40,39 +32,35 @@ library is extensible and new objects can easily be created and added to the library. %package devel -Summary: Development files for the XForms toolkit library -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: libGL-devel -Requires: libX11-devel +Summary: Development files for the XForms toolkit library +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libGL-devel +Requires: libX11-devel %description devel -%{summary}. +The xforms-devel package includes header files and libraries necessary for +developing programs which use the XForms toolkit library. %package doc -Summary: XForms documentation -%if 0%{?rhel} && 0%{?rhel} <= 7 -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info -%endif -BuildRequires: texi2html -BuildRequires: texinfo -BuildRequires: texinfo-tex -BuildRequires: ImageMagick -BuildArch: noarch +Summary: Documentation files for the XForms toolkit library +BuildRequires: texi2html +BuildRequires: texinfo +BuildRequires: texinfo-tex +BuildRequires: ImageMagick +BuildArch: noarch %description doc -%{summary}. - +XForms is a GUI toolkit based on Xlib for X Window Systems. This package +contains the documentation for developing applications that use the XForms +toolkit library. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' -%setup -q -n %{name}-%{version}%{?pre} -%patch0 -p1 -b .gcc10 +%autosetup -n %{name}-%{version}%{?pre} -p1 # rpath hack sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure - %build %configure \ --disable-demos \ @@ -82,20 +70,16 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure %make_build X_PRE_LIBS="" - %install %make_install INSTALL='install -p' rm -rfv demos/.deps cp -r demos/ $RPM_BUILD_ROOT%{_pkgdocdir}/ - ## Unpackaged files rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la rm -rfv $RPM_BUILD_ROOT%{_infodir}/{dir,xforms_images} - - %ldconfig_scriptlets %files @@ -116,24 +100,49 @@ rm -rfv $RPM_BUILD_ROOT%{_infodir}/{dir,xforms_images} %{_mandir}/man1/* %{_mandir}/man5/* -%if 0%{?rhel} && 0%{?rhel} <= 7 -%post doc -/sbin/install-info %{_infodir}/xforms.info %{_infodir}/dir ||: - -%preun doc -if [ $1 -eq 0 ]; then -/sbin/install-info --delete %{_infodir}/xforms.info %{_infodir}/dir ||: -fi -%endif - %files doc %{_infodir}/xforms.info* %{_pkgdocdir}/demos/ %{_pkgdocdir}/html/ %{_pkgdocdir}/xforms.pdf - %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.2.4-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 1.2.4-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 1.2.4-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 1.2.4-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Sep 04 2024 Miroslav Suchý - 1.2.4-26 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 1.2.4-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 1.2.4-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 1.2.4-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 1.2.4-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.2.4-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 1.2.4-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.2.4-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Thu Jan 28 2021 Fedora Release Engineering - 1.2.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild @@ -289,7 +298,7 @@ fi * Tue Aug 08 2006 Rex Dieter 1.0.90-7 - cleanup -* Wed Mar 01 2006 Rex Dieter +* Wed Mar 01 2006 Rex Dieter - fc5: gcc/glibc respin * Fri Jan 20 2006 Rex Dieter 1.0.90-6 @@ -300,14 +309,14 @@ fi * Mon Dec 19 2005 Rex Dieter 1.0.90-4 - BR: libXpm-devel -- -devel: Req: libX11-devel +- -devel: Req: libX11-devel * Mon Oct 17 2005 Rex Dieter 1.0.90-3 - BR: libGL-devel - #BR: libXpm-devel (coming soon) * Mon Oct 17 2005 Rex Dieter 1.0.90-2 -- BR: libGL.so.1 -> BR: %%x_pkg-Mesa-libGL +- BR: libGL.so.1 -> BR: %%x_pkg-Mesa-libGL - remove legacy crud * Mon Oct 17 2005 Rex Dieter 1.0.90-1 @@ -317,7 +326,7 @@ fi * Sun May 22 2005 Jeremy Katz - 1.0-4 - rebuild on all arches -* Fri Apr 7 2005 Michael Schwendt +* Thu Apr 7 2005 Michael Schwendt - rebuilt * Sun Nov 23 2003 Rex Dieter 0:1.0-0.fdr.2 @@ -328,7 +337,7 @@ fi - BuildRequires: libtiff-devel - add few more %%doc files. -* Fri Apr 02 2003 Rex Dieter 0:1.0-0.fdr.0 +* Wed Apr 02 2003 Rex Dieter 0:1.0-0.fdr.0 - fedora-ize package. * Mon Jan 20 2003 Rex Dieter 1.0-0