source: projects/specs/trunk/b/bogl/bogl-vl.spec @ 7856

Revision 7856, 8.2 KB checked in by tomop, 11 years ago (diff)

gd-2.1.0-1 and dependencies.

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