Summary(pl): Rasteryzer fontów Truetype
Name: freetype1
Version: 1.3.1
-Release: 1
+Release: 2
License: BSD like
Group: Libraries
Group(de): Libraries
+Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
Source0: ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/freetype-%{version}.tar.gz
Patch2: freetype-foundrynames.patch
Patch3: freetype-nospaces.patch
URL: http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
-BuildRequires: gettext-devel
BuildRequires: XFree86-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%build
gettextize --copy --force
+libtoolize --copy --force
aclocal
autoconf
%configure \
--enable-static \
--with-gnu-ld
%{__make}
-%{__make} -C ttmkfdir CC="gcc $RPM_OPT_FLAGS -I../lib" FREETYPE_LIB='-L../lib/.libs -lttf'
+%{__make} -C ttmkfdir CC="%{__cc} %{rpmcflags} -I../lib" FREETYPE_LIB='-L../lib/.libs -lttf'
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
install ttmkfdir/ttmkfdir $RPM_BUILD_ROOT%{_bindir}
-strip $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
-
gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
-%find_lang %{name}
+%find_lang freetype
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
-%files -f %{name}.lang
+%files -f freetype.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ttmkfdir
%attr(755,root,root) %{_libdir}/lib*so.*.*