]> git.pld-linux.org Git - packages/gdk-pixbuf.git/commitdiff
- added bcond_without static_libs
authorwitekfl <witekfl@pld-linux.org>
Wed, 22 Aug 2007 19:15:52 +0000 (19:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdk-pixbuf.spec -> 1.97

gdk-pixbuf.spec

index aaa4389acd8c1fe03a511a0696162cb74371e783..5d72191221436b839c6e18ccd4dccde3ce9cc1eb 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
-%bcond_without gnome1  # build without libgnomecanvaspixbuf (which requires GNOME)
+%bcond_without gnome1          # build without libgnomecanvaspixbuf (which requires GNOME)
+%bcond_without static_libs     # don't build static libraries
 #
 Summary:       Image loading library used with GNOME
 Summary(ko.UTF-8):     그놈에서 사용되는 그림 읽기 라이브러리
@@ -189,7 +190,8 @@ Część gdk-pixbuf związana z GNOME - wersja statyczna.
 %configure \
        --disable-gtk-doc \
        --with-html-dir=%{_gtkdocdir} \
-       %{!?with_gnome1:--without-gnome}
+       %{!?with_gnome1:--without-gnome} \
+       %{!?with_static_libs:--disable-static}
 
 %{__make} \
        AS="%{__cc}"
@@ -239,9 +241,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_gtkdocdir}/gdk-pixbuf-1.0/[!g]*
 %{_gtkdocdir}/gdk-pixbuf-1.0/g[!n]*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libgdk*.a
+%endif
 
 %if %{with gnome1}
 %files gnome
@@ -256,7 +260,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gnome*.h
 %{_gtkdocdir}/gdk-pixbuf-1.0/gnome*
 
+%if %{with static_libs}
 %files gnome-static
 %defattr(644,root,root,755)
 %{_libdir}/libgnome*.a
 %endif
+%endif
This page took 0.109682 seconds and 4 git commands to generate.