]> git.pld-linux.org Git - packages/gpgme.git/commitdiff
- added acfix patch for ac 2.58+
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 8 Dec 2003 11:45:15 +0000 (11:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- deal with pth dependency

Changed files:
    gpgme.spec -> 1.34

gpgme.spec

index 1726b37da6c05d79625bedf589b6f3d04424bd17..6197ff34e5ab5f040cb89ff34edf212819af29d8 100644 (file)
@@ -1,3 +1,8 @@
+#
+# Conditional build:
+%bcond_without pth     # without pth-based version of library
+#
+# TODO: separate pth version? disable by default (if !needed at all)?
 Summary:       Library for accessing GnuPG
 Summary(pl):   Biblioteka daj±ca dostêp do funkcji GnuPG
 Name:          gpgme
@@ -8,11 +13,13 @@ Group:               Libraries
 Source0:       ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/%{name}-%{version}.tar.gz
 # Source0-md5: a4cb2a2ba1689f0376bc1affc987f183
 Patch0:                %{name}-info.patch
+Patch1:                %{name}-acfix.patch
 URL:           http://www.gnupg.org/gpgme.html
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: libgpg-error-devel >= 0.5
 BuildRequires: libtool
+%{?with_pth:BuildRequires:     pth-devel >= 1.2.0}
 BuildRequires: texinfo
 BuildConflicts:        gnupg < 1.2.2
 Requires:      gnupg >= 1.2.2
@@ -53,9 +60,9 @@ Statyczna wersja biblioteki %{name}.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
-rm -f missing
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -63,7 +70,8 @@ rm -f missing
 %configure \
        --enable-shared \
        --enable-static \
-       --without-gpgsm
+       --without-gpgsm \
+       %{!?with_pth:--without-pth}
 
 %{__make}
 
This page took 0.097992 seconds and 4 git commands to generate.