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 Patch0: 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 >= 1.0.0
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 a preview
29 of the font in the main window. It also allows you to display a particular
30 character or string of a font in an own window, this character or string can be
31 antialiased (smoothed). The displayed character or string can be saved in GIF
32 format. You can also print a sample of a font. The program can also print a
33 longer text in the selected font, thus allowing you to get an impresion of how
34 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 podgl±d
39 ka¿dej z nich zarówno w g³ównym oknie programu, jak i w oddzielnych oknach.
40 Posiada mo¿liwo¶æ wyg³adzania czcionek (antialiasing), drukowania przyk³adów
41 kroju w postaci pojedyñczych znaków, linii jak równie¿ wiêkszych partii
42 tekstu, co pozwala na zorientowanie siê, jak wygl±da ca³a strona z
43 wykorzystaniem wybranej czcionki. Program umo¿liwia tak¿e zapisanie znaku
44 lub fragmentu tekstu w formacie GIF.
57 CXXFLAGS="$RPM_OPT_FLAGS -I/usr/include/freetype -fno-rtti -fno-exceptions -fno-implicit-templates"
58 export LDFLAGS CXXFLAGS
61 --with-fontdir=/usr/share/fonts/Type1
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_datadir}/misc,%{_applnkdir}/Utilities}
68 make install DESTDIR=$RPM_BUILD_ROOT
70 install .gfontviewrc $RPM_BUILD_ROOT%{_datadir}/misc/gfontviewrc
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
73 gzip -9nf README ChangeLog AUTHORS NEWS TODO
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc {README,ChangeLog,AUTHORS,NEWS,TODO}.gz
81 %attr(755,root,root) %{_bindir}/gfontview
83 %config(noreplace) %verify(not size mtime md5) %{_datadir}/misc/gfontviewrc
84 %{_applnkdir}/Utilities/gfontview.desktop