1 Summary: A font viewer for Type 1 and TrueType fonts
2 Summary(pl): Przegl±darka czcionek Type 1 i TrueType
8 Group(pl): X11/Narzêdzia
9 Source0: http://www.geocities.com/SiliconValley/Foothills/1458/%{name}-0_3_1.tgz
10 Source1: gfontview.desktop
11 Patch: gfontview-config.patch
13 URL: http://www.geocities.com/SiliconValley/Foothills/1458/index.html
14 BuildRequires: XFree86-devel
15 BuildRequires: xpm-devel
16 BuildRequires: gtk+-devel >= 1.2.0
17 BuildRequires: glib-devel >= 1.2.0
18 BuildRequires: t1lib-devel
19 BuildRequires: freetype-devel
20 BuildRequires: libungif-devel
21 BuildRequires: libstdc++-devel
22 BuildRoot: /tmp/%{name}-%{version}-root
24 %define _prefix /usr/X11R6
25 %define _applnkdir %{_datadir}/applnk
28 gfontview is a Font Viewer for outline fonts (PostScript Type 1 and TrueType).
29 It displays all fonts present in the chosen directory in a list, with
30 a preview of the font in the main window. It also allows you to display
31 a particular character or string of a font in an own window, this character
32 or string can be antialiased (smoothed). The displayed character or string
33 can be saved in GIF format. You can also print a sample of a font.
34 The program can also print a longer text in the selected font, thus allowing
35 you to get an impresion of how a text page looks like in the selected font.
39 gfontview jest przegl±dark± czcionek (PostScrpit Type 1 i TrueType).
40 Wy¶wietla listê wszystkich czcionek z wybranego katalogu i umo¿liwia
41 podgl±d ka¿dej z nich zarówno w g³ównym oknie programu, jak i w oddzielnych
42 oknach. Posiada mo¿liwo¶æ wyg³adzania czcionek (antialiasing), drukowania
43 przyk³adów kroju w postaci pojedyñczych znaków, linii jak równie¿ wiêkszych
44 partii tekstu, co pozwala na zorientowanie siê, jak wygl±da ca³a strona
45 z wykorzystaniem wybranej czcionki. Program umo¿liwia tak¿e zapisanie
46 znaku lub fragmentu tekstu w formacie GIF.
53 CXXFLAGS="$RPM_OPT_FLAGS"; LDFLAGS="-s"
54 export LDFLAGS CXXFLAGS
57 --with-fontdir=/usr/share/fonts/Type1
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_datadir}/misc,%{_applnkdir}/Utilities}
64 make install DESTDIR=$RPM_BUILD_ROOT
66 install .gfontviewrc $RPM_BUILD_ROOT%{_datadir}/misc/gfontviewrc
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
69 gzip -9nf README ChangeLog AUTHORS NEWS TODO
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc {README,ChangeLog,AUTHORS,NEWS,TODO}.gz
77 %attr(755,root,root) %{_bindir}/gfontview
79 %config(noreplace) %verify(not size mtime md5) %{_datadir}/misc/gfontviewrc
80 %{_applnkdir}/Utilities/gfontview.desktop