]> git.pld-linux.org Git - packages/unbound.git/blobdiff - unbound.spec
add static_libs bcond
[packages/unbound.git] / unbound.spec
index 6ede264df3434b1179edf032f7862f72505c4b46..6d17f9a51ae90a73252b6ed6bb92b938cf707121 100644 (file)
@@ -6,24 +6,25 @@
 %bcond_with    dnscrypt        # dnscrypt support
 %bcond_with    dnstap          # dnstap replication support
 %bcond_with    redis           # cachedb support for redis (using hiredis)
 %bcond_with    dnscrypt        # dnscrypt support
 %bcond_with    dnstap          # dnstap replication support
 %bcond_with    redis           # cachedb support for redis (using hiredis)
+%bcond_without static_libs     # static library
 %bcond_with    systemd         # systemd support
 %bcond_without tests           # unit tests
 #
 Summary:       Recursive, validating DNS resolver
 Summary(pl.UTF-8):     Rekurencyjny, weryfikujący resolver DNS
 Name:          unbound
 %bcond_with    systemd         # systemd support
 %bcond_without tests           # unit tests
 #
 Summary:       Recursive, validating DNS resolver
 Summary(pl.UTF-8):     Rekurencyjny, weryfikujący resolver DNS
 Name:          unbound
-Version:       1.19.0
+Version:       1.20.0
 Release:       1
 License:       BSD
 Group:         Applications/Network
 Source0:       https://www.unbound.net/downloads/%{name}-%{version}.tar.gz
 Release:       1
 License:       BSD
 Group:         Applications/Network
 Source0:       https://www.unbound.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 1a8c4a4bca75eadc03e21d43089ef1ee
+# Source0-md5: 970d8a8800e6993d4453d50979b0c657
 Source1:       %{name}.init
 Source2:       %{name}.service
 Source3:       https://data.iana.org/root-anchors/icannbundle.pem
 # Source3-md5: d00ef4e253e99e93ee020da5ad5e7d9a
 Source4:       ftp://ftp.internic.net/domain/named.cache
 Source1:       %{name}.init
 Source2:       %{name}.service
 Source3:       https://data.iana.org/root-anchors/icannbundle.pem
 # Source3-md5: d00ef4e253e99e93ee020da5ad5e7d9a
 Source4:       ftp://ftp.internic.net/domain/named.cache
-# Source4-md5: ed39d72b6177644fd29f048550004acd
+# Source4-md5: 256a3e44f5821c498cf777dd118944a6
 Patch0:                %{name}-default_trust_anchor.patch
 Patch1:                %{name}-sh.patch
 URL:           http://unbound.net/
 Patch0:                %{name}-default_trust_anchor.patch
 Patch1:                %{name}-sh.patch
 URL:           http://unbound.net/
@@ -144,6 +145,7 @@ Pythonowy interfejs do biblioteki unbound.
 %{__autoheader}
 %configure \
        PYTHON=%{__python3} \
 %{__autoheader}
 %configure \
        PYTHON=%{__python3} \
+       %{__enable_disable static_libs static} \
        %{?with_dnscrypt:--enable-dnscrypt} \
        %{?with_dnstap:--enable-dnstap} \
        %{?with_systemd:--enable-systemd} \
        %{?with_dnscrypt:--enable-dnscrypt} \
        %{?with_dnstap:--enable-dnstap} \
        %{?with_systemd:--enable-systemd} \
@@ -253,9 +255,11 @@ fi
 %{_mandir}/man3/libunbound.3*
 %{_mandir}/man3/ub_*.3*
 
 %{_mandir}/man3/libunbound.3*
 %{_mandir}/man3/ub_*.3*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libunbound.a
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libunbound.a
+%endif
 
 %if %{with python}
 %files -n python3-unbound
 
 %if %{with python}
 %files -n python3-unbound
This page took 0.04457 seconds and 4 git commands to generate.