X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=freetype1.spec;h=453d18bc921e4b03dceaf53d4daef9ff61da977c;hb=909b8cbdc971d9badbfc678972c536163a666307;hp=47497430f7bef04ac26ba3bf5ccb4ed93086333a;hpb=f518c0d9b56ade421fcc4e08da8588a4b139c7e6;p=packages%2Ffreetype1.git diff --git a/freetype1.spec b/freetype1.spec index 4749743..453d18b 100644 --- a/freetype1.spec +++ b/freetype1.spec @@ -2,7 +2,7 @@ Summary: Truetype font rasterizer Summary(pl): Rasteryzer fontów Truetype Name: freetype1 Version: 1.3.1 -Release: 4 +Release: 10 License: BSD-like Group: Libraries Source0: ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz @@ -30,14 +30,22 @@ a "TrueType driver" for a higher-level library, though rendering text with it is extremely easy, as demo-ed by the test programs. %description -l pl -FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody -¼ród³owe napisane s± w ANSI C oraz PASCAL'u. +FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Jest +to jedynie biblioteka, a nie serwer fontów, chocia¿ zosta³a ona +zaprojektowana do u¿ywania tak¿e w takich serwerach. Nie jest to te¿ +kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko +odczytywanie i zarz±dzanie plikami z fontami oraz wczytywanie i +wykonywanie hintingu i rasteryzacji poszczególnych glifów. Mo¿e byæ +tak¿e uwa¿ana za "sterownik TrueType" dla bibliotek wy¿szego poziomu, +jednak u¿ycie samej biblioteki FreeType do rasteryzacji jest bardzo +proste, co mo¿na zobaczyæ w programach demonstracyjnych. %package devel Summary: Header files and development documentation Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja Group: Development/Libraries Requires: %{name} = %{version} +Provides: freetype-devel = %{version} %description devel This package includes the header files documentations and libraries @@ -52,6 +60,7 @@ Summary: Freetype static libraries Summary(pl): Biblioteki statyczne freetype Group: Development/Libraries Requires: %{name}-devel = %{version} +Provides: freetype-static = %{version} %description static Static freetype libraries. @@ -64,6 +73,7 @@ Summary: Freetype library utilities Summary(pl): Programy u¿ytkowe freetype Group: Applications Requires: %{name} = %{version} +Provides: freetype-progs = %{version} Obsoletes: freetype-utils Obsoletes: freetype-tools @@ -101,10 +111,10 @@ Przyk %build install /usr/share/automake/missing . -gettextize --copy --force -libtoolize --copy --force -aclocal -autoconf +%{__gettextize} +%{__libtoolize} +%{__aclocal} +%{__autoconf} %configure \ --enable-static \ --with-gnu-ld @@ -116,10 +126,14 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits} - %find_lang freetype +# resolve conflict with freetype-demos-2.* +mv -f $RPM_BUILD_ROOT%{_bindir}/{ftdump,ft1dump} +mv -f $RPM_BUILD_ROOT%{_bindir}/{ftlint,ft1lint} +mv -f $RPM_BUILD_ROOT%{_bindir}/{ftview,ft1view} +mv -f $RPM_BUILD_ROOT%{_bindir}/{fttimer,ft1timer} + %clean rm -rf $RPM_BUILD_ROOT @@ -132,7 +146,7 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(644,root,root,755) -%doc howto/unix* docs/*txt* *.gz +%doc howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits} %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la %{_includedir}/*