]> git.pld-linux.org Git - packages/gfontview.git/blob - gfontview.spec
- /etc/X11/applnk -> /usr/X11R6/share/applnk
[packages/gfontview.git] / gfontview.spec
1 Summary:        A font viewer for Type 1 and TrueType fonts
2 Summary(pl):    Przegl±darka czcionek Type 1 i TrueType
3 Name:           gfontview
4 Version:        0.3.0
5 Release:        1
6 Copyright:      GPL
7 Group:          X11/Utilities
8 Group(pl):      X11/Narzêdzia
9 Source0:        http://www.geocities.com/SiliconValley/Foothills/1458/%{name}-0_3_0.tgz
10 Source1:        gfontview.desktop
11 Icon:           gfontview.xpm
12 Patch:          gfontview-fproto.patch
13 URL:            http://www.geocities.com/SiliconValley/Foothills/1458/
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
23
24 %define _prefix /usr/X11R6
25
26 %description
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.
35
36
37 %description -l pl
38 gfontview jest przegl±dark± czcionek (PostScrpit Type 1 i TrueType).
39 Wy¶wietla listê wszystkich czcionek z wybranego katalogu i umo¿liwia
40 podgl±d ka¿dej z nich zarówno w g³ównym oknie programu, jak i w oddzielnych
41 oknach. Posiada mo¿liwo¶æ wyg³adzania czcionek (antialiasing), drukowania
42 przyk³adów kroju w postaci pojedyñczych znaków, linii jak równie¿ wiêkszych
43 partii tekstu, co pozwala na zorientowanie siê, jak wygl±da ca³a strona 
44 z wykorzystaniem wybranej czcionki. Program umo¿liwia tak¿e zapisanie
45 znaku lub fragmentu tekstu w formacie GIF.
46
47 %prep
48 %setup -q
49 %patch -p0
50
51 %build
52 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
53 ./configure %{_target_platform} \
54         --prefix=%{_prefix} \
55         --with-libungif
56 make
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities
61
62 make install-strip DESTDIR=$RPM_BUILD_ROOT
63 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities
64
65 gzip -9nf README ChangeLog AUTHORS NEWS TODO
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc {README,ChangeLog,AUTHORS,NEWS,TODO}.gz
73 %attr(755,root,root) %{_bindir}/gfontview
74
75 /usr/X11R6/share/applnk/Utilities/gfontview.desktop
This page took 0.059917 seconds and 3 git commands to generate.