From cc36d1023d89c78caf064e117d5db58155fd60d5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:43:51 +0100 Subject: [PATCH] added patch to suppress aclocal warning with m4 file [release 1.4.0-3mamba;Tue May 10 2011] --- README.md | 3 ++ libaa-1.4.0-m4.patch | 11 +++++ libaa.spec | 97 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+) create mode 100644 libaa-1.4.0-m4.patch create mode 100644 libaa.spec diff --git a/README.md b/README.md index 7c0fbbc..b12ac4f 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/libaa-1.4.0-m4.patch b/libaa-1.4.0-m4.patch new file mode 100644 index 0000000..3f1919a --- /dev/null +++ b/libaa-1.4.0-m4.patch @@ -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 diff --git a/libaa.spec b/libaa.spec new file mode 100644 index 0000000..1b72123 --- /dev/null +++ b/libaa.spec @@ -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 +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 1.4.0-3mamba +- added patch to suppress aclocal warning with m4 file + +* Mon Oct 26 2009 Davide Madrisan 1.4.0-2mamba +- update to version 1.4rc5 + +* Wed Apr 18 2007 Davide Madrisan 1.4.0-1mamba +- update to version 1.4rc4 + +* Wed Sep 28 2005 Silvan Calarco 1.2-2qilnx +- rebuilt +- add cross platform builds support + +* Tue Jan 20 2004 Silvan Calarco 1.2-1qilnx +- first build