Compare commits
10 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8698323496 | ||
|
|
fff1693034 | ||
|
|
60b3052206 |
||
|
|
8937f92105 | ||
|
|
0d1e3eb010 | ||
|
|
c52cd73b4c | ||
|
|
2f1070e936 | ||
|
|
c3876b3aae | ||
|
|
2f12f09bab | ||
|
|
551b78696b |
1 changed files with 40 additions and 14 deletions
54
allegro.spec
54
allegro.spec
|
|
@ -1,9 +1,6 @@
|
|||
# Force out of source build
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: allegro
|
||||
Version: 4.4.3.1
|
||||
Release: 11%{?dist}
|
||||
Release: 19%{?dist}
|
||||
|
||||
Summary: A game programming library
|
||||
Summary(es): Una libreria de programacion de juegos
|
||||
|
|
@ -38,7 +35,7 @@ Patch14: allegro-4.4.3-dat2c-buffer-overflow.patch
|
|||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: texinfo cmake3
|
||||
BuildRequires: texinfo cmake
|
||||
BuildRequires: xorg-x11-proto-devel libX11-devel libXpm-devel libXcursor-devel
|
||||
BuildRequires: libXxf86vm-devel libXxf86dga-devel libGL-devel libGLU-devel
|
||||
BuildRequires: alsa-lib-devel jack-audio-connection-kit-devel
|
||||
|
|
@ -149,7 +146,7 @@ sound through JACK (Jack Audio Connection Kit).
|
|||
|
||||
%package -n alleggl
|
||||
Summary: OpenGL support library for Allegro
|
||||
License: zlib or GPL+
|
||||
License: Zlib OR GPL-1.0-or-later
|
||||
URL: http://allegrogl.sourceforge.net/
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
|
@ -162,7 +159,7 @@ that things like glut do.
|
|||
|
||||
%package -n alleggl-devel
|
||||
Summary: Development files for alleggl
|
||||
License: zlib or GPL+
|
||||
License: Zlib OR GPL-1.0-or-later
|
||||
Requires: alleggl%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n alleggl-devel
|
||||
|
|
@ -172,7 +169,7 @@ developing applications that use alleggl.
|
|||
|
||||
%package -n jpgalleg
|
||||
Summary: JPEG library for the Allegro game library
|
||||
License: zlib
|
||||
License: Zlib
|
||||
URL: http://www.ecplusplus.com/index.php?page=projects&pid=1
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
|
@ -182,7 +179,7 @@ using JPEG's as Allegro bitmaps.
|
|||
|
||||
%package -n jpgalleg-devel
|
||||
Summary: Development files for jpgalleg
|
||||
License: zlib
|
||||
License: Zlib
|
||||
Requires: jpgalleg%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n jpgalleg-devel
|
||||
|
|
@ -192,7 +189,7 @@ developing applications that use jpgalleg.
|
|||
|
||||
%package loadpng
|
||||
Summary: OGG/Vorbis library for the Allegro game library
|
||||
License: Public Domain
|
||||
License: LicenseRef-Fedora-Public-Domain
|
||||
URL: http://wiki.allegro.cc/index.php?title=LoadPNG
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
|
@ -202,7 +199,7 @@ save bitmaps from Allegro programs.
|
|||
|
||||
%package loadpng-devel
|
||||
Summary: Development files for loadpng
|
||||
License: Public Domain
|
||||
License: LicenseRef-Fedora-Public-Domain
|
||||
Requires: %{name}-loadpng%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description loadpng-devel
|
||||
|
|
@ -232,9 +229,14 @@ developing applications that use logg.
|
|||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake3 -DOpenGL_GL_PREFERENCE:STRING=LEGACY -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
|
||||
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
%cmake \
|
||||
%if "%{?_lib}" == "lib64"
|
||||
%{?_cmake_lib_suffix64} \
|
||||
%endif
|
||||
-DOpenGL_GL_PREFERENCE:STRING=LEGACY -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
|
||||
-DDOCDIR:STRING=%{_pkgdocdir} -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
|
||||
%cmake3_build
|
||||
%cmake_build
|
||||
|
||||
pushd %{_vpath_builddir}
|
||||
# Converting text documentation to UTF-8 encoding.
|
||||
|
|
@ -248,7 +250,7 @@ done
|
|||
popd
|
||||
|
||||
%install
|
||||
%cmake3_install
|
||||
%cmake_install
|
||||
|
||||
pushd %{_vpath_builddir}
|
||||
# installation of these is broken, because they use a cmake GLOB, but
|
||||
|
|
@ -388,6 +390,30 @@ install -pm 644 addons/jpgalleg/readme.txt \
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.3.1-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.3.1-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jul 17 2025 Cristian Le <git@lecris.dev> - 4.4.3.1-17
|
||||
- Add LIB_SUFFIX flag explicitly (rhbz#2381173)
|
||||
|
||||
* Fri May 30 2025 Cristian Le <git@lecris.dev> - 4.4.3.1-16
|
||||
- Allow to build with CMake 4.0
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.3.1-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.3.1-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.3.1-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.3.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2023 Hans de Goede <hdegoede@redhat.com> - 4.4.3.1-11
|
||||
- Fix dat2c bug causing FTBFS of allegro using packages (rhbz#2225996)
|
||||
- Trim changelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue