Compare commits
No commits in common. "rawhide" and "f39" have entirely different histories.
1 changed files with 14 additions and 40 deletions
54
allegro.spec
54
allegro.spec
|
|
@ -1,6 +1,9 @@
|
|||
# Force out of source build
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: allegro
|
||||
Version: 4.4.3.1
|
||||
Release: 19%{?dist}
|
||||
Release: 11%{?dist}
|
||||
|
||||
Summary: A game programming library
|
||||
Summary(es): Una libreria de programacion de juegos
|
||||
|
|
@ -35,7 +38,7 @@ Patch14: allegro-4.4.3-dat2c-buffer-overflow.patch
|
|||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: texinfo cmake
|
||||
BuildRequires: texinfo cmake3
|
||||
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
|
||||
|
|
@ -146,7 +149,7 @@ sound through JACK (Jack Audio Connection Kit).
|
|||
|
||||
%package -n alleggl
|
||||
Summary: OpenGL support library for Allegro
|
||||
License: Zlib OR GPL-1.0-or-later
|
||||
License: zlib or GPL+
|
||||
URL: http://allegrogl.sourceforge.net/
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
|
@ -159,7 +162,7 @@ that things like glut do.
|
|||
|
||||
%package -n alleggl-devel
|
||||
Summary: Development files for alleggl
|
||||
License: Zlib OR GPL-1.0-or-later
|
||||
License: zlib or GPL+
|
||||
Requires: alleggl%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n alleggl-devel
|
||||
|
|
@ -169,7 +172,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}
|
||||
|
||||
|
|
@ -179,7 +182,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
|
||||
|
|
@ -189,7 +192,7 @@ developing applications that use jpgalleg.
|
|||
|
||||
%package loadpng
|
||||
Summary: OGG/Vorbis library for the Allegro game library
|
||||
License: LicenseRef-Fedora-Public-Domain
|
||||
License: Public Domain
|
||||
URL: http://wiki.allegro.cc/index.php?title=LoadPNG
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
|
@ -199,7 +202,7 @@ save bitmaps from Allegro programs.
|
|||
|
||||
%package loadpng-devel
|
||||
Summary: Development files for loadpng
|
||||
License: LicenseRef-Fedora-Public-Domain
|
||||
License: Public Domain
|
||||
Requires: %{name}-loadpng%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description loadpng-devel
|
||||
|
|
@ -229,14 +232,9 @@ developing applications that use logg.
|
|||
%autosetup -p1
|
||||
|
||||
%build
|
||||
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 \
|
||||
%cmake3 -DOpenGL_GL_PREFERENCE:STRING=LEGACY -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
|
||||
-DDOCDIR:STRING=%{_pkgdocdir} -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
|
||||
%cmake_build
|
||||
%cmake3_build
|
||||
|
||||
pushd %{_vpath_builddir}
|
||||
# Converting text documentation to UTF-8 encoding.
|
||||
|
|
@ -250,7 +248,7 @@ done
|
|||
popd
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%cmake3_install
|
||||
|
||||
pushd %{_vpath_builddir}
|
||||
# installation of these is broken, because they use a cmake GLOB, but
|
||||
|
|
@ -390,30 +388,6 @@ 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