1 | Summary: PostScript Type 1 font rasterizer |
---|
2 | Name: t1lib |
---|
3 | Version: 5.1.2 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | Epoch: 1 |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: LGPLv2+ |
---|
9 | URL: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-%{version}.lsm |
---|
10 | |
---|
11 | Source: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/%{name}-%{version}.tar.gz |
---|
12 | Patch1: %{name}-doc.patch.bz2 |
---|
13 | Patch2: %{name}-config.patch.bz2 |
---|
14 | Patch3: %{name}-5.1.2-segf.patch |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: libICE-devel libX11-devel libXaw-devel libXpm-devel |
---|
18 | BuildRequires: texlive texlive-common |
---|
19 | |
---|
20 | %description |
---|
21 | T1lib is a library for generating character and string-glyphs from |
---|
22 | Adobe Type 1 fonts under UNIX. T1lib uses most of the code of the X11 |
---|
23 | rasterizer donated by IBM to the X11-project. But some disadvantages |
---|
24 | of the rasterizer being included in X11 have been eliminated. |
---|
25 | T1lib also includes a support for antialiasing. |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Header files for PostScript Type 1 font rasterizer |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{epoch}:%{version}-%{release} |
---|
31 | Provides: %{name}-devel = %{version}-%{release} |
---|
32 | |
---|
33 | %description devel |
---|
34 | Header files required for compiling packages |
---|
35 | needing the t1lib. |
---|
36 | |
---|
37 | %package static-devel |
---|
38 | Summary: Static libraries for PostScript Type 1 font rasterizer |
---|
39 | Group: Development/Libraries |
---|
40 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
---|
41 | Provides: %{name}-static-devel = %{version}-%{release} |
---|
42 | |
---|
43 | %description static-devel |
---|
44 | Static libraries required for staticaly compiling packages needing the t1lib. |
---|
45 | |
---|
46 | %package progs |
---|
47 | Summary: Programs dor manipulating Type 1 font |
---|
48 | Group: Applications/Graphics |
---|
49 | License: GPLv2+ |
---|
50 | Requires: %{name} = %{epoch}:%{version} |
---|
51 | Provides: %{name}-progs |
---|
52 | |
---|
53 | %description progs |
---|
54 | The t1lib-progs contains the programs "xglyph" and "type1afm" |
---|
55 | It also contains the "t1libconfig" script used to configure t1lib. |
---|
56 | |
---|
57 | %prep |
---|
58 | %setup -q |
---|
59 | %patch1 -p0 |
---|
60 | %patch2 -p0 |
---|
61 | %patch3 -p1 -b .segf |
---|
62 | |
---|
63 | iconv -f latin1 -t utf8 < Changes > Changes.utf8 |
---|
64 | touch -r Changes Changes.utf8 |
---|
65 | mv Changes.utf8 Changes |
---|
66 | |
---|
67 | %build |
---|
68 | %configure |
---|
69 | #export tagname=CC |
---|
70 | perl -pi -e 's,-DGLOBAL_CONFIG_DIR="\\"/usr/share/t1lib\\"",-DGLOBAL_CONFIG_DIR="\\"/etc/t1lib\\"",;' Makefile |
---|
71 | #(cd lib |
---|
72 | #perl -pi -e 's,$(DESTDIR)/usr/share/t1lib,$(DESTDIR)$(datedir)t1lib,;' Makefile |
---|
73 | #) |
---|
74 | make without_doc |
---|
75 | #LIBTOOL=/usr/bin/libtool |
---|
76 | touch -r lib/t1lib/t1lib.h.in lib/t1lib.h |
---|
77 | touch -r lib/t1lib/t1libx.h lib/t1libx.h |
---|
78 | ln README.t1lib-%{version} README |
---|
79 | |
---|
80 | (cd doc |
---|
81 | make clean |
---|
82 | make pdf) |
---|
83 | |
---|
84 | %install |
---|
85 | rm -rf $RPM_BUILD_ROOT |
---|
86 | install -d $RPM_BUILD_ROOT%{_libdir} \ |
---|
87 | $RPM_BUILD_ROOT%{_datadir} \ |
---|
88 | $RPM_BUILD_ROOT%{_bindir} \ |
---|
89 | $RPM_BUILD_ROOT%{_includedir} |
---|
90 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
91 | |
---|
92 | rm -f $RPM_BUILD_ROOT%{_libdir}/libt1*.la |
---|
93 | chmod a+x $RPM_BUILD_ROOT%{_libdir}/libt1*.so.* |
---|
94 | |
---|
95 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/t1lib |
---|
96 | mv $RPM_BUILD_ROOT%{_datadir}/t1lib/t1lib.config $RPM_BUILD_ROOT%{_sysconfdir}/t1lib |
---|
97 | |
---|
98 | %post -p /sbin/ldconfig |
---|
99 | %postun -p /sbin/ldconfig |
---|
100 | |
---|
101 | %clean |
---|
102 | rm -rf $RPM_BUILD_ROOT |
---|
103 | |
---|
104 | |
---|
105 | %files -n %{name} |
---|
106 | %defattr(-,root,root) |
---|
107 | %config(noreplace) %{_sysconfdir}/t1lib/t1lib.config |
---|
108 | %doc Changes LGPL README.t1* |
---|
109 | %{_libdir}/libt1*.so.* |
---|
110 | |
---|
111 | %files -n %{name}-devel |
---|
112 | %defattr(-,root,root) |
---|
113 | %doc LGPL doc/t1lib_doc.pdf |
---|
114 | %{_includedir}/* |
---|
115 | %{_libdir}/*.so |
---|
116 | |
---|
117 | %files -n %{name}-static-devel |
---|
118 | %defattr(-,root,root) |
---|
119 | %doc LGPL |
---|
120 | %{_libdir}/*.a |
---|
121 | |
---|
122 | %files -n %{name}-progs |
---|
123 | %defattr(-,root,root) |
---|
124 | %doc LICENSE README.t1python |
---|
125 | %{_bindir}/* |
---|
126 | |
---|
127 | %changelog |
---|
128 | * Fri Jun 03 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 5.1.2-2 |
---|
129 | - add BR: texlive-common |
---|
130 | |
---|
131 | * Sun May 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.2-1 |
---|
132 | - updated to 5.1.2 |
---|
133 | - added Patch3 from Fedora |
---|
134 | |
---|
135 | * Mon Apr 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.2-3 |
---|
136 | - rebuild with current VineSeed |
---|
137 | - use BR: texlive instead of tetex |
---|
138 | |
---|
139 | * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 5.0.2-2vl5 |
---|
140 | - rebuild with libXaw.so.7 (libXaw-1.0.5) |
---|
141 | - spec in utf-8 |
---|
142 | |
---|
143 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 5.0.2-1vl5 |
---|
144 | - applied new versioning policy |
---|
145 | - removed *.la |
---|
146 | - added BuildRequires: xorg-x11-devel libXpm-devel, instead of XFree86-devel xpm-devel |
---|
147 | |
---|
148 | * Sat Dec 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.2-0vl2 |
---|
149 | - fixed spec file to build current environment |
---|
150 | - added %{epoch} related t1libs |
---|
151 | |
---|
152 | * Sat Jun 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.2-0vl1 |
---|
153 | - updated to 5.0.2 |
---|
154 | - changed Group: |
---|
155 | |
---|
156 | * Sun Mar 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0.0-0vl1 |
---|
157 | - new upstream release 5.0.0 |
---|
158 | |
---|
159 | * Fri May 31 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.3.1-5vl0 |
---|
160 | - modified for Vine |
---|
161 | |
---|
162 | * Thu May 16 2002 Yves Duret <yduret@mandrakesoft.com> 1.3.1-5mdk |
---|
163 | - 9.0 lib policy: added %libname-static-devel |
---|
164 | |
---|
165 | * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 1.3.1-4mdk |
---|
166 | - use %%makeinstall_std |
---|
167 | - use %%buildroot |
---|
168 | - devel package provides %%version-%%release |
---|
169 | |
---|
170 | * Sat Feb 02 2002 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.3.1-3mdk |
---|
171 | - fixed multiple "install -d" (problem with {). |
---|
172 | |
---|
173 | * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 1.3.1-2mdk |
---|
174 | - use the freshmeat url |
---|
175 | |
---|
176 | * Sun Jan 13 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.3.1-1mdk |
---|
177 | - 1.3.1. |
---|
178 | - Remove the URL. There doesn't seem to be one for it. |
---|
179 | |
---|
180 | * Sun Oct 28 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.3-1mdk |
---|
181 | - The all new-and-shiny t1lib 1.3. |
---|
182 | |
---|
183 | * Wed Aug 15 2001 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.2-2mdk |
---|
184 | - removed .dvi.gz doc. |
---|
185 | - removed .ps docs and unneeded .eps files. All printable doc files |
---|
186 | now replaced with only one PDF doc file. |
---|
187 | |
---|
188 | * Tue Aug 07 2001 Yves Duret <yduret@mandrakesoft.com> 1.2-1mdk |
---|
189 | - version 1.2 |
---|
190 | - s{Serial}{Epoch} & s{Copyright}{License} |
---|
191 | - updated url & source |
---|
192 | - added Patch{0,1,2} |
---|
193 | - fix buildrequires |
---|
194 | - remove big, fussy and redundand pdf/ps doc (ghibo sux) : |
---|
195 | size of devel rpm divided by more than 2 ! |
---|
196 | |
---|
197 | * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 1.1.1-2mdk |
---|
198 | - more and more macros |
---|
199 | - s{Copyright}{License} |
---|
200 | |
---|
201 | * Sat May 05 2001 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.1.1-1mdk |
---|
202 | - updated to release 1.1.1 (bugfixes). |
---|
203 | |
---|
204 | * Tue Mar 13 2001 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.1.0-1mdk |
---|
205 | - updated to release 1.1.0. |
---|
206 | - gzip doc instead of bzip2. |
---|
207 | - removed docdir patch. |
---|
208 | |
---|
209 | * Wed Dec 27 2000 Yves Duret <yduret@mandrakesoft.com> 1.0.1-6mdk |
---|
210 | - added a obsoletes -devel tag. |
---|
211 | |
---|
212 | * Tue Dec 26 2000 Yves Duret <yduret@mandrakesoft.com> 1.0.1-5mdk |
---|
213 | - splitted into main deval and progs packages. |
---|
214 | - config file now in /etc as it should be |
---|
215 | - used bzip2 instead of gzip for doc |
---|
216 | - macros |
---|
217 | |
---|
218 | * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.0.1-4mdk |
---|
219 | - automatically added BuildRequires |
---|
220 | |
---|
221 | * Fri Jul 28 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-3mdk |
---|
222 | - BM + macroszification |
---|
223 | |
---|
224 | * Tue May 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.0.1-2mdk |
---|
225 | - Move .so from devel to package and add some links for alpha. |
---|
226 | |
---|
227 | * Sat Apr 01 2000 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.0.1-1mdk |
---|
228 | - updated to version 1.0.1. |
---|
229 | - moved .so file to devel package. |
---|
230 | - exchanged package group between main and -devel packages. |
---|
231 | |
---|
232 | * Thu Mar 23 2000 Daouda Lo <daouda@mandrakesoft.com> 0.9.2-3mdk |
---|
233 | - fix group. |
---|
234 | |
---|
235 | * Thu Jan 13 2000 Pixel <pixel@mandrakesoft.com> |
---|
236 | - libtoolize --force. |
---|
237 | |
---|
238 | * Sat Oct 30 1999 Giuseppe Ghibメ<ghibo@linux-mandrake.com> |
---|
239 | - updated to version 0.9.2. |
---|
240 | |
---|
241 | * Thu Aug 12 1999 Giuseppe Ghibメ<ghibo@linux-mandrake.com> |
---|
242 | - added PostScript documentation. |
---|
243 | - split into main and devel package. |
---|
244 | |
---|
245 | * Sun Aug 1 1999 Richard D. Jackson <richardj@1gig.net> |
---|
246 | - first release of t1lib-0.9.1 |
---|