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_2.tgz
10 Source1: gfontview.desktop
11 Patch: gfontview-autoconf.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.6
17 BuildRequires: glib-devel >= 1.2.6
18 BuildRequires: t1lib-devel
19 BuildRequires: freetype-devel
20 BuildRequires: libungif-devel
21 BuildRequires: libstdc++-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _prefix /usr/X11R6
27 gfontview is a Font Viewer for outline fonts (PostScript Type 1 and TrueType).
28 It displays all fonts present in the chosen directory in a list, with
29 a preview of the font in the main window. It also allows you to display
30 a particular character or string of a font in an own window, this character
31 or string can be antialiased (smoothed). The displayed character or string
32 can be saved in GIF format. You can also print a sample of a font.
33 The program can also print a longer text in the selected font, thus allowing
34 you to get an impresion of how a text page looks like in the selected font.
37 gfontview jest przegl±dark± czcionek (PostScrpit Type 1 i TrueType).
38 Wy¶wietla listê wszystkich czcionek z wybranego katalogu i umo¿liwia
39 podgl±d ka¿dej z nich zarówno w g³ównym oknie programu, jak i w oddzielnych
40 oknach. Posiada mo¿liwo¶æ wyg³adzania czcionek (antialiasing), drukowania
41 przyk³adów kroju w postaci pojedyñczych znaków, linii jak równie¿ wiêkszych
42 partii tekstu, co pozwala na zorientowanie siê, jak wygl±da ca³a strona
43 z wykorzystaniem wybranej czcionki. Program umo¿liwia tak¿e zapisanie
44 znaku lub fragmentu tekstu w formacie GIF.
56 CXXFLAGS="$RPM_OPT_FLAGS -I/usr/include/freetype -fno-rtti -fno-exceptions -fno-implicit-templates"
57 export LDFLAGS CXXFLAGS
60 --with-fontdir=/usr/share/fonts/Type1
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT{%{_datadir}/misc,%{_applnkdir}/Utilities}
67 make install DESTDIR=$RPM_BUILD_ROOT
69 install .gfontviewrc $RPM_BUILD_ROOT%{_datadir}/misc/gfontviewrc
70 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
72 gzip -9nf README ChangeLog AUTHORS NEWS TODO
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
79 %doc {README,ChangeLog,AUTHORS,NEWS,TODO}.gz
80 %attr(755,root,root) %{_bindir}/gfontview
82 %config(noreplace) %verify(not size mtime md5) %{_datadir}/misc/gfontviewrc
83 %{_applnkdir}/Utilities/gfontview.desktop