bogl-vl.spec 8.4 KB

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