eae9933
%global         rc_subver     rc5
eae9933
eae9933
Summary:        ASCII art library
eae9933
Name:           aalib
eae9933
Version:        1.4.0
eae9933
Release:        0.37.%{rc_subver}%{?dist}
eae9933
License:        LGPLv2+
eae9933
URL:            http://aa-project.sourceforge.net/aalib/
eae9933
Source0:        http://download.sourceforge.net/aa-project/%{name}-1.4%{rc_subver}.tar.gz
eae9933
Patch0:         aalib-aclocal.patch
eae9933
Patch1:         aalib-config-rpath.patch
eae9933
Patch2:         aalib-1.4rc5-bug149361.patch
eae9933
Patch3:         aalib-1.4rc5-rpath.patch
eae9933
Patch4:		aalib-1.4rc5-x_libs.patch
eae9933
Patch5:		aalib-1.4rc5-libflag.patch
eae9933
BuildRequires:  slang-devel libXt-devel gpm-devel ncurses-devel
eae9933
BuildRequires:	autoconf libtool
eae9933
eae9933
%description
eae9933
AA-lib is a low level gfx library just as many other libraries are. The
eae9933
main difference is that AA-lib does not require graphics device. In
eae9933
fact, there is no graphical output possible. AA-lib replaces those
eae9933
old-fashioned output methods with a powerful ASCII art renderer. The API
eae9933
is designed to be similar to other graphics libraries.
eae9933
eae9933
%package libs
eae9933
Summary:        Library files for aalib
eae9933
%description libs
eae9933
This package contains library files for aalib.
eae9933
eae9933
%package devel
eae9933
Summary:        Development files for aalib
eae9933
Requires:       %{name}-libs = %{version}-%{release}
eae9933
eae9933
%description devel
eae9933
This package contains header files and other files needed to develop
eae9933
with aalib.
eae9933
eae9933
eae9933
%prep
eae9933
%setup -q
eae9933
%patch0 -p0
eae9933
%patch1 -p0
eae9933
%patch2 -p1 -b .bug149361
eae9933
%patch3 -p1 -b .rpath
eae9933
%patch4 -p1 -b .x_libs
eae9933
%patch5 -p0 -b .libflag
eae9933
# included libtool is too old, we need to rebuild
eae9933
autoreconf -v -f -i
eae9933
eae9933
%build
eae9933
%configure --disable-static  --with-curses-driver=yes --with-ncurses
eae9933
eae9933
make %{?_smp_mflags}
eae9933
eae9933
eae9933
%install
eae9933
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
eae9933
rm -f $RPM_BUILD_ROOT{%{_libdir}/libaa.la,%{_infodir}/dir}
eae9933
eae9933
# clean up multilib conflicts
eae9933
touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/aclocal/aalib.m4
eae9933
eae9933
%ldconfig_scriptlets libs
eae9933
eae9933
%files
eae9933
%{_bindir}/aafire
eae9933
%{_bindir}/aainfo
eae9933
%{_bindir}/aasavefont
eae9933
%{_bindir}/aatest
eae9933
%{_mandir}/man1/aafire.1*
eae9933
eae9933
%files libs
eae9933
%doc README ChangeLog NEWS
eae9933
%license COPYING
eae9933
%{_libdir}/libaa.so.*
eae9933
eae9933
%files devel
eae9933
%{_bindir}/aalib-config
eae9933
%{_mandir}/man3/*
eae9933
%{_libdir}/libaa.so
eae9933
%{_includedir}/aalib.h
eae9933
%{_infodir}/aalib.info*
eae9933
%{_datadir}/aclocal/aalib.m4
eae9933
eae9933
%changelog
eae9933
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.37.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
eae9933
eae9933
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.36.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
eae9933
eae9933
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.35.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
eae9933
eae9933
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.34.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
eae9933
eae9933
* Sun Feb 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.0-0.33.rc5
eae9933
- Switch to %%ldconfig_scriptlets
eae9933
eae9933
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.32.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
eae9933
eae9933
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.31.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
eae9933
eae9933
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.30.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
eae9933
eae9933
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-0.29.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
eae9933
eae9933
* Tue Jan 19 2016 Tom Callaway <spot@fedoraproject.org> - 1.4.0-0.28.rc5
eae9933
- spec cleanups
eae9933
eae9933
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.27.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
eae9933
eae9933
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.26.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
eae9933
eae9933
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.25.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
eae9933
eae9933
* Wed Aug 28 2013 Tom Callaway <spot@fedoraproject.org> - 1.4.0-0.24.rc5
eae9933
- rebuild to drop ancient obsoletes
eae9933
eae9933
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.23.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
eae9933
eae9933
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.22.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eae9933
eae9933
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.21.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eae9933
eae9933
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.20.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
eae9933
eae9933
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.19.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eae9933
eae9933
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.18.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
eae9933
eae9933
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.17.rc5
eae9933
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
eae9933
eae9933
* Fri Jul 18 2008 Caolán McNamara <caolanm@redhat.com> 1.4.0-0.16.rc5
eae9933
- rebuild for new libgpm
eae9933
eae9933
* Mon Mar 24 2008 Garrick Staples <garrick@usc.edu> 1.4.0-0.15.rc5
eae9933
- remove unnecessary link bloat from aalib-config
eae9933
- libs package doesn't need to require base package
eae9933
- move docs to libs package
eae9933
eae9933
* Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 1.4.0-0.14.rc5
eae9933
- fix multilib conflicts by splitting out libs package and fix
eae9933
  timestamps and aalib-config
eae9933
eae9933
* Wed Aug 15 2007 Garrick Staples <garrick@usc.edu> 1.4.0-0.13.rc5
eae9933
- correct License: tag
eae9933
eae9933
* Fri May  4 2007 Bill Nottingham <notting@redhat.com> 1.4.0-0.12.rc5
eae9933
- remove some dainbramage in ltconfig so it builds shared libs on ppc64
eae9933
eae9933
* Thu Oct 19 2006 Garrick Staples <garrick@usc.edu> 1.4.0-0.11.rc5
eae9933
- incorrect subversion in previous two changelog entries
eae9933
eae9933
* Thu Oct 19 2006 Garrick Staples <garrick@usc.edu> 1.4.0-0.10.rc6
eae9933
- Rebuild with ncurses support
eae9933
eae9933
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-0.8.rc6
eae9933
- FE6 Rebuild
eae9933
eae9933
* Sun Jul 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4.0-0.8.rc5
eae9933
- Taking over as maintainer since Anvil has other priorities
eae9933
- Long long due rebuild with new gcc for FC-5 (bug 185870)
eae9933
- Add %%{?dist} tag
eae9933
- Make release field comply with the Package Naming guidelines for
eae9933
  pre releases. Luckily according to rpm 8 > rc5 so this can be done.
eae9933
- Fix some rpmlint warnings
eae9933
- Fix (remove) use of rpath
eae9933
eae9933
* Mon Nov 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.4.0-0.rc5.7
eae9933
- Fix modular X dependencies.
eae9933
- Rebuild against new slang.
eae9933
- Disable static lib, not shipping it anyway.
eae9933
- Prune unneeded libs from aalib-config (and corresponding deps from -devel).
eae9933
- Don't use %%exclude.
eae9933
eae9933
* Mon Nov 21 2005 Warren Togami <wtogami@redhat.com> - 1.4.0-0.rc5.6
eae9933
- remove .a
eae9933
- XFree86-devel -> libX11-devel
eae9933
eae9933
* Fri Jul  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.4.0-0.rc5.5
eae9933
- fix missing return value (#149361)
eae9933
eae9933
* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.4.0-0.rc5.4
eae9933
- rebuilt
eae9933
eae9933
* Thu Dec 16 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 1.4.0-0.rc5.3
eae9933
- If Epoch is dropped, %%epoch must not be used anywhere else.
eae9933
eae9933
* Wed Nov 10 2004 Matthias Saou <http://freshrpms.net/> 1.4.0-0.rc5.2
eae9933
- Bump release for compatibility (still, it'll break *sigh*).
eae9933
- Fix possible non zero exit status from %%install.
eae9933
- Fix owning the entire man3/ directory.
eae9933
- Pending possible changes : --with-ncurses & ncurses-devel build dep.
eae9933
eae9933
* Fri Jul 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.4.0-0.fdr.0.9.rc5
eae9933
- Fix underquoted definition in aalib.m4 to appease aclocal >= 1.8.
eae9933
- Avoid rpath in aalib-config.
eae9933
- Split Requires for post and postun into two to work around a rpm bug.
eae9933
- Other minor specfile improvements.
eae9933
eae9933
* Thu Aug 21 2003 Dams <anvil[AT]livna.org> 0:1.4.0-0.fdr.0.8.rc5
eae9933
- devel package now requires info
eae9933
- Rewrote scriplets
eae9933
- buildroot -> RPM_BUILD_ROOT
eae9933
- Moved info files into devel package
eae9933
eae9933
* Tue Aug  5 2003 Dams <anvil[AT]livna.org> 0:1.4.0-0.fdr.0.7.rc5
eae9933
- Removed '-p /sbin/ldconfig' in post scriptlet
eae9933
eae9933
* Thu Apr 10 2003 Dams <anvil[AT]livna.org> 0:1.4.0-0.fdr.0.6.rc5
eae9933
- Added missing gpm-devel *Requires
eae9933
eae9933
* Mon Apr  7 2003 Dams <anvil[AT]livna.org> 0:1.4.0-0.fdr.0.5.rc5
eae9933
- Moved configure from prep to build section.
eae9933
- Modified post* and pre* scriplets
eae9933
eae9933
* Thu Apr  3 2003 Dams <anvil[AT]livna.org> 0:1.4.0-0.fdr.0.4.rc5
eae9933
- Fix things between exclude, rm -f, lib*.la, and infodir/dir things
eae9933
- Added URL in Source0.
eae9933
eae9933
* Thu Apr  3 2003 Dams <anvil[AT]livna.org> 0:1.4.0-0.fdr.0.3.rc5
eae9933
- Modified devel Requires:
eae9933
- Removed gcc as requirement
eae9933
eae9933
* Wed Apr  2 2003 Dams <anvil[AT]livna.org> 0:1.4.0-0.fdr.0.2.rc5
eae9933
- Applied spec modifications from Adrian Reber
eae9933
eae9933
* Tue Apr  1 2003 Dams <anvil[AT]livna.org>
eae9933
- Initial build.