|
|
@ -3,7 +3,7 @@
|
|
|
|
Summary: ASCII art library
|
|
|
|
Summary: ASCII art library
|
|
|
|
Name: aalib
|
|
|
|
Name: aalib
|
|
|
|
Version: 1.4.0
|
|
|
|
Version: 1.4.0
|
|
|
|
Release: 0.13.%{rc_subver}%{?dist}
|
|
|
|
Release: 0.14.%{rc_subver}%{?dist}
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://aa-project.sourceforge.net/aalib/
|
|
|
|
URL: http://aa-project.sourceforge.net/aalib/
|
|
|
@ -12,9 +12,10 @@ Patch0: aalib-aclocal.patch
|
|
|
|
Patch1: aalib-config-rpath.patch
|
|
|
|
Patch1: aalib-config-rpath.patch
|
|
|
|
Patch2: aalib-1.4rc5-bug149361.patch
|
|
|
|
Patch2: aalib-1.4rc5-bug149361.patch
|
|
|
|
Patch3: aalib-1.4rc5-rpath.patch
|
|
|
|
Patch3: aalib-1.4rc5-rpath.patch
|
|
|
|
Patch4: aalib-ppc.patch
|
|
|
|
Patch4: aalib-1.4rc5-x_libs.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel
|
|
|
|
BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel
|
|
|
|
|
|
|
|
BuildRequires: autoconf libtool
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
AA-lib is a low level gfx library just as many other libraries are. The
|
|
|
|
AA-lib is a low level gfx library just as many other libraries are. The
|
|
|
@ -23,6 +24,13 @@ fact, there is no graphical output possible. AA-lib replaces those
|
|
|
|
old-fashioned output methods with a powerful ASCII art renderer. The API
|
|
|
|
old-fashioned output methods with a powerful ASCII art renderer. The API
|
|
|
|
is designed to be similar to other graphics libraries.
|
|
|
|
is designed to be similar to other graphics libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
|
|
|
Summary: Library files for aalib
|
|
|
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Obsoletes: aalib < 1.4.0-0.14
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
|
|
|
|
This package contains library files for aalib.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for aalib
|
|
|
|
Summary: Development files for aalib
|
|
|
@ -42,36 +50,32 @@ with aalib.
|
|
|
|
%patch1 -p0
|
|
|
|
%patch1 -p0
|
|
|
|
%patch2 -p1 -b .bug149361
|
|
|
|
%patch2 -p1 -b .bug149361
|
|
|
|
%patch3 -p1 -b .rpath
|
|
|
|
%patch3 -p1 -b .rpath
|
|
|
|
%patch4 -p1 -b .ppc
|
|
|
|
%patch4 -p1 -b .x_libs
|
|
|
|
sed -i -e 's/^\(.*SHARED.*\)@AALIB_LIBS@/\1 -laa/' aalib-config.in
|
|
|
|
# included libtool is too old, we need to rebuild
|
|
|
|
# sigh stop autoxxx from rerunning because of our patches above.
|
|
|
|
autoreconf -v -f -i
|
|
|
|
touch aclocal.m4
|
|
|
|
|
|
|
|
touch configure
|
|
|
|
|
|
|
|
touch src/stamp-h.in
|
|
|
|
|
|
|
|
touch src/config.h.in
|
|
|
|
|
|
|
|
touch `find -name Makefile.in`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --disable-static --with-curses-driver=yes --with-ncurses
|
|
|
|
%configure --disable-static --with-curses-driver=yes --with-ncurses
|
|
|
|
# Don't use rpath!
|
|
|
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
|
|
|
rm -f $RPM_BUILD_ROOT{%{_libdir}/libaa.la,%{_infodir}/dir}
|
|
|
|
rm -f $RPM_BUILD_ROOT{%{_libdir}/libaa.la,%{_infodir}/dir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# clean up multilib conflicts
|
|
|
|
|
|
|
|
touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/aclocal/aalib.m4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
%post devel
|
|
|
|
/sbin/install-info %{_infodir}/libaa.info %{_infodir}/dir 2>/dev/null || :
|
|
|
|
/sbin/install-info %{_infodir}/libaa.info %{_infodir}/dir 2>/dev/null || :
|
|
|
@ -90,9 +94,12 @@ fi
|
|
|
|
%{_bindir}/aainfo
|
|
|
|
%{_bindir}/aainfo
|
|
|
|
%{_bindir}/aasavefont
|
|
|
|
%{_bindir}/aasavefont
|
|
|
|
%{_bindir}/aatest
|
|
|
|
%{_bindir}/aatest
|
|
|
|
%{_libdir}/libaa.so.*
|
|
|
|
|
|
|
|
%{_mandir}/man1/aafire.1*
|
|
|
|
%{_mandir}/man1/aafire.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_libdir}/libaa.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/aalib-config
|
|
|
|
%{_bindir}/aalib-config
|
|
|
@ -103,6 +110,10 @@ fi
|
|
|
|
%{_datadir}/aclocal/aalib.m4
|
|
|
|
%{_datadir}/aclocal/aalib.m4
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 1.4.0-0.14.rc5
|
|
|
|
|
|
|
|
- fix multilib conflicts by splitting out libs package and fix
|
|
|
|
|
|
|
|
timestamps and aalib-config
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 15 2007 Garrick Staples <garrick@usc.edu> 1.4.0-0.13.rc5
|
|
|
|
* Wed Aug 15 2007 Garrick Staples <garrick@usc.edu> 1.4.0-0.13.rc5
|
|
|
|
- correct License: tag
|
|
|
|
- correct License: tag
|
|
|
|
|
|
|
|
|
|
|
|