]> git.pld-linux.org Git - packages/redland.git/commitdiff
- threestore bcond
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 19 Mar 2007 00:04:27 +0000 (00:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    redland.spec -> 1.34

redland.spec

index c4d82a2b58650829596805e76be40b5d1de7a184..e62c423f7423e33301623794e022baf29e502c35 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without threestore      # with 3store
+#
 Summary:       Redland - a library that provides a high-level interface for RDF
 Summary(pl.UTF-8):     Redland - biblioteka udostępniająca wysokopoziomowy interfejs do RDF
 Name:          redland
@@ -9,8 +13,10 @@ Source0:      http://download.librdf.org/source/%{name}-%{version}.tar.gz
 # Source0-md5: 43d909ff6ffa7f7559ad9af5620c8cbf
 Patch0:                %{name}-link.patch
 URL:           http://librdf.org/
+%if %{with threestore}
 BuildRequires: 3store-devel >= 2.0
 BuildRequires: 3store-devel < 3.0
+%endif
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1:1.7
 BuildRequires: db-devel
@@ -51,8 +57,10 @@ Summary:     Headers for Redland RDF library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Redland RDF
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+%if %{with threestore}
 Requires:      3store-devel >= 2.0
 Requires:      3store-devel < 3.0
+%endif
 Requires:      db-devel
 Requires:      libraptor-devel >= 1.4.13
 Requires:      mysql-devel >= 3.23.58
@@ -103,6 +111,7 @@ Pythonowy interfejs do biblioteki Redland RDF
 %{__automake}
 %configure \
        --with-html-dir=%{_gtkdocdir} \
+       --with-threestore=%{!?with_threestore:no}%{?with_threestore:yes} \
        --with-raptor=system \
        --with-rasqal=system
 
This page took 0.059913 seconds and 4 git commands to generate.