-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathodamex.spec
More file actions
158 lines (125 loc) · 3.88 KB
/
odamex.spec
File metadata and controls
158 lines (125 loc) · 3.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
Name: odamex
Version: 11.1.1
Release: 1%{?dist}
Summary: Online Multiplayer Doom port with a strong focus on the original gameplay while providing a breadth of enhancements.
License: GPLv2 and MIT and LGPLv2+ with exceptions and zlib and BSD and GPLv2+
URL: https://odamex.net/
Source0: https://github.com/odamex/odamex/releases/download/%{version}/odamex-src-%{version}.tar.gz
BuildRequires: gcc-c++ cmake
BuildRequires: alsa-lib-devel
BuildRequires: libcurl-devel
BuildRequires: libpng-devel
BuildRequires: zlib-devel
BuildRequires: (wxGTK-devel or wxGTK3-devel)
BuildRequires: deutex
BuildRequires: pkgconfig(jsoncpp)
BuildRequires: SDL2-devel SDL2_mixer-devel
BuildRequires: portmidi-devel
BuildRequires: miniupnpc-devel
# libzstd has no cmake configuration, fixed in rawhide
BuildRequires: libzstd-devel
# libdwarf has no cmake configuration because it uses meson
BuildRequires: libdwarf-devel
# The Launcher needs the client to function
Requires: %{name}-client
# MIT
# not used but provided in the release tarball
Provides: bundled(libcurl)
# LGPLv2+ with exceptions
Provides: bundled(fltk)
# MIT
Provides: bundled(jsoncpp)
# MIT
Provides: bundled(libminiupnpc)
# zlib
# not used but provided in the release tarball
Provides: bundled(libpng)
# MIT
# not used but provided in the release tarball
Provides: bundled(portmidi)
# BSD
Provides: bundled(protobuf)
# GPLv2+
Provides: bundled(textscreen)
# zlib
# not used but provided in the release tarball
Provides: bundled(zlib)
%description
Odamex is a modification of DOOM to allow players to compete with each
other over theInternet using a client/server architecture.
Thanks to the source code release of DOOM by id Software in December 1997,
there have been many modifications that enhanced DOOM in various ways.
These modifications are known as "source ports", as early modifications
mainly ported DOOM to other platforms and operating systems such as
Windows and Macintosh.
Odamex is based on the CSDoom 0.62 source code originally created by
Sergey Makovkin, which is based on the ZDoom 1.22 source code created
by Marisa Heit.
%package client
Summary: Odamex Client
Requires: %{name}-data
%description client
Odamex Client
%package server
Summary: Odamex Server
Requires: %{name}-data
%description server
Odamex Server
%package masterserver
Summary: Odamex Master Server
Requires: %{name}-data
%description masterserver
Odamex Master Server
%package data
Summary: Odamex Data
BuildArch: noarch
%description data
Odamex Data
%prep
%autosetup -n odamex-src-%{version}
%build
%cmake \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DUSE_EXTERNAL_LIBDWARF=1 \
-DUSE_INTERNAL_DEUTEX=0 \
-DUSE_INTERNAL_ZLIB=0 \
-DUSE_INTERNAL_PNG=0 \
-DUSE_INTERNAL_CURL=0 \
-DUSE_INTERNAL_JSONCPP=0 \
-DUSE_INTERNAL_WXWIDGETS=0 \
-DUSE_INTERNAL_MINIUPNP=0 \
-DUSE_INTERNAL_ZSTD=0 \
-DENABLE_PORTMIDI=1 \
-DUSE_MINIUPNP=1 \
-DBUILD_CLIENT=1 \
-DBUILD_SERVER=1 \
-DBUILD_MASTER=1 \
-DBUILD_ODALAUNCH=1
%cmake_build
%install
%cmake_install
%files
%{_bindir}/odalaunch
%files client
%{_bindir}/odamex
%files server
%{_bindir}/odasrv
%files masterserver
%{_bindir}/odamast
%files data
%{_datadir}/%{name}
%changelog
* Wed Oct 29 2025 Jan200101 <sentrycraft123@gmail.com> - 11.1.1-1
- Update to 11.1.1
* Sun Jul 14 2024 Jan200101 <sentrycraft123@gmail.com> - 10.5.0-1
- Update to 10.5.0
* Sat Oct 28 2023 Jan Drögehoff <sentrycraft123@gmail.com> - 10.4.0-1
- Update to 10.4.0
* Wed Apr 19 2023 Jan Drögehoff <sentrycraft123@gmail.com> - 10.3.0-1
- Update to 10.3.0
* Sat Mar 26 2022 Jan Drögehoff <sentrycraft123@gmail.com> - 10.0.0-1
- Update to 10.0.0
* Wed Oct 06 2021 Jan Drögehoff <sentrycraft123@gmail.com> - 0.8.5-1
- Update to 0.8.5
* Fri Jan 15 18:14:12 CET 2021 Jan Drögehoff <sentrycraft123@gmail.com> - 0.8.3-1
- Initial spec