|
|
|
@ -1,21 +1,40 @@
|
|
|
|
|
%global rc_subver rc5
|
|
|
|
|
|
|
|
|
|
%if 0%{?el10}
|
|
|
|
|
%bcond_with gpm
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without gpm
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Summary: ASCII art library
|
|
|
|
|
Name: aalib
|
|
|
|
|
Version: 1.4.0
|
|
|
|
|
Release: 0.42.%{rc_subver}%{?dist}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Release: 0.52.%{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
|
|
|
|
|
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
|
|
|
|
|
BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel
|
|
|
|
|
BuildRequires: autoconf libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
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: autoconf
|
|
|
|
|
%if 0%{with gpm}
|
|
|
|
|
BuildRequires: gpm-devel
|
|
|
|
|
%endif
|
|
|
|
|
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
|
|
|
|
@ -40,23 +59,27 @@ with aalib.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p0
|
|
|
|
|
%patch1 -p0
|
|
|
|
|
%patch2 -p1 -b .bug149361
|
|
|
|
|
%patch3 -p1 -b .rpath
|
|
|
|
|
%patch4 -p1 -b .x_libs
|
|
|
|
|
%patch5 -p0 -b .libflag
|
|
|
|
|
%patch -P0 -p0
|
|
|
|
|
%patch -P1 -p0
|
|
|
|
|
%patch -P2 -p1 -b .bug149361
|
|
|
|
|
%patch -P3 -p1 -b .rpath
|
|
|
|
|
%patch -P4 -p1 -b .x_libs
|
|
|
|
|
%patch -P5 -p0 -b .libflag
|
|
|
|
|
%patch -P6 -p1
|
|
|
|
|
%patch -P7 -p1 -b .free-offset-pointer
|
|
|
|
|
%patch -P8 -p1 -b .fix-aarender
|
|
|
|
|
%patch -P9 -p1 -b .opaque-ncurses-fix
|
|
|
|
|
# included libtool is too old, we need to rebuild
|
|
|
|
|
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
|
|
|
|
@ -74,7 +97,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
|
|
|
|
@ -85,6 +108,44 @@ touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/
|
|
|
|
|
%{_datadir}/aclocal/aalib.m4
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Dec 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.4.0-0.52.rc5
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Fri Oct 04 2024 Xavier Bachelot <xavier@bachelot.org> - 1.4.0-0.52.rc5
|
|
|
|
|
- Do not BuildRequires gpm-devel on EL10
|
|
|
|
|
- Specfile clean up
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.51.rc5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 10 2024 Tom Callaway <spot@fedoraproject.org> - 1.4.0-0.50.rc5
|
|
|
|
|
- apply two fixes from gentoo
|
|
|
|
|
- fix aalib to handle opaque WINDOW in ncurses
|
|
|
|
|
- fix license tag
|
|
|
|
|
- fix patch macro syntax
|
|
|
|
|
- fixes FTBFS
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.49.rc5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.48.rc5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.47.rc5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 06 2023 Florian Weimer <fweimer@redhat.com> - 1.4.0-0.46.rc5
|
|
|
|
|
- Port to C99
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.45.rc5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.44.rc5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.43.rc5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.42.rc5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|