9 Commits

View File

@ -1,31 +1,54 @@
%define majver %(echo %version | cut -d. -f1-3)
Name: liballegro
Version: 5.2.3.0
Version: 5.2.10.1
Release: 1mamba
Summary: A game programming library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://liballeg.org/
URL: https://liballeg.org/
Source: https://github.com/liballeg/allegro5.git/%{version}/allegro5-%{version}.tar.bz2
#Source: http://download.gna.org/allegro/allegro/%{version}/allegro-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libICE-devel
BuildRequires: libjack-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libXcursor-devel
BuildRequires: libXext-devel
BuildRequires: libXpm-devel
BuildRequires: libXxf86dga-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: libalsa-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libflac-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglu-devel
BuildRequires: libglvnd-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjpeg-turbo
BuildRequires: libogg-devel
BuildRequires: libopenal-devel
BuildRequires: libopus-devel
BuildRequires: libopusfile-devel
BuildRequires: libpango-devel
BuildRequires: libphysfs-devel
BuildRequires: libpng-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
BuildRequires: libwebp-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Allegro is a game programming library for C/C++ developers distributed freely.
@ -43,10 +66,7 @@ Allegro is a game programming library for C/C++ developers distributed freely.
It provides many functions for graphics, sounds, player input (keyboard, mouse and joystick) and timers.
It also provides fixed and floating point mathematical functions, 3d functions, file management functions, compressed datafile and a GUI.
This package contains static libraries and header files need for development.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%package tools
Group: Development/Tools
@ -56,8 +76,11 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q -n allegro5-%{version}
sed -i "s|\"lib/cmake|\"%{_lib}/cmake|" CMakeLists.txt
%build
%cmake -d build
@ -114,10 +137,39 @@ _EOF
%dir %{_includedir}/allegro5
%{_includedir}/allegro5/*
%{_libdir}/pkgconfig/allegro*.pc
%{_libdir}/cmake/allegro
%{_libdir}/cmake/allegro/Allegro*.cmake
%{_mandir}/man3/*
#%doc CHANGES-*.txt README.txt
%changelog
* Sun Dec 29 2024 Automatic Build System <autodist@openmamba.org> 5.2.10.1-1mamba
- automatic version update by autodist
* Fri Nov 29 2024 Automatic Build System <autodist@openmamba.org> 5.2.10.0-1mamba
- automatic version update by autodist
* Sun Jan 21 2024 Automatic Build System <autodist@openmamba.org> 5.2.9.1-1mamba
- automatic version update by autodist
* Mon Nov 27 2023 Automatic Build System <autodist@mambasoft.it> 5.2.9.0-1mamba
- automatic version update by autodist
* Tue Jun 07 2022 Automatic Build System <autodist@mambasoft.it> 5.2.8.0-1mamba
- automatic version update by autodist
* Mon Sep 27 2021 Automatic Build System <autodist@mambasoft.it> 5.2.7.0-1mamba
- automatic version update by autodist
* Wed Mar 11 2020 Automatic Build System <autodist@mambasoft.it> 5.2.6.0-1mamba
- automatic version update by autodist
* Fri Mar 15 2019 Automatic Build System <autodist@mambasoft.it> 5.2.5-1mamba
- automatic version update by autodist
* Sat Mar 24 2018 Automatic Build System <autodist@mambasoft.it> 5.2.4-1mamba
- automatic version update by autodist
* Sun Dec 31 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.3.0-1mamba
- update to 5.2.3.0