aalib-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Summary: An ASCII art library.
  2. Summary(ja): ASCII アートライブラリ
  3. Name: aalib
  4. Version: 1.4
  5. Release: 0.rc5.4%{?_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 --with-ncurses \
  56. --with-gpm-mouse=no
  57. make LIBTOOL=/usr/bin/libtool
  58. %install
  59. rm -rf $RPM_BUILD_ROOT
  60. %makeinstall LIBTOOL=/usr/bin/libtool
  61. rm -f $RPM_BUILD_ROOT/%{_infodir}/dir || :
  62. rm -f $RPM_BUILD_ROOT/%{_libdir}/libaa.{a,la} || :
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %post -p /sbin/ldconfig
  66. %postun -p /sbin/ldconfig
  67. %post devel
  68. if [ -e %{_infodir}/libaa.info.gz ]; then
  69. /sbin/install-info %{_infodir}/libaa.info.gz %{_infodir}/dir
  70. fi
  71. %preun devel
  72. if [ -e %{_infodir}/libaa.info.gz ]; then
  73. /sbin/install-info --delete %{_infodir}/libaa.info.gz %{_infodir}/dir
  74. fi
  75. %files
  76. %defattr(-, root, root)
  77. %doc ANNOUNCE AUTHORS COPYING ChangeLog NEWS
  78. %{_bindir}/aafire
  79. %{_bindir}/aainfo
  80. %{_bindir}/aasavefont
  81. %{_bindir}/aatest
  82. %{_libdir}/*.so.*
  83. %{_mandir}/man1/*
  84. %files devel
  85. %defattr(-, root, root)
  86. %{_bindir}/aalib-config
  87. %{_libdir}/*.so
  88. %{_includedir}/*.h
  89. %{_datadir}/aclocal/*.m4
  90. %{_infodir}/aalib.info*
  91. %{_mandir}/man3/*
  92. %changelog
  93. * Wed May 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0.rc5.4
  94. - remove static library
  95. - build without gpm
  96. - add BuildConflicts: gpm-libs
  97. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0.rc5.3
  98. - spec in utf-8
  99. * Thu Jun 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0.rc5.2
  100. - rebuilt with slang 2.1.3, xorg-x11 7.3
  101. - updated dependancies
  102. * Sun Apr 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4-0.rc5.1
  103. - rebuild with new toolchain.
  104. - apply new versioning policy.
  105. * Mon Jun 18 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4-0.rc5vl3
  106. - rebuild with new toolchain.
  107. - add japanese summary and description.
  108. - delete libtool library (.la) files. <BTS:VineLinux:506>
  109. * Sat Sep 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0.rc5vl2
  110. - add BuildRequires: ncurses-devel
  111. - add Requires: ncurses-devel (devel package)
  112. * Thu Sep 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0.rc5vl1
  113. - new upstream release
  114. - added Patch0,1,2 from Fedora
  115. * Fri Jul 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  116. - fix missing return value (#149361)
  117. * Fri Jul 16 2004 Ville Skytt辰 <ville.skytta at iki.fi>
  118. - Fix underquoted definition in aalib.m4 to appease aclocal >= 1.8.
  119. - Avoid rpath in aalib-config.
  120. * Sat Jan 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-0vl0.rc4
  121. - initial build