]> git.pld-linux.org Git - packages/t1lib.git/blob - t1lib.spec
- s-/usr/share-%{_datadir}-
[packages/t1lib.git] / t1lib.spec
1 Summary:        A library for character- and string-glyphs from Adobe Type 1 fonts.
2 Name:           t1lib
3 Version:        0.9
4 Release:        1
5 Group:          Libraries
6 Copyright:      GPL
7 Vendor:         «unknown»
8 Source0:        ftp://sunsite.unc.edu/pub/Linux/libs/graphics/%{name}-%{version}.tar.gz
9 Patch0:         t1lib-0.7.1-beta-config.patch
10 URL:            http://www.windowmaker.org/
11 BuildRoot:      /tmp/%{name}-%{version}-root
12
13 %description
14 t1lib is a library distributed under the GNU General Public Library License
15 for generating character- and string-glyphs from Adobe Type 1 fonts under
16 UNIX. t1lib uses most of the code of the X11 rasterizer donated by IBM to
17 the X11-project. But some disadvantages of the rasterizer being included in
18 X11 have been eliminated. Here are some of the features:
19
20 - t1lib is completely independent of X11 (although the program provided for
21   testing the library needs X11)
22
23 - fonts are made known to library by means of a font database file at
24   runtime
25
26 - searchpaths for all types of input files are configured by means of a
27   configuration file at runtime
28
29 - characters are rastered as they are needed
30
31 - characters and complete strings may be rastered by a simple function
32   call
33
34 - when rastering strings, pairwise kerning information from .afm-files
35   may optionally be taken into account
36
37 - an interface to ligature-information of afm-files is provided
38
39 - a program to generate afm-files from Type 1 font files is included
40
41 - rotation is supported at any angles
42
43 - there's support for extending and slanting fonts
44
45 - underlining, overlining and overstriking is supported
46
47 - new encoding vectors may be loaded at runtime and fonts may be
48   reencoded using these encoding vectors 
49
50 - antialiasing is implemented using three gray-levels between black and
51   white
52
53 - An interactive test program called "xglyph" is included in the
54   distribution. This program allows to test all of the features of the
55   library. It requires X11.
56
57 %package devel
58 Summary:        Development files for t1lib
59 Group:          Development/Libraries
60 Require:        %{name} = %{version}
61
62 %description devel
63 The files needed for developing applications using t1lib.
64
65 %prep
66 %setup -n T1-%{version}
67 %patch0 -p1
68
69 %build
70 CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr
71 make
72
73 %install
74 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
75 mkdir -p $RPM_BUILD_ROOT/usr/{lib,share,bin,include}
76 make prefix=$RPM_BUILD_ROOT/usr install
77 cp -fr Fonts/* $RPM_BUILD_ROOT%{_datadir}/t1lib-0.8
78 CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --with-static-lib
79 make
80
81 %clean
82 rm -r $RPM_BUILD_ROOT
83
84 %files
85 %doc Changes LGPL LICENSE README.t1lib-0.8-beta doc/*
86 %attr(-,root,root) /usr/bin/*
87 %attr(-,root,root) %{_libdir}/*.so.*
88 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8
89 %attr(-,root,root) %config %{_datadir}/t1lib-0.8/t1lib.config
90 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8/enc
91 %attr(-,root,root) %{_datadir}/t1lib-0.8/enc/*
92 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8/afm
93 %attr(-,root,root) %{_datadir}/t1lib-0.8/afm/*
94 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8/type1
95 %attr(-,root,root) %{_datadir}/t1lib-0.8/type1/*
96 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8/doc
97 %attr(-,root,root) %doc %{_datadir}/t1lib-0.8/doc/*
98
99 %files devel
100 %attr(-,root,root) /usr/include/*
101 %attr(-,root,root) %{_libdir}/*.a
102 %attr(-,root,root) %{_libdir}/*.so
103
104 %changelog
105 * Tue Jul 21 1998 Kjetil Wiekhorst Jørgensen <jorgens@pvv.org>
106 - Initial relaese as RPM.
This page took 0.059654 seconds and 4 git commands to generate.