Compare commits
No commits in common. "rawhide" and "f29" have entirely different histories.
1 changed files with 13 additions and 70 deletions
83
ularn.spec
83
ularn.spec
|
|
@ -1,9 +1,10 @@
|
|||
Name: ularn
|
||||
Version: 1.5p4
|
||||
Release: 49%{?dist}
|
||||
Release: 30%{?dist}
|
||||
Summary: Simple roguelike game
|
||||
|
||||
License: GPL-1.0-or-later
|
||||
Group: Amusements/Games
|
||||
License: GPL+
|
||||
URL: http://www.ularn.org
|
||||
Source0: http://downloads.sourceforge.net/ularn/Ularn-1.5ishPL4.tar.gz
|
||||
Source1: config.sh.in
|
||||
|
|
@ -14,11 +15,12 @@ Patch1: ularn-euid.patch
|
|||
Patch2: ularn-datadir.patch
|
||||
Patch3: ularn-drop-setgid.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires: ncompress
|
||||
Requires(post): coreutils
|
||||
Requires(postun): coreutils
|
||||
|
||||
%description
|
||||
A text-based roguelike game based on the original Larn. Travel through
|
||||
|
|
@ -36,15 +38,12 @@ sed -e 's#@bindir@#%{_bindir}#' \
|
|||
-e 's#@datadir@#%{_datadir}#' \
|
||||
-e 's#@var@#%{_var}#' < %{SOURCE1} > config.sh
|
||||
chmod +x config.h.SH
|
||||
%patch -P0 -p1
|
||||
%patch -P1 -p1
|
||||
%patch -P2 -p1
|
||||
%patch -P3 -p1
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
# This package requires C89 compatibility mode (bug 2155503).
|
||||
%global build_type_safety_c 0
|
||||
|
||||
# Keep track of where we are. Some of the configuration scripts change
|
||||
# the current working directory.
|
||||
builddir=`pwd`
|
||||
|
|
@ -52,9 +51,10 @@ builddir=`pwd`
|
|||
${builddir}/Makefile.u.SH
|
||||
cd ${builddir}
|
||||
mv Makefile.u Makefile
|
||||
CC="gcc $RPM_OPT_FLAGS -fcommon -std=gnu17" make %{?_smp_mflags}
|
||||
CC="gcc $RPM_OPT_FLAGS" make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_var}/games
|
||||
touch $RPM_BUILD_ROOT/%{_var}/games/Ularn-scoreboard
|
||||
|
|
@ -72,67 +72,10 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/app
|
|||
%config(noreplace) %attr (0664,root,games) %{_var}/games/Ularn-scoreboard
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
||||
%doc README README.spoilers CHANGES.text Ularnopts
|
||||
%license GPL
|
||||
%doc README README.spoilers GPL CHANGES.text Ularnopts
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-49
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-48
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-47
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-46
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Aug 31 2023 Florian Weimer <fweimer@redhat.com> - 1.5p4-45
|
||||
- Set build_type_safety_c to 0 (#2155503)
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-44
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sun Mar 05 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.5p4-43
|
||||
- migrated to SPDX license
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Dec 21 2022 Florian Weimer <fweimer@redhat.com> - 1.5p4-41
|
||||
- Build in C89 mode (#2155503)
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-39
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-38
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Feb 10 2020 Gwyn Ciesla <gwync@protonmail.com> 1.5p4-35
|
||||
- Fix FTBFS.
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-34
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Mar 7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 1.5p4-32
|
||||
- Remove obsolete requirements for %%post/%%postun scriptlets
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5p4-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue