| 1 | Summary: An ASCII art library. |
|---|
| 2 | Summary(ja): ASCII アートライブラリ |
|---|
| 3 | Name: aalib |
|---|
| 4 | Version: 1.4 |
|---|
| 5 | Release: 0.rc5.5%{?_dist_release} |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | License: LGPL |
|---|
| 8 | URL: http://aa-project.sourceforge.net/aalib/ |
|---|
| 9 | Source: http://prdownloads.sourceforge.net/aa-project/%{name}-%{version}rc5.tar.gz |
|---|
| 10 | Patch0: %{name}-aclocal.patch |
|---|
| 11 | Patch1: %{name}-config-rpath.patch |
|---|
| 12 | Patch2: aalib-1.4rc5-bug149361.patch |
|---|
| 13 | Patch10: aalib-1.4.0-without-gpm.patch |
|---|
| 14 | |
|---|
| 15 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 16 | BuildRequires: slang-devel |
|---|
| 17 | BuildRequires: libX11-devel |
|---|
| 18 | BuildRequires: ncurses-devel |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | AA-lib is a low level gfx library just as many other libraries are. The |
|---|
| 22 | main difference is that AA-lib does not require graphics device. In |
|---|
| 23 | fact, there is no graphical output possible. AA-lib replaces those |
|---|
| 24 | old-fashioned output methods with a powerful ASCII art renderer. The API |
|---|
| 25 | is designed to be similar to other graphics libraries. |
|---|
| 26 | |
|---|
| 27 | %description -l ja |
|---|
| 28 | AA-lib は他のライブラリと同様な低レベルのグラフィックスライブラリです。 |
|---|
| 29 | AA-lib の一番の特徴はグラフィックデバイスを必要としない点です。実際の所、 |
|---|
| 30 | グラフィカルな出力先が無くても動作します。AA-lib はこれらの昔ながらの |
|---|
| 31 | 出力方法をパワフルな ACSCII アートレンダラで置き換えます。この API は |
|---|
| 32 | その他のグラフィックライブラリと同じようにデザインされています。 |
|---|
| 33 | |
|---|
| 34 | %package devel |
|---|
| 35 | Summary: aalib development files |
|---|
| 36 | Summary(ja): aalib の開発用ファイル |
|---|
| 37 | Group: Development/Libraries |
|---|
| 38 | Requires: %{name} = %{version} |
|---|
| 39 | Requires: libX11-devel |
|---|
| 40 | Requires: slang-devel |
|---|
| 41 | Requires: ncurses-devel |
|---|
| 42 | Requires(post): /sbin/install-info |
|---|
| 43 | Requires(preun): /sbin/install-info |
|---|
| 44 | |
|---|
| 45 | %description devel |
|---|
| 46 | This package contains header files and other files needed to develop |
|---|
| 47 | with aalib. |
|---|
| 48 | |
|---|
| 49 | %description devel -l ja |
|---|
| 50 | このパッケージには aalib を使用して開発するために必要なヘッダファイルや |
|---|
| 51 | その他のファイルが含まれています。 |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | %prep |
|---|
| 55 | %setup -q -n %{name}-1.4.0 |
|---|
| 56 | |
|---|
| 57 | %patch0 -p0 |
|---|
| 58 | %patch1 -p0 |
|---|
| 59 | %patch2 -p1 -b .bug149361 |
|---|
| 60 | %patch10 -p1 -b .without-gpm |
|---|
| 61 | |
|---|
| 62 | %build |
|---|
| 63 | autoreconf -fi |
|---|
| 64 | %configure --with-x \ |
|---|
| 65 | --with-curses-driver=yes \ |
|---|
| 66 | --with-ncurses \ |
|---|
| 67 | --with-gpm-mouse=no |
|---|
| 68 | make LIBTOOL=/usr/bin/libtool |
|---|
| 69 | |
|---|
| 70 | %install |
|---|
| 71 | rm -rf $RPM_BUILD_ROOT |
|---|
| 72 | %makeinstall LIBTOOL=/usr/bin/libtool |
|---|
| 73 | rm -f $RPM_BUILD_ROOT/%{_infodir}/dir || : |
|---|
| 74 | rm -f $RPM_BUILD_ROOT/%{_libdir}/libaa.{a,la} || : |
|---|
| 75 | |
|---|
| 76 | %clean |
|---|
| 77 | rm -rf $RPM_BUILD_ROOT |
|---|
| 78 | |
|---|
| 79 | %post -p /sbin/ldconfig |
|---|
| 80 | |
|---|
| 81 | %postun -p /sbin/ldconfig |
|---|
| 82 | |
|---|
| 83 | %post devel |
|---|
| 84 | if [ -e %{_infodir}/libaa.info.gz ]; then |
|---|
| 85 | /sbin/install-info %{_infodir}/libaa.info.gz %{_infodir}/dir |
|---|
| 86 | fi |
|---|
| 87 | |
|---|
| 88 | %preun devel |
|---|
| 89 | if [ -e %{_infodir}/libaa.info.gz ]; then |
|---|
| 90 | /sbin/install-info --delete %{_infodir}/libaa.info.gz %{_infodir}/dir |
|---|
| 91 | fi |
|---|
| 92 | |
|---|
| 93 | %files |
|---|
| 94 | %defattr(-, root, root) |
|---|
| 95 | %doc ANNOUNCE AUTHORS COPYING ChangeLog NEWS |
|---|
| 96 | %{_bindir}/aafire |
|---|
| 97 | %{_bindir}/aainfo |
|---|
| 98 | %{_bindir}/aasavefont |
|---|
| 99 | %{_bindir}/aatest |
|---|
| 100 | %{_libdir}/*.so.* |
|---|
| 101 | %{_mandir}/man1/* |
|---|
| 102 | |
|---|
| 103 | %files devel |
|---|
| 104 | %defattr(-, root, root) |
|---|
| 105 | %{_bindir}/aalib-config |
|---|
| 106 | %{_libdir}/*.so |
|---|
| 107 | %{_includedir}/*.h |
|---|
| 108 | %{_datadir}/aclocal/*.m4 |
|---|
| 109 | %{_infodir}/aalib.info* |
|---|
| 110 | %{_mandir}/man3/* |
|---|
| 111 | |
|---|
| 112 | %changelog |
|---|
| 113 | * Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0.rc5.5 |
|---|
| 114 | - rebuilt with new toolchains |
|---|
| 115 | |
|---|
| 116 | * Wed May 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0.rc5.4 |
|---|
| 117 | - remove static library |
|---|
| 118 | - build without gpm |
|---|
| 119 | - add BuildConflicts: gpm-libs |
|---|
| 120 | |
|---|
| 121 | * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0.rc5.3 |
|---|
| 122 | - spec in utf-8 |
|---|
| 123 | |
|---|
| 124 | * Thu Jun 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0.rc5.2 |
|---|
| 125 | - rebuilt with slang 2.1.3, xorg-x11 7.3 |
|---|
| 126 | - updated dependancies |
|---|
| 127 | |
|---|
| 128 | * Sun Apr 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4-0.rc5.1 |
|---|
| 129 | - rebuild with new toolchain. |
|---|
| 130 | - apply new versioning policy. |
|---|
| 131 | |
|---|
| 132 | * Mon Jun 18 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4-0.rc5vl3 |
|---|
| 133 | - rebuild with new toolchain. |
|---|
| 134 | - add japanese summary and description. |
|---|
| 135 | - delete libtool library (.la) files. <BTS:VineLinux:506> |
|---|
| 136 | |
|---|
| 137 | * Sat Sep 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0.rc5vl2 |
|---|
| 138 | - add BuildRequires: ncurses-devel |
|---|
| 139 | - add Requires: ncurses-devel (devel package) |
|---|
| 140 | |
|---|
| 141 | * Thu Sep 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0.rc5vl1 |
|---|
| 142 | - new upstream release |
|---|
| 143 | - added Patch0,1,2 from Fedora |
|---|
| 144 | * Fri Jul 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
|---|
| 145 | - fix missing return value (#149361) |
|---|
| 146 | * Fri Jul 16 2004 Ville Skytt辰 <ville.skytta at iki.fi> |
|---|
| 147 | - Fix underquoted definition in aalib.m4 to appease aclocal >= 1.8. |
|---|
| 148 | - Avoid rpath in aalib-config. |
|---|
| 149 | |
|---|
| 150 | * Sat Jan 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0vl0.rc4 |
|---|
| 151 | - initial build |
|---|
| 152 | |
|---|