bogl-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. Summary: A terminal program for displaying Unicode on the console.
  2. Summary(ja): コンソール上でユニコードを表示するためのターミナルプログラム
  3. Name: bogl
  4. Epoch: 0
  5. Version: 0.1.18
  6. Release: 12%{?_dist_release}
  7. URL: http://www.msu.edu/user/pfaffben/projects.html
  8. Source0: http://ftp.debian.org/debian/pool/main/b/bogl/bogl_0.1.18-1.5.tar.gz
  9. Source1: 14x14cjk.bdf.gz
  10. Patch0: bogl-0.1.18-1.1.sigchld.patch
  11. Patch1: bogl-0.1.18-1.2.reduce-font.patch
  12. Patch2: bogl-0.1.18-1.2.gzip-fonts.patch
  13. Patch3: bogl-0.1.18-1.2.term.patch
  14. Patch4: bogl-0.1.18-1.5.rh.patch
  15. Patch5: bogl-0.1.9-2.6fbdev.patch
  16. Patch6: bogl-0.1.18-noexecstack.patch
  17. Patch10: bogl-0.1.18-vine.patch
  18. License: GPLv2+
  19. Group: System Environment/Libraries
  20. BuildRoot: %{_tmppath}/%{name}-root
  21. BuildRequires: gd-devel, libpng-devel
  22. %description
  23. BOGL stands for Ben's Own Graphics Library. It is a small graphics
  24. library for Linux kernel frame buffers. It supports only very simple
  25. graphics.
  26. %package devel
  27. Summary: Development files required to build BOGL applications.
  28. Group: Development/Libraries
  29. Requires: bogl = %{epoch}:%{version}-%{release}
  30. %description devel
  31. The bogl-devel package contains the static libraries and header files
  32. for writing BOGL applications.
  33. %package bterm
  34. Summary: A Unicode capable terminal program for the Linux frame buffer.
  35. Group: Applications/System
  36. Requires: bogl = %{epoch}:%{version}-%{release}
  37. Requires: ncurses >= 5.9
  38. %description bterm
  39. The bterm application is a terminal emulator that displays to a Linux
  40. frame buffer. It is able to display Unicode text on the console.
  41. %prep
  42. %setup -q
  43. %patch0 -p1 -b .sigchld
  44. %patch1 -p1 -b .reduce-font
  45. %patch2 -p1 -b .gzip-fonts
  46. %patch3 -p1 -b .term
  47. %patch4 -p1 -b .rh
  48. %patch5 -p1 -b .26fbdev
  49. %patch6 -p1 -b .noexecstack
  50. %patch10 -p1 -b .vine
  51. %build
  52. make CFLAGS="$RPM_OPT_FLAGS"
  53. gunzip -c %{SOURCE1} > font.bdf
  54. ./bdftobogl -b font.bdf > font.bgf
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} install
  58. mkdir -p $RPM_BUILD_ROOT%{_datadir}/bogl/
  59. cp font.bgf $RPM_BUILD_ROOT%{_datadir}/bogl/
  60. cp font.bdf $RPM_BUILD_ROOT%{_datadir}/bogl/
  61. gzip -9 $RPM_BUILD_ROOT%{_datadir}/bogl/font.bgf
  62. gzip -9 $RPM_BUILD_ROOT%{_datadir}/bogl/font.bdf
  63. # remove bterm terminfo which is shipped in ncurses>=5.9
  64. rm $RPM_BUILD_ROOT/%{_datadir}/terminfo/b/bterm
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT
  67. %post -p /sbin/ldconfig
  68. %postun -p /sbin/ldconfig
  69. %files
  70. %defattr(-,root,root)
  71. %doc README
  72. %{_libdir}/*.so.*
  73. %files devel
  74. %defattr(-,root,root)
  75. %{_bindir}/bdftobogl
  76. %{_bindir}/mergebdf
  77. %{_bindir}/pngtobogl
  78. %{_bindir}/reduce-font
  79. %{_libdir}/*.a
  80. %{_libdir}/*.so
  81. %{_includedir}/bogl
  82. %files bterm
  83. %defattr(-,root,root)
  84. %doc README.BOGL-bterm
  85. %{_bindir}/bterm
  86. %{_datadir}/bogl
  87. %changelog
  88. * Thu Sep 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-12
  89. - remove bterm terminfo which is shipped in ncurses>=5.9
  90. * Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-11
  91. - update patches to sync with fedora package
  92. - move bogl font to %%{_datadir}
  93. - drop wlite
  94. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.18-10
  95. - rebuilt with rpm-4.8.1-3
  96. * Sat Apr 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-9
  97. - add font.bdf for anaconda
  98. * Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-8
  99. - update to 0.1.18-1.5
  100. - spec in utf-8, new versioning policy
  101. - remove unused ucs fonts
  102. - remove unneeded font.bdf
  103. * Sat Aug 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-7vl1
  104. - initial build for Vine Linux
  105. * Fri Mar 4 2005 Miloslav Trmac <mitr@redhat.com> - 0:0.1.18-7
  106. - Add missing includes in bogl-0.1.18-rh.patch
  107. - Rebuild with gcc 4
  108. * Thu Feb 17 2005 Miloslav Trmac <mitr@redhat.com> - 0:0.1.18-6
  109. - Don't require executable stack
  110. - Fix build with gcc 4
  111. - Use $RPM_OPT_FLAGS
  112. * Tue Nov 23 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.18-5
  113. - don't build against dietlibc anymore on x86
  114. * Wed Oct 20 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.18-4
  115. - rebuild again
  116. * Tue Oct 19 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.18-3
  117. - rebuild against newer diet with fixed signal handling
  118. * Mon Sep 6 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.18-2
  119. - fPIC on ppc too (#130719)
  120. * Mon Jul 05 2004 Akira TAGOH <tagoh@redhat.com> 0:0.1.18-1
  121. - New upstream release.
  122. #113910 has been fixed in this release.
  123. - bogl-0.1.18-rh.patch: updated to be able to apply it for this release.
  124. - bogl-0.1.9-vga16-others.patch: removed. no need this patch anymore.
  125. * Fri Jun 18 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.9-33
  126. - fix build with gcc 3.4
  127. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  128. - rebuilt
  129. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  130. - rebuilt
  131. * Wed Feb 18 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.9-31
  132. - fix build
  133. * Tue Feb 17 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.9-30
  134. - fix to work with changed 2.6 fbdev semantics
  135. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  136. - rebuilt
  137. * Mon Dec 15 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-28
  138. - add BuildRequires: gd-devel, libpng-devel (#111165)
  139. * Mon Aug 25 2003 Jeremy Katz <katzj@redhat.com> 0:0.1.9-27
  140. - add hack to fix #92240
  141. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  142. - rebuilt
  143. * Fri May 30 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-25
  144. - rebuild
  145. * Fri May 30 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-24
  146. - enable vga16 support on ia64
  147. - removed workaround for AMD64, kernel should be fixed now
  148. * Tue May 06 2003 Phil Knirsch <pknirsch@redhat.com> 0:0.1.9-23
  149. - Bumped release and rebuilt due to new gd version.
  150. * Wed Apr 2 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-22
  151. - add a workaround for AMD64 that calls iopl(3) in order to gain io
  152. port access until ioperm() is fixed (#87835). Workaround for
  153. (#86321)
  154. - gzip font.bgf
  155. * Wed Mar 19 2003 Jeremy Katz <katzj@redhat.com> 0:0.1.9-21
  156. - include vga16fb support on x86_64 (#86321)
  157. * Thu Feb 13 2003 Adrian Havill <havill@redhat.com> 0:0.1.9-20
  158. - Change the font combo to add zh, change ja to k14 (#81717, #82888)
  159. * Tue Feb 11 2003 Jeremy Katz <katzj@redhat.com> 0:0.1.9-19
  160. - actually do the test correctly
  161. - buildrequire dietlibc on i386
  162. * Tue Feb 11 2003 Jeremy Katz <katzj@redhat.com> 0:0.1.9-18
  163. - only fPIC on needed arches, and do it everywhere
  164. * Mon Feb 10 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-17
  165. - always use wlite for bogl/bterm (for now) (#83980)
  166. (this makes bterm useless for any non-UTF-8 locale)
  167. - fixed 'bterm' for the normal usage case
  168. * Mon Feb 3 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-16
  169. - add back the Epoch: to support upgrading from betas
  170. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  171. - rebuilt
  172. * Mon Dec 30 2002 Jeremy Katz <katzj@redhat.com> 0.1.9-14
  173. - build wlite with -fPIC
  174. - fix deps of subpackages
  175. * Sun Dec 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  176. - delete "Epoch: 0" line in spec file
  177. * Mon Dec 16 2002 Adrian Havill <havill@redhat.com> 0.1.9-12
  178. - added bogl.bdf.gz to allow us to reduce-font in loader build
  179. * Mon Dec 16 2002 Adrian Havill <havill@redhat.com> 0.1.9-11
  180. - fixed broken reduce-font to test ENCODING x instead of STARTCHAR x
  181. * Mon Dec 16 2002 Matt Wilson <msw@redhat.com> 0.1.9-10
  182. - made more changes to the rh patch to enable bogl embedding insode loader
  183. * Tue Dec 10 2002 Matt Wilson <msw@redhat.com>
  184. - use all fb drivers on non-i386
  185. - package wlite for use in loader
  186. - use %%{_libdir} to get lib64 right
  187. * Mon Dec 10 2002 Adrian Havill <havill@redhat.com>
  188. - swapped out utf8 code with new and improved wlite
  189. * Tue Nov 26 2002 Adrian Havill <havill@redhat.com>
  190. - re-write font loader so it can load uncompressed or gzipped files
  191. - utf8 lib updated
  192. - fixed bug in bogl_term_new() so struct is inited (s/malloc/calloc/)
  193. - added term bell (screen flash)
  194. - changed background/foreground to pretty pretty blue/white
  195. * Thu Nov 21 2002 Adrian Havill <havill@redhat.com>
  196. - updated utf8 library
  197. - made bogl_term_out reset the state at every call so glibc
  198. and utf8.c behave consistently
  199. - concatenated two Red Hat diff patches
  200. * Wed Nov 20 2002 Adrian Havill <havill@redhat.com>
  201. - changed behavior of bogl_term_out to queue and save UTF broken between two
  202. buffers
  203. - utf8 lib improvements
  204. * Thu Nov 14 2002 root <msw@redhat.com>
  205. - integrate havill's utf8 for diet libs
  206. - build and install font
  207. * Tue Jul 23 2002 Matt Wilson <msw@redhat.com>
  208. - Initial build.