]> git.pld-linux.org Git - packages/freetype.git/blobdiff - freetype.spec
- separate apidocs
[packages/freetype.git] / freetype.spec
index ee077c19dff464538ab984dbceb8a5953da1a80f..873e69d7c46defdf1dc822f4b44aa6875fa38efa 100644 (file)
@@ -1,12 +1,9 @@
 #
 # Conditional build:
 #
 # Conditional build:
-%bcond_without bytecode        # without TT bytecode interpreter
-#               (patents pending in USA, Japan etc., but now it includes
-#                also patent-free hinting workaround)
-%bcond_without lcd             # disable filters reducing color fringes when
-#                 subpixel rendering for LCD (only used with a new 2.3.0 API;
-#                 patents pending)
+%bcond_without bytecode        # without TT bytecode interpreter (Apple patents in USA)
+%bcond_without lcd             # without LCD subpixel color filtering (Microsoft patents in USA)
 %bcond_without x11             # don't build examples (X11-based)
 %bcond_without x11             # don't build examples (X11-based)
+%bcond_without apidocs         # disable api docs
 #
 Summary:       TrueType font rasterizer
 Summary(es.UTF-8):     Biblioteca de render 3D de fuentes TrueType
 #
 Summary:       TrueType font rasterizer
 Summary(es.UTF-8):     Biblioteca de render 3D de fuentes TrueType
@@ -16,18 +13,17 @@ Summary(pt_BR.UTF-8):       Biblioteca de renderização de fontes TrueType
 Summary(ru.UTF-8):     Растеризатор шрифтов TrueType
 Summary(uk.UTF-8):     Растеризатор шрифтів TrueType
 Name:          freetype
 Summary(ru.UTF-8):     Растеризатор шрифтов TrueType
 Summary(uk.UTF-8):     Растеризатор шрифтів TrueType
 Name:          freetype
-Version:       2.3.2
-Release:       2
+Version:       2.3.5
+Release:       1
 Epoch:         1
 License:       GPL or FTL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/freetype/%{name}-%{version}.tar.bz2
 Epoch:         1
 License:       GPL or FTL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/freetype/%{name}-%{version}.tar.bz2
-# Source0-md5: 119e1fe126fcfa5a70bc56db55f573d5
+# Source0-md5: 65234327c5ac46ee00ebda15995d4c1c
 Source1:       http://dl.sourceforge.net/freetype/%{name}-doc-%{version}.tar.bz2
 Source1:       http://dl.sourceforge.net/freetype/%{name}-doc-%{version}.tar.bz2
-# Source1-md5: d732b9b5971d019fab9c695dfa496247
+# Source1-md5: 8f443368764f7cd776749e0143f423dd
 Source2:       http://dl.sourceforge.net/freetype/ft2demos-%{version}.tar.bz2
 Source2:       http://dl.sourceforge.net/freetype/ft2demos-%{version}.tar.bz2
-# Source2-md5: 5813409ad4015424e822396e0c3f43cd
-Patch0:                %{name}-cvs.patch
+# Source2-md5: 708bf1bc13a0a1d1bb801466d6d97c40
 URL:           http://www.freetype.org/
 BuildRequires: automake
 BuildRequires: python
 URL:           http://www.freetype.org/
 BuildRequires: automake
 BuildRequires: python
@@ -91,7 +87,7 @@ incluídos neste pacote.
 різних платформах.
 
 %package devel
 різних платформах.
 
 %package devel
-Summary:       Header files and development documentation
+Summary:       Header files for FreeType development
 Summary(es.UTF-8):     Archivos de inclusión e bibliotecas estáticas para desarrollo con FreeType
 Summary(ko.UTF-8):     FreeType을 쓸 때 필요한 정적 라이브러리와 머리말 파일
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki freetype i dokumentacja
 Summary(es.UTF-8):     Archivos de inclusión e bibliotecas estáticas para desarrollo con FreeType
 Summary(ko.UTF-8):     FreeType을 쓸 때 필요한 정적 라이브러리와 머리말 파일
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki freetype i dokumentacja
@@ -104,8 +100,8 @@ Requires:   zlib-devel
 Obsoletes:     freetype2-devel
 
 %description devel
 Obsoletes:     freetype2-devel
 
 %description devel
-This package includes the header files and documentation necessary to
-develop applications that use FreeType.
+This package includes the header files necessary to develop applications that
+use FreeType.
 
 %description devel -l es.UTF-8
 Este paquete es necesario, si pretendes desarrollar/compilar
 
 %description devel -l es.UTF-8
 Este paquete es necesario, si pretendes desarrollar/compilar
@@ -129,6 +125,13 @@ rodar aplicações existentes, você não precisa deste pacote.
 Цей пакет містить хедери та бібліотеки, необхідні для розробки
 програм, що використовують freetype.
 
 Цей пакет містить хедери та бібліотеки, необхідні для розробки
 програм, що використовують freetype.
 
+%package apidocs
+Summary:       FreeType API documetation
+Group:         Documentation
+
+%description apidocs
+FreeType API documetation.
+
 %package static
 Summary:       FreeType static libraries
 Summary(es.UTF-8):     Static libraries for freetype development
 %package static
 Summary:       FreeType static libraries
 Summary(es.UTF-8):     Static libraries for freetype development
@@ -175,7 +178,6 @@ Programy demonstracyjne do biblioteki FreeType.
 
 %prep
 %setup -q -a1 -a2
 
 %prep
 %setup -q -a1 -a2
-%patch0 -p1
 
 %build
 CFLAGS="%{rpmcflags} \
 
 %build
 CFLAGS="%{rpmcflags} \
@@ -219,7 +221,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
 
 %files devel
 %defattr(644,root,root,755)
-%doc docs/DEBUG docs/reference
+%doc docs/DEBUG
 %attr(755,root,root) %{_bindir}/freetype-config
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %attr(755,root,root) %{_bindir}/freetype-config
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
@@ -228,6 +230,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_aclocaldir}/*.m4
 %{_pkgconfigdir}/*.pc
 
 %{_aclocaldir}/*.m4
 %{_pkgconfigdir}/*.pc
 
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc docs/reference
+%endif
+
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
This page took 0.394488 seconds and 4 git commands to generate.