bogl-vl.spec 8.2 KB

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