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

Revision 9937, 8.4 KB checked in by daisuke, 8 years ago (diff)

add execute bit to libbterm.so.1

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