]> git.pld-linux.org Git - packages/freetype1.git/commitdiff
- new URL auto/th/freetype1-1_3_1-11
authorKarol Krenski <charles@pld-linux.org>
Sun, 22 Jun 2008 17:19:27 +0000 (17:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added TODO and without static_libs bcond

Changed files:
    freetype1.spec -> 1.46

freetype1.spec

index 7ce3e58c19a092afdae1f9838826bbff098723fc..305eef3b3fda902e4e2c35f53ec38a48748f5e5f 100644 (file)
@@ -1,3 +1,9 @@
+# TODO:
+# - fix build with libtool-2
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static libraries
+#
 Summary:       Truetype font rasterizer
 Summary(pl.UTF-8):     Rasteryzer fontów Truetype
 Name:          freetype1
@@ -11,7 +17,7 @@ Patch0:               freetype-DESTDIR.patch
 Patch1:                freetype-autoconf.patch
 Patch2:                %{name}-po.patch
 Patch3:                freetype-gcc33.patch
-URL:           http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
+URL:           http://freetype.sourceforge.net/freetype1/index.html
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
@@ -124,7 +130,7 @@ mv -f configure.in.tmp configure.in
 %{__aclocal}
 %{__autoconf}
 %configure \
-        --enable-static \
+       %{?with_static_libs:--enable-static} \
         --with-gnu-ld
 %{__make}
 
@@ -159,9 +165,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.la
 %{_includedir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %files progs
 %defattr(644,root,root,755)
This page took 0.039546 seconds and 4 git commands to generate.