1 Summary: A library for character- and string-glyphs from Adobe Type 1 fonts.
8 Source0: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/%{name}-%{version}.tar.gz
9 URL: http://www.windowmaker.org/
10 Patch0: t1lib-DESTDIR.patch
11 Patch1: t1lib-doc.patch
12 BuildRequires: XFree86-devel
14 BuildRequires: tetex-latex
15 BuildRoot: /tmp/%{name}-%{version}-root
18 t1lib is a library distributed under the GNU General Public Library License
19 for generating character- and string-glyphs from Adobe Type 1 fonts under
20 UNIX. t1lib uses most of the code of the X11 rasterizer donated by IBM to
21 the X11-project. But some disadvantages of the rasterizer being included in
22 X11 have been eliminated. Here are some of the features:
23 - t1lib is completely independent of X11 (although the program provided for
24 testing the library needs X11)
25 - fonts are made known to library by means of a font database file at
27 - searchpaths for all types of input files are configured by means of a
28 configuration file at runtime
29 - characters are rastered as they are needed
30 - characters and complete strings may be rastered by a simple function
32 - when rastering strings, pairwise kerning information from .afm-files
33 may optionally be taken into account
34 - an interface to ligature-information of afm-files is provided
35 - a program to generate afm-files from Type 1 font files is included
36 - rotation is supported at any angles
37 - there's support for extending and slanting fonts
38 - underlining, overlining and overstriking is supported
39 - new encoding vectors may be loaded at runtime and fonts may be
40 reencoded using these encoding vectors
41 - antialiasing is implemented using three gray-levels between black and
43 - An interactive test program called "xglyph" is included in the
44 distribution. This program allows to test all of the features of the
45 library. It requires X11.
48 Summary: Development files for t1lib
49 Summary(pl): Pliki nag³ówkowe i biblioteki dla t1lib
50 Group: Development/Libraries
51 Group(pl): Programowanie/Biblioteki
52 Requires: %{name} = %{version}
55 The files needed for developing applications using t1lib.
57 %description devel -l pl
58 Pliki niezbêdne do tworzenia aplikacji z wykorzystaniem t1lib.
61 Summary: Static libraries for t1lib
62 Summary(pl): Biblioteki statyczne dla t1lib
63 Group: Development/Libraries
64 Group(pl): Programowanie/Biblioteki
65 Requires: %{name}-devel = %{version}
68 Static libraries for t1lib.
70 %description devel -l pl
71 Biblioteki statyczne dla t1lib.
74 %setup -n T1-%{version}
79 CFLAGS=$RPM_OPT_FLAGS \
85 rm -rf $RPM_BUILD_ROOT
86 install -d $RPM_BUILD_ROOT{%{_libdir},%{_datadir},%{_bindir},%{_includedir}}
88 make install DESTDIR=$RPM_BUILD_ROOT
90 cp -fr Fonts/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
92 #CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --with-static-lib
95 gzip -9nf Changes README.%{name}-%{version} doc/*.dvi
101 %defattr(644,root,root,755)
102 %doc {Changes,README.%{name}-%{version},doc/*.dvi}.gz
103 %doc doc/*.{tex,eps,fig}
104 %attr(755,root,root) %{_bindir}/*
105 %attr(755,root,root) %{_libdir}/*.so.*
106 %dir %{_datadir}/%{name}-%{version}
107 %dir %{_datadir}/%{name}-%{version}/enc
108 %dir %{_datadir}/%{name}-%{version}/afm
109 %dir %{_datadir}/%{name}-%{version}/type1
110 %config %{_datadir}/%{name}-%{version}/t1lib.config
111 %{_datadir}/%{name}-%{version}/enc/*
112 %{_datadir}/%{name}-%{version}/afm/*
113 %{_datadir}/%{name}-%{version}/type1/*
121 %defattr(644,root,root,755)