]> git.pld-linux.org Git - packages/dirmngr.git/blobdiff - dirmngr.spec
- added pl.po patch
[packages/dirmngr.git] / dirmngr.spec
index 3ff0fd5de3a3c41aaf98f918a31a277d9cde6267..c7d5282c63d435a933b00c3d645d17c174f8b1c3 100644 (file)
@@ -1,24 +1,31 @@
+# NOTE: for dirmngr 2.x see gnupg2.spec
 Summary:       X509/LDAP certificate and revocation list client
-Summary(pl):   Klient certyfikatów i list anuluj±cych X509/LDAP
+Summary(pl.UTF-8):     Klient certyfikatów i list anulujących X509/LDAP
 Name:          dirmngr
-Version:       0.9.2
-Release:       1
-License:       GPL
+Version:       1.1.1
+Release:       5
+License:       GPL v2+
 Group:         Applications
-Source0:       ftp://ftp.gnupg.org/gcrypt/alpha/dirmngr/%{name}-%{version}.tar.bz2
-# Source0-md5: d29eaca5a9f9556552519ab907e77126
+Source0:       ftp://ftp.gnupg.org/gcrypt/dirmngr/%{name}-%{version}.tar.bz2
+# Source0-md5: f5a40e93bcf07a94522579bfd58a2c96
 Patch0:                %{name}-info.patch
-BuildRequires: automake
-BuildRequires: libassuan-devel >= 1:0.6.8
-BuildRequires: libgcrypt-devel >= 1.1.94
-BuildRequires: libgpg-error-devel >= 0.7
-BuildRequires: libksba-devel >= 0.9.11
-BuildRequires: openldap-devel
+Patch1:                %{name}-am.patch
+Patch2:                %{name}-pth.patch
+Patch3:                %{name}-pl.po.patch
+URL:           http://www.gnupg.org/documentation/manuals/dirmngr/
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.9.3
+BuildRequires: libassuan-devel >= 1:2.0.0
+BuildRequires: libgcrypt-devel >= 1.4.0
+BuildRequires: libgpg-error-devel >= 1.4
+BuildRequires: libksba-devel >= 1.0.2
+BuildRequires: openldap-devel >= 2.4.6
 BuildRequires: pth-devel >= 1.3.7
 BuildRequires: texinfo
-Requires:      libassuan >= 1:0.6.8
-Requires:      libgpg-error >= 0.7
-Requires:      libksba >= 0.9.11
+Requires:      libassuan >= 1:2.0.0
+Requires:      libgcrypt >= 1.4.0
+Requires:      libgpg-error >= 1.4
+Requires:      libksba >= 1.0.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,18 +34,26 @@ revocation lists (CRLs) for X509 certificates and for downloading the
 certificates themselves. DirMngr is usually invoked by gpgsm and in
 general not used directly.
 
-%description -l pl
-DirMngr to klient do zarz±dzania i pobierania list anuluj±cych
-certyfikaty (CRLs - certificate revocation lists) dla certyfikatów
-X509 oraz do pobierania samych certyfikatów. DirMngr jest zwykle
-wywo³ywany przez gpgsm i nie u¿ywany bezpo¶rednio.
+%description -l pl.UTF-8
+DirMngr to klient do zarządzania i pobierania list anulujących
+certyfikaty (CRLs - certificate revocation lists) dla certyfikatów
+X509 oraz do pobierania samych certyfikatów. DirMngr jest zwykle
+wywoływany przez gpgsm i nie używany bezpośrednio.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p0
+%patch3 -p1
+
+%{__rm} po/stamp-po
 
 %build
-cp -f /usr/share/automake/config.* .
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --with-ldap=/usr
 %{__make}
@@ -49,21 +64,26 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dirmngr
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc ChangeLog NEWS README*
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/dirmngr
 %attr(755,root,root) %{_bindir}/dirmngr-client
 %attr(755,root,root) %{_libexecdir}/dirmngr_ldap
 %{_infodir}/dirmngr.info*
+%{_mandir}/man1/dirmngr.1*
+%{_mandir}/man1/dirmngr-client.1*
This page took 0.292721 seconds and 4 git commands to generate.