Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
t1lib
t1lib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File t1lib.spec of Package t1lib
# # spec file for package t1lib # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: t1lib BuildRequires: libtool BuildRequires: xorg-x11-devel Version: 5.1.2 Release: 0 Url: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/ Source: %{name}-%{version}.tar.bz2 Patch0: t1lib-auto.patch Patch1: t1lib_5.1.2-3.diff.gz Patch2: t1lib-5.1.2-CVE-2010-2642.patch #https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-0764 #https://bugzilla.redhat.com/attachment.cgi?id=551723 Patch3: t1lib-type1-fix-invalid-rw.patch Patch4: t1lib-5.1.2-afm-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Adobe Type 1 Font Rasterizing Library License: LGPL-2.1+ Group: System/Libraries %description T1lib is a library for generating character and string glyphs from Adobe Type 1 fonts under UNIX. T1lib uses most of the code of the X Window System rasterizer donated by IBM to the X Window System project. Some disadvantages of the rasterizer included in the X Window System have been eliminated. %package -n t1lib-devel Summary: Development Libraries for T1lib Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: xorg-x11-libX11-devel %description -n t1lib-devel This package provides the t1lib development environment (static libraries, header files, and more). %prep %setup -q -n t1lib-%{version} %patch0 -p1 -b .auto %patch1 -p1 %patch2 -p1 -b .CVE-2010-2642 # quilt-lite grep -v '^#' debian/patches/series | while read patch level; do if test -z "$level" ; then level=-p1; fi patch $level < debian/patches/$patch done %patch3 -p1 %patch4 -p1 %build autoreconf -fiv export CFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="%{optflags} -fno-strict-aliasing" %configure --disable-static --with-pic make %{?_smp_mflags} without_doc %install %{__make} DESTDIR=%{buildroot} install %{__rm} -f %{buildroot}%{_datadir}/t1lib/doc/t1lib_doc* %{__rm} -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %{_libdir}/libt1.so.* %{_libdir}/libt1x.so.* %{_bindir}/type1afm %{_bindir}/xglyph %files -n t1lib-devel %defattr(-, root, root) %doc doc/t1lib_doc.pdf %doc doc/t1_data.eps %doc Changes LGPL LICENSE README.t1lib-%{version} %{_libdir}/libt1*.so %{_includedir}/t1lib*.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor