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