Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Fedora Release Engineering
67a00f4a07 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 16:58:38 +00:00
Dan Horák
2d5fe0731c drop i686 builds 2025-04-15 18:16:35 +02:00
Dan Horák
2b80cfd546 be more specific in file lists 2025-04-15 15:17:07 +02:00
Dan Horák
4c890525d9 update for https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin 2025-04-15 14:56:53 +02:00
Dan Horák
63093c535f revert back to older C standard as the code base is also old 2025-04-15 14:46:38 +02:00
Fedora Release Engineering
d51bee72f8 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-20 07:29:23 +00:00
Davide Cavalca
3df00227cc Drop old comments that trigger a FTBFS due to macro expansion 2025-01-01 14:46:37 -08:00
Davide Cavalca
537d172d95 Conflict with the sdl-hercules packages 2025-01-01 14:42:16 -08:00

View file

@ -1,12 +1,11 @@
Summary: Hercules S/370, ESA/390, and z/Architecture emulator
Name: hercules
Version: 3.13
Release: 18%{?dist}
Release: 21%{?dist}
# Automatically converted from old format: QPL - review is highly recommended.
License: QPL-1.0
URL: http://www.hercules-390.eu/
Source0: http://downloads.hercules-390.eu/%{name}-%{version}.tar.gz
#Source0: https://github.com/rbowler/spinhawk/archive/%{version}.tar.gz
Source1: hercules.cnf
Source2: hercules-run
Source3: README-rpm
@ -19,7 +18,11 @@ BuildRequires: libcap-devel
BuildRequires: libtool
BuildRequires: libtool-ltdl-devel
BuildRequires: make
Conflicts: sdl-hercules
Conflicts: sdl-hercules-data
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
%description
Hercules is an emulator for the IBM System/370, ESA/390, and z/Architecture
@ -31,7 +34,6 @@ printer-keyboard, 3270 terminal, and 3287 printer devices.
%prep
#%setup -q -n spinhawk-%{version}
%setup -q
%patch -P0 -p1 -b .fedora
@ -52,7 +54,7 @@ rm util/Makefile*
%build
%configure \
--enable-external-gui \
--enable-optimization="%{optflags}"
--enable-optimization="%{optflags} -std=gnu17"
make %{?_smp_mflags} V=1
@ -89,17 +91,37 @@ rm %{buildroot}%{_libdir}/*.la
%dir %{_sysconfdir}/hercules/
%attr(0644, root, root) %config(noreplace) %{_sysconfdir}/hercules/hercules.cnf
%attr(0644, root, root) %config(noreplace) %{_sysconfdir}/hercules/generic.prm
%{_bindir}/*
%{_sbindir}/*
%{_bindir}/cckd*
%{_bindir}/cfba*
%{_bindir}/ckd*
%{_bindir}/dasd*
%{_bindir}/dmap*
%{_bindir}/fba*
%{_bindir}/herc*
%{_bindir}/het*
%{_bindir}/tape*
%{_datadir}/hercules/
%dir %{_libdir}/hercules/
%{_libdir}/hercules/*.so
%{_libdir}/*.so
%{_libdir}/libherc*.so
%{_libdir}/libdecNumber.so
%{_libdir}/libsoftfloat.so
%{_mandir}/man?/*
%dir %{_sharedstatedir}/hercules/
%changelog
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.13-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jan 20 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.13-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jan 01 2025 Davide Cavalca <dcavalca@fedoraproject.org> - 3.13-19
- Conflict with the sdl-hercules packages
- Drop old comments that trigger a FTBFS due to macro expansion
Fixes: RHBZ#2300839
* Wed Aug 07 2024 Miroslav Suchý <msuchy@redhat.com> - 3.13-18
- convert license to SPDX