|
@@ -2,7 +2,7 @@
|
|
Summary: A free and portable TrueType font rendering engine.
|
|
Summary: A free and portable TrueType font rendering engine.
|
|
Name: freetype
|
|
Name: freetype
|
|
Version: 1.3.1
|
|
Version: 1.3.1
|
|
-Release: 6%{?_dist_release}
|
|
|
|
|
|
+Release: 7%{?_dist_release}
|
|
License: BSD-like
|
|
License: BSD-like
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://www.freetype.org
|
|
URL: http://www.freetype.org
|
|
@@ -16,6 +16,9 @@ Patch4: freetype-1.3.1-ltconfig-compat32.patch
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Obsoletes: freetype-utils
|
|
Obsoletes: freetype-utils
|
|
|
|
+BuildRequires: libX11-devel
|
|
|
|
+BuildRequires: libXt-devel
|
|
|
|
+BuildRequires: imake
|
|
|
|
|
|
%description
|
|
%description
|
|
The FreeType engine is a free and portable TrueType font rendering
|
|
The FreeType engine is a free and portable TrueType font rendering
|
|
@@ -38,6 +41,7 @@ library.
|
|
%package devel
|
|
%package devel
|
|
Summary: Header files and static library for development with FreeType.
|
|
Summary: Header files and static library for development with FreeType.
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
The freetype-devel package contains the header files and static
|
|
The freetype-devel package contains the header files and static
|
|
@@ -48,6 +52,7 @@ Install freetype-devel if you want to develop FreeType
|
|
applications. If you simply want to run existing applications, you
|
|
applications. If you simply want to run existing applications, you
|
|
won't need this package.
|
|
won't need this package.
|
|
|
|
|
|
|
|
+%if %{build_compat32}
|
|
## to build compat32 for x86_64 architecture support
|
|
## to build compat32 for x86_64 architecture support
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: A free and portable TrueType font rendering engine.
|
|
Summary: A free and portable TrueType font rendering engine.
|
|
@@ -72,6 +77,7 @@ FreeType TrueType font rendering library.
|
|
Install freetype-devel if you want to develop FreeType
|
|
Install freetype-devel if you want to develop FreeType
|
|
applications. If you simply want to run existing applications, you
|
|
applications. If you simply want to run existing applications, you
|
|
won't need this package.
|
|
won't need this package.
|
|
|
|
+%endif
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
@@ -96,7 +102,7 @@ export CC='gcc -m32'
|
|
--enable-static --enable-shared \
|
|
--enable-static --enable-shared \
|
|
--with-locale-dir=%{_localedir} \
|
|
--with-locale-dir=%{_localedir} \
|
|
--libdir=%{_libdir} \
|
|
--libdir=%{_libdir} \
|
|
- --x-libraries=%{_prefix}/X11R6/%{_lib} \
|
|
|
|
|
|
+ --x-libraries=%{_libdir} \
|
|
--target=%{_target_platform}
|
|
--target=%{_target_platform}
|
|
|
|
|
|
make
|
|
make
|
|
@@ -155,7 +161,6 @@ rm -rf $RPM_BUILD_ROOT%{_bindir}
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%if !%{build_compat32}
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libttf.la
|
|
%{_libdir}/libttf.la
|
|
@@ -176,7 +181,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
%{_libdir}/libttf.so
|
|
%{_libdir}/libttf.so
|
|
%{_libdir}/libttf.a
|
|
%{_libdir}/libttf.a
|
|
-%endif
|
|
|
|
|
|
|
|
## to build compat32 for x86_64 architecture support
|
|
## to build compat32 for x86_64 architecture support
|
|
%if %{build_compat32}
|
|
%if %{build_compat32}
|
|
@@ -192,6 +196,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.1-7
|
|
|
|
+- add Requires: %{name} = %{version}-%{release} (devel package)
|
|
|
|
+- add BuildRequires: libX11-devel, libXt-devel, imake
|
|
|
|
+- change configure option
|
|
|
|
+ (from "--x-libraries=%{_prefix}/X11R6/%{_lib}" to "--x-libraries=%{_libdir}")
|
|
|
|
+
|
|
* Wed Mar 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.1-6
|
|
* Wed Mar 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.1-6
|
|
- obsolete freetype-utils
|
|
- obsolete freetype-utils
|
|
|
|
|