Группа :: Система/Библиотеки
Пакет: freetype
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: freetype
Version: 1.3.1
Release: alt4
Serial: 1
Summary: Free TrueType font rasterizer library
License: BSD
Group: System/Libraries
Packager: AEN <aen at altlinux.ru>
Source: freetype-%version.tar.bz2
Source1: ttmkfdir.tar.bz2
# Patch from X-TT sources, to correctly support Dynalab TTF fonts
# very poppular in Taiwan
Patch0: freetype1.3-adw-nocheck.patch
Patch1: freetype-1.3.1-mdk-makefile.patch
Patch2: freetype-1.3.1-alt-pt154.patch
Patch3: freetype-1.3.1-alt-unicode.patch
Patch4: freetype-1.4-rh-ac25.patch
Patch5: freetype-1.4-rh-gcc33.patch
%def_disable static
%{?_enable_static:BuildPreReq: glibc-devel-static}
# Automatically added by buildreq on Wed Oct 23 2002
BuildRequires: XFree86-devel
%package devel
Summary: Header files and static library for development with FreeType
Group: Development/C
Requires: %name = %serial:%version-%release
%package devel-static
Summary: The FreeType static library
Group: Development/C
Requires: %name-devel = %serial:%version-%release
%description
The FreeType engine is a free and portable TrueType font rendering engine.
It has been developed to provide TT support to a great variety of
platforms and environments. Note that FreeType is a library, not a
stand-alone application, though some utility applications are included.
%description devel
This package is only needed if you intend to develop or
compile applications which rely on the FreeType library.
If you simply want to run existing applications, you won't
need this package.
%description devel-static
This package contains the FreeType static library.
%prep
%setup -q -a1
%patch0 -p0
%patch1 -p0
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
export ac_cv_lib_intl_gettext=no
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure \
--enable-shared \
%{subst_enable static} \
--disable-debug \
--with-locale-dir=%_datadir/locale
%make
%make -C ttmkfdir-1.1
%install
%makeinstall gnulocaledir=$RPM_BUILD_ROOT%_datadir/locale
%make_install install -C ttmkfdir-1.1
%find_lang %name
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name.lang
%_bindir/*
%_sbindir/*
%_libdir/*.so.*
%doc README announce docs
%files devel
%_includedir/*
%_libdir/*.so
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.3.1
Release: alt4
Serial: 1
Summary: Free TrueType font rasterizer library
License: BSD
Group: System/Libraries
Packager: AEN <aen at altlinux.ru>
Source: freetype-%version.tar.bz2
Source1: ttmkfdir.tar.bz2
# Patch from X-TT sources, to correctly support Dynalab TTF fonts
# very poppular in Taiwan
Patch0: freetype1.3-adw-nocheck.patch
Patch1: freetype-1.3.1-mdk-makefile.patch
Patch2: freetype-1.3.1-alt-pt154.patch
Patch3: freetype-1.3.1-alt-unicode.patch
Patch4: freetype-1.4-rh-ac25.patch
Patch5: freetype-1.4-rh-gcc33.patch
%def_disable static
%{?_enable_static:BuildPreReq: glibc-devel-static}
# Automatically added by buildreq on Wed Oct 23 2002
BuildRequires: XFree86-devel
%package devel
Summary: Header files and static library for development with FreeType
Group: Development/C
Requires: %name = %serial:%version-%release
%package devel-static
Summary: The FreeType static library
Group: Development/C
Requires: %name-devel = %serial:%version-%release
%description
The FreeType engine is a free and portable TrueType font rendering engine.
It has been developed to provide TT support to a great variety of
platforms and environments. Note that FreeType is a library, not a
stand-alone application, though some utility applications are included.
%description devel
This package is only needed if you intend to develop or
compile applications which rely on the FreeType library.
If you simply want to run existing applications, you won't
need this package.
%description devel-static
This package contains the FreeType static library.
%prep
%setup -q -a1
%patch0 -p0
%patch1 -p0
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
export ac_cv_lib_intl_gettext=no
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure \
--enable-shared \
%{subst_enable static} \
--disable-debug \
--with-locale-dir=%_datadir/locale
%make
%make -C ttmkfdir-1.1
%install
%makeinstall gnulocaledir=$RPM_BUILD_ROOT%_datadir/locale
%make_install install -C ttmkfdir-1.1
%find_lang %name
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name.lang
%_bindir/*
%_sbindir/*
%_libdir/*.so.*
%doc README announce docs
%files devel
%_includedir/*
%_libdir/*.so
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь