aalib-vl.spec 4.5 KB

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