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