aalib-vl.spec 4.6 KB

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