Compare commits
20 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a9d933b4b | ||
|
|
73b1c97fe9 | ||
|
|
1129119250 | ||
|
|
c7cf697458 | ||
|
|
db1f041d67 | ||
|
|
f785bacd86 | ||
|
|
8451931cfb | ||
|
|
f78ea89f7c | ||
|
|
94d0d62a32 | ||
|
|
3346e63b04 | ||
|
|
f612520f5f | ||
|
|
3f40d2ef07 | ||
|
|
6ecfd928d6 | ||
|
|
4f4b6714fd | ||
|
|
0345d9bf34 | ||
|
|
cb86be46e0 | ||
|
|
3406aae815 | ||
|
|
f56161af9e | ||
|
|
11249d3d08 | ||
|
|
6c369d82d0 |
2 changed files with 78 additions and 12 deletions
13
cylindrix-1.0-configure-c99.patch
Normal file
13
cylindrix-1.0-configure-c99.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/configure b/configure
|
||||
index baf9b5a..487763c 100755
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -906,7 +906,7 @@ cat > conftest.$ac_ext << EOF
|
||||
#line 907 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
-main(){return(0);}
|
||||
+int main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
ac_cv_prog_cc_works=yes
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
Name: cylindrix
|
||||
Version: 1.0
|
||||
Release: 30%{?dist}
|
||||
Release: 47%{?dist}
|
||||
Summary: A 3 degrees of freedom combat game
|
||||
|
||||
License: LGPLv2
|
||||
License: LGPL-2.0-only
|
||||
URL: http://www.hardgeus.com/cylindrix/
|
||||
Source0: http://www.hardgeus.com/cylindrix/cylindrix-1.0.tar.bz2
|
||||
Source1: cylindrix.desktop
|
||||
|
|
@ -15,9 +15,11 @@ Patch1: cylindrix-1.0-arch-independ-file-read.patch
|
|||
Patch2: cylindrix-1.0-use-int-not-long.patch
|
||||
Patch3: cylindrix-1.0-arch-independ-file-write.patch
|
||||
Patch4: cylindrix-1.0-object-fopen.patch
|
||||
Patch5: cylindrix-1.0-configure-c99.patch
|
||||
Requires: hicolor-icon-theme
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: allegro-devel, desktop-file-utils
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
Cylindrix is a 3-on-3 combat game with 360 degrees of freedom that is
|
||||
|
|
@ -36,20 +38,19 @@ is worth a try.
|
|||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p0
|
||||
%patch1 -p0
|
||||
%patch2 -p0
|
||||
%patch3 -p0
|
||||
%patch4 -p0
|
||||
%patch -P0 -p0
|
||||
%patch -P1 -p0
|
||||
%patch -P2 -p0
|
||||
%patch -P3 -p0
|
||||
%patch -P4 -p0
|
||||
%patch -P5 -p0
|
||||
|
||||
%build
|
||||
|
||||
%configure
|
||||
make CFLAGS="$RPM_OPT_FLAGS -Wno-pointer-sign" LIBS="-lm"
|
||||
make CFLAGS="$RPM_OPT_FLAGS -Wno-pointer-sign -fcommon -std=gnu17" LIBS="-lm"
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -m 755 %{SOURCE3} %{buildroot}%{_bindir}/cylindrix
|
||||
install -m 755 cylindrix %{buildroot}%{_bindir}/cylindrix-bin
|
||||
|
|
@ -82,13 +83,65 @@ install -p -m 644 %{SOURCE2} \
|
|||
%files
|
||||
%{_bindir}/cylindrix*
|
||||
%{_datadir}/cylindrix/
|
||||
|
||||
%doc AUTHORS COPYING
|
||||
%license COPYING
|
||||
%doc AUTHORS
|
||||
%{_datadir}/applications/cylindrix.desktop
|
||||
%{_datadir}/icons/hicolor/64x64/apps/cylindrix.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-47
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-46
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-45
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-44
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-43
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Mar 01 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.0-41
|
||||
- migrated to SPDX license
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Dec 22 2022 Peter Fordham <peter.fordham@gmail.com> - 1.0-39
|
||||
- Port configure script to C99.
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-38
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-35
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-34
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Feb 06 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.0-32
|
||||
- Fix FTBFS.
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue