]> git.pld-linux.org Git - packages/poppler0.61.git/commitdiff
- add bcond for glib wrapper
authorlisu <lisu@pld-linux.org>
Wed, 16 Jun 2010 14:39:48 +0000 (14:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- if statements for cpp bcond in %%files

Changed files:
    poppler.spec -> 1.106

poppler.spec

index 417bd17f2c8d1e1b13aab130ff4d09275bf4f643..7dca8df5d1f0ed49f24feb581d96d288b6c16bac 100644 (file)
@@ -7,6 +7,7 @@
 %bcond_without qt      # disable qt wrapper
 %bcond_without qt4     # disable qt4 wrapper
 %bcond_without cpp     # disable cpp wrapper
+%bcond_without glib    # disable glib wrapper
 #
 %define                cairo_ver       1.4.0
 #
@@ -287,6 +288,7 @@ Pakiet zawiera zestaw narzędzi do plików PDF. Programy te umożliwiają
        %{!?with_qt:--disable-poppler-qt} \
        %{!?with_qt4:--disable-poppler-qt4} \
        %{!?with_cpp:--disable-poppler-cpp} \
+       %{!?with_glib:--disable-poppler-glib} \
        --enable-a4-paper \
        %{?with_apidocs:--enable-gtk-doc} \
        --enable-xpdf-headers \
@@ -353,6 +355,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_gtkdocdir}/poppler
 %endif
 
+%if %{with cpp}
 %files cpp
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpoppler-cpp.so.*.*.*
@@ -368,7 +371,9 @@ rm -rf $RPM_BUILD_ROOT
 %files cpp-static
 %defattr(644,root,root,755)
 %{_libdir}/libpoppler-cpp.a
+%endif
 
+%if %{with glib}
 %files glib
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpoppler-glib.so.*.*.*
@@ -384,6 +389,7 @@ rm -rf $RPM_BUILD_ROOT
 %files glib-static
 %defattr(644,root,root,755)
 %{_libdir}/libpoppler-glib.a
+%endif
 
 %if %{with qt}
 %files qt
This page took 0.087906 seconds and 4 git commands to generate.