added patch to suppress aclocal warning with m4 file [release 1.4.0-3mamba;Tue May 10 2011]

This commit is contained in:
Silvan Calarco 2024-01-06 03:43:51 +01:00
parent 5371f9c5b1
commit cc36d1023d
3 changed files with 111 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# libaa
AAlib is an portable ascii art GFX library.
If you wish to see some examples of AAlib technology, please browse AA-project homepage.

11
libaa-1.4.0-m4.patch Normal file
View File

@ -0,0 +1,11 @@
--- aalib.m4.orig 2006-03-05 13:58:21.000000000 +0000
+++ aalib.m4 2006-03-05 13:58:32.000000000 +0000
@@ -9,7 +9,7 @@
dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
dnl
-AC_DEFUN(AM_PATH_AALIB,
+AC_DEFUN([AM_PATH_AALIB],
[dnl
dnl Get the cflags and libraries from the aalib-config script
dnl

97
libaa.spec Normal file
View File

@ -0,0 +1,97 @@
%define pckver 1.4rc5
Name: libaa
Version: 1.4.0
Release: 3mamba
Summary: A portable ascii art GFX library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://aa-project.sourceforge.net/aalib/
Source: http://prdownloads.sourceforge.net/aa-project/aalib-%{pckver}.tar.gz
Patch0: %{name}-1.4.0-m4.patch
License: GPL
BuildRequires: libgpm-devel
BuildRequires: libslang-devel
BuildRequires: libX11-devel
BuildRequires: libICE-devel
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
AAlib is an portable ascii art GFX library.
If you wish to see some examples of AAlib technology, please browse AA-project homepage.
%package devel
Summary: Devel package for libaa
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
AAlib is an portable ascii art GFX library.
If you wish to see some examples of AAlib technology, please browse AA-project homepage.
This package contains static libraries and header files need for development.
%prep
%setup -q -n aalib-%{version}
%patch0 -p0
%build
%configure
%make CC=%{_target_platform}-gcc
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post devel
%install_info aalib.info
exit 0
%preun devel
%uninstall_info aalib.info
exit 0
%files
%defattr(-,root,root)
%{_bindir}/aafire
%{_bindir}/aainfo
%{_bindir}/aasavefont
%{_bindir}/aatest
%{_mandir}/man1/aafire.*
%{_libdir}/libaa.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/aalib-config
%{_includedir}/aalib.h
%{_libdir}/*.la
%{_libdir}/libaa.a
%{_libdir}/libaa.la
%{_libdir}/libaa.so
%{_datadir}/aclocal/aalib.m4
%{_infodir}/aalib.*
%{_mandir}/man3/aa_*
%{_mandir}/man3/mem_d.*
%{_mandir}/man3/save_d.*
%changelog
* Tue May 10 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-3mamba
- added patch to suppress aclocal warning with m4 file
* Mon Oct 26 2009 Davide Madrisan <davide.madrisan@gmail.com> 1.4.0-2mamba
- update to version 1.4rc5
* Wed Apr 18 2007 Davide Madrisan <davide.madrisan@gmail.com> 1.4.0-1mamba
- update to version 1.4rc4
* Wed Sep 28 2005 Silvan Calarco <silvan.calarco@qilinux.it> 1.2-2qilnx
- rebuilt
- add cross platform builds support
* Tue Jan 20 2004 Silvan Calarco <silvan.calarco@qilinux.it> 1.2-1qilnx
- first build