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