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

Revision 8846, 8.3 KB checked in by Takemikaduchi, 10 years ago (diff)

jack-audio-connection-kit, libfontenv, m17n-{db,lib}: new upstream release
others: rebuild

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