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

Revision 4844, 8.1 KB checked in by daisuke, 13 years ago (diff)

remove bterm terminfo

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