bogl-vl.spec 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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: 14%{?_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. * Fri Jul 18 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-14
  89. - rebuild with libpng-1.6.12
  90. * Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1.18-13
  91. - rebuilt with gd-2.1.0.
  92. * Thu Sep 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-12
  93. - remove bterm terminfo which is shipped in ncurses>=5.9
  94. * Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-11
  95. - update patches to sync with fedora package
  96. - move bogl font to %%{_datadir}
  97. - drop wlite
  98. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.18-10
  99. - rebuilt with rpm-4.8.1-3
  100. * Sat Apr 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-9
  101. - add font.bdf for anaconda
  102. * Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-8
  103. - update to 0.1.18-1.5
  104. - spec in utf-8, new versioning policy
  105. - remove unused ucs fonts
  106. - remove unneeded font.bdf
  107. * Sat Aug 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.18-7vl1
  108. - initial build for Vine Linux
  109. * Fri Mar 4 2005 Miloslav Trmac <mitr@redhat.com> - 0:0.1.18-7
  110. - Add missing includes in bogl-0.1.18-rh.patch
  111. - Rebuild with gcc 4
  112. * Thu Feb 17 2005 Miloslav Trmac <mitr@redhat.com> - 0:0.1.18-6
  113. - Don't require executable stack
  114. - Fix build with gcc 4
  115. - Use $RPM_OPT_FLAGS
  116. * Tue Nov 23 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.18-5
  117. - don't build against dietlibc anymore on x86
  118. * Wed Oct 20 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.18-4
  119. - rebuild again
  120. * Tue Oct 19 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.18-3
  121. - rebuild against newer diet with fixed signal handling
  122. * Mon Sep 6 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.18-2
  123. - fPIC on ppc too (#130719)
  124. * Mon Jul 05 2004 Akira TAGOH <tagoh@redhat.com> 0:0.1.18-1
  125. - New upstream release.
  126. #113910 has been fixed in this release.
  127. - bogl-0.1.18-rh.patch: updated to be able to apply it for this release.
  128. - bogl-0.1.9-vga16-others.patch: removed. no need this patch anymore.
  129. * Fri Jun 18 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.9-33
  130. - fix build with gcc 3.4
  131. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  132. - rebuilt
  133. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  134. - rebuilt
  135. * Wed Feb 18 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.9-31
  136. - fix build
  137. * Tue Feb 17 2004 Jeremy Katz <katzj@redhat.com> - 0:0.1.9-30
  138. - fix to work with changed 2.6 fbdev semantics
  139. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  140. - rebuilt
  141. * Mon Dec 15 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-28
  142. - add BuildRequires: gd-devel, libpng-devel (#111165)
  143. * Mon Aug 25 2003 Jeremy Katz <katzj@redhat.com> 0:0.1.9-27
  144. - add hack to fix #92240
  145. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  146. - rebuilt
  147. * Fri May 30 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-25
  148. - rebuild
  149. * Fri May 30 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-24
  150. - enable vga16 support on ia64
  151. - removed workaround for AMD64, kernel should be fixed now
  152. * Tue May 06 2003 Phil Knirsch <pknirsch@redhat.com> 0:0.1.9-23
  153. - Bumped release and rebuilt due to new gd version.
  154. * Wed Apr 2 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-22
  155. - add a workaround for AMD64 that calls iopl(3) in order to gain io
  156. port access until ioperm() is fixed (#87835). Workaround for
  157. (#86321)
  158. - gzip font.bgf
  159. * Wed Mar 19 2003 Jeremy Katz <katzj@redhat.com> 0:0.1.9-21
  160. - include vga16fb support on x86_64 (#86321)
  161. * Thu Feb 13 2003 Adrian Havill <havill@redhat.com> 0:0.1.9-20
  162. - Change the font combo to add zh, change ja to k14 (#81717, #82888)
  163. * Tue Feb 11 2003 Jeremy Katz <katzj@redhat.com> 0:0.1.9-19
  164. - actually do the test correctly
  165. - buildrequire dietlibc on i386
  166. * Tue Feb 11 2003 Jeremy Katz <katzj@redhat.com> 0:0.1.9-18
  167. - only fPIC on needed arches, and do it everywhere
  168. * Mon Feb 10 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-17
  169. - always use wlite for bogl/bterm (for now) (#83980)
  170. (this makes bterm useless for any non-UTF-8 locale)
  171. - fixed 'bterm' for the normal usage case
  172. * Mon Feb 3 2003 Matt Wilson <msw@redhat.com> 0:0.1.9-16
  173. - add back the Epoch: to support upgrading from betas
  174. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  175. - rebuilt
  176. * Mon Dec 30 2002 Jeremy Katz <katzj@redhat.com> 0.1.9-14
  177. - build wlite with -fPIC
  178. - fix deps of subpackages
  179. * Sun Dec 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  180. - delete "Epoch: 0" line in spec file
  181. * Mon Dec 16 2002 Adrian Havill <havill@redhat.com> 0.1.9-12
  182. - added bogl.bdf.gz to allow us to reduce-font in loader build
  183. * Mon Dec 16 2002 Adrian Havill <havill@redhat.com> 0.1.9-11
  184. - fixed broken reduce-font to test ENCODING x instead of STARTCHAR x
  185. * Mon Dec 16 2002 Matt Wilson <msw@redhat.com> 0.1.9-10
  186. - made more changes to the rh patch to enable bogl embedding insode loader
  187. * Tue Dec 10 2002 Matt Wilson <msw@redhat.com>
  188. - use all fb drivers on non-i386
  189. - package wlite for use in loader
  190. - use %%{_libdir} to get lib64 right
  191. * Tue Dec 10 2002 Adrian Havill <havill@redhat.com>
  192. - swapped out utf8 code with new and improved wlite
  193. * Tue Nov 26 2002 Adrian Havill <havill@redhat.com>
  194. - re-write font loader so it can load uncompressed or gzipped files
  195. - utf8 lib updated
  196. - fixed bug in bogl_term_new() so struct is inited (s/malloc/calloc/)
  197. - added term bell (screen flash)
  198. - changed background/foreground to pretty pretty blue/white
  199. * Thu Nov 21 2002 Adrian Havill <havill@redhat.com>
  200. - updated utf8 library
  201. - made bogl_term_out reset the state at every call so glibc
  202. and utf8.c behave consistently
  203. - concatenated two Red Hat diff patches
  204. * Wed Nov 20 2002 Adrian Havill <havill@redhat.com>
  205. - changed behavior of bogl_term_out to queue and save UTF broken between two
  206. buffers
  207. - utf8 lib improvements
  208. * Thu Nov 14 2002 root <msw@redhat.com>
  209. - integrate havill's utf8 for diet libs
  210. - build and install font
  211. * Tue Jul 23 2002 Matt Wilson <msw@redhat.com>
  212. - Initial build.