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