source: projects/specs/branches/6/b/bogl/bogl-vl.spec @ 4046

Revision 4046, 7.9 KB checked in by daisuke, 13 years ago (diff)

bogl:

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