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