diff --git a/aalib.spec b/aalib.spec index 1a7b0f1..f43ae9c 100644 --- a/aalib.spec +++ b/aalib.spec @@ -1,9 +1,10 @@ %global rc_subver rc5 +%global optflags %{optflags} -std=gnu17 Summary: ASCII art library Name: aalib Version: 1.4.0 -Release: 0.50.%{rc_subver}%{?dist} +Release: 0.57.%{rc_subver}%{?dist} License: LGPL-2.1-or-later URL: http://aa-project.sourceforge.net/aalib/ Source0: http://download.sourceforge.net/aa-project/%{name}-1.4%{rc_subver}.tar.gz @@ -11,18 +12,22 @@ Patch0: aalib-aclocal.patch Patch1: aalib-config-rpath.patch Patch2: aalib-1.4rc5-bug149361.patch Patch3: aalib-1.4rc5-rpath.patch -Patch4: aalib-1.4rc5-x_libs.patch -Patch5: aalib-1.4rc5-libflag.patch -Patch6: aalib-c99.patch -Patch7: https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/aalib/files/aalib-1.4_rc5-free-offset-pointer.patch -Patch8: https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/aalib/files/aalib-1.4_rc5-fix-aarender.patch +Patch4: aalib-1.4rc5-x_libs.patch +Patch5: aalib-1.4rc5-libflag.patch +Patch6: aalib-c99.patch +Patch7: https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/aalib/files/aalib-1.4_rc5-free-offset-pointer.patch +Patch8: https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/aalib/files/aalib-1.4_rc5-fix-aarender.patch # Modern ncurses has an opaque WINDOW structure (you cannot address its members directly) # Use the getmaxx() and getmaxy() functions provided by ncurses instead. Patch9: aalib-1.4rc5-opaque-ncurses-fix.patch -BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel -BuildRequires: autoconf libtool -BuildRequires: make +BuildRequires: autoconf +BuildRequires: gpm-devel +BuildRequires: libtool +BuildRequires: libXt-devel +BuildRequires: make +BuildRequires: ncurses-devel +BuildRequires: slang-devel %description AA-lib is a low level gfx library just as many other libraries are. The @@ -63,11 +68,11 @@ autoreconf -v -f -i %build %configure --disable-static --with-curses-driver=yes --with-ncurses -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" +%make_install rm -f $RPM_BUILD_ROOT{%{_libdir}/libaa.la,%{_infodir}/dir} # clean up multilib conflicts @@ -85,7 +90,7 @@ touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/ %files libs %doc README ChangeLog NEWS %license COPYING -%{_libdir}/libaa.so.* +%{_libdir}/libaa.so.1* %files devel %{_bindir}/aalib-config @@ -96,6 +101,29 @@ touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/ %{_datadir}/aclocal/aalib.m4 %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 1.4.0-0.57.rc5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Wed Jul 23 2025 Fedora Release Engineering - 1.4.0-0.56.rc5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Mar 3 2025 Tom Callaway - 1.4.0-0.55.rc5 +- force std=gnu17 (it does not support C23) +- fixes FTBFS + +* Thu Jan 16 2025 Fedora Release Engineering - 1.4.0-0.54.rc5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Jan 03 2025 Xavier Bachelot - 1.4.0-0.53.rc5 +- Re-enable gpm on EL10 + +* Fri Oct 04 2024 Xavier Bachelot - 1.4.0-0.52.rc5 +- Do not BuildRequires gpm-devel on EL10 +- Specfile clean up + +* Wed Jul 17 2024 Fedora Release Engineering - 1.4.0-0.51.rc5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Feb 10 2024 Tom Callaway - 1.4.0-0.50.rc5 - apply two fixes from gentoo - fix aalib to handle opaque WINDOW in ncurses