[521] | 1 | |
---|
| 2 | # Fedora Review: http://bugzilla.redhat.com/171289 |
---|
| 3 | |
---|
| 4 | Name: dirmngr |
---|
| 5 | Summary: Client for Managing/Downloading CRLs |
---|
[6364] | 6 | Version: 1.1.0 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
[521] | 8 | |
---|
| 9 | License: GPLv2+ |
---|
| 10 | Group: System Environment/Libraries |
---|
| 11 | URL: http://www.gnupg.org/ |
---|
| 12 | Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2 |
---|
| 13 | Source1: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2.sig |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 15 | |
---|
| 16 | Source10: dirmngr.conf |
---|
| 17 | Source11: ldapservers.conf |
---|
| 18 | Source12: dirmngr.logrotate |
---|
| 19 | |
---|
| 20 | BuildRequires: gawk |
---|
| 21 | BuildRequires: gettext |
---|
| 22 | BuildRequires: libassuan-devel |
---|
| 23 | BuildRequires: libgcrypt-devel >= 1.2.0 |
---|
| 24 | BuildRequires: libksba-devel >= 1.0.0 |
---|
| 25 | BuildRequires: openldap-devel |
---|
| 26 | BuildRequires: pth-devel |
---|
| 27 | |
---|
| 28 | Requires(post): /sbin/install-info |
---|
| 29 | Requires(postun): /sbin/install-info |
---|
| 30 | Requires: logrotate |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | Dirmngr is a server for managing and downloading certificate |
---|
| 34 | revocation lists (CRLs) for X.509 certificates and for downloading |
---|
| 35 | the certificates themselves. Dirmngr also handles OCSP requests as |
---|
| 36 | an alternative to CRLs. Dirmngr is either invoked internally by |
---|
| 37 | gpgsm (from gnupg2) or when running as a system daemon through |
---|
| 38 | the dirmngr-client tool. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
| 43 | |
---|
| 44 | pushd doc |
---|
| 45 | iconv -f iso-8859-1 -t utf-8 dirmngr.texi -o dirmngr.texi.NEW && mv dirmngr.texi.NEW dirmngr.texi |
---|
| 46 | iconv -f iso-8859-1 -t utf-8 dirmngr.info -o dirmngr.info.NEW && mv dirmngr.info.NEW dirmngr.info |
---|
| 47 | popd |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | |
---|
| 52 | %configure \ |
---|
| 53 | --disable-dependancy-tracking |
---|
| 54 | |
---|
| 55 | make %{?_smp_mflags} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | rm -rf %{buildroot} |
---|
| 60 | |
---|
| 61 | # dirs |
---|
| 62 | mkdir -p %{buildroot}%{_sysconfdir}/dirmngr/trusted-certs |
---|
| 63 | mkdir -p %{buildroot}%{_var}/cache/dirmngr/crls.d |
---|
| 64 | mkdir -p %{buildroot}%{_var}/lib/dirmngr/extra-certs |
---|
| 65 | mkdir -p %{buildroot}%{_var}/log/dirmngr |
---|
| 66 | mkdir -p %{buildroot}%{_var}/run/dirmngr |
---|
| 67 | |
---|
| 68 | make install DESTDIR=%{buildroot} |
---|
| 69 | |
---|
| 70 | # dirmngr.log, logrotate |
---|
| 71 | install -p -m644 -D %{SOURCE12} %{buildroot}%{_sysconfdir}/logrotate.d/dirmngr |
---|
| 72 | |
---|
| 73 | # conf files |
---|
| 74 | install -p -m644 %{SOURCE10} %{SOURCE11} %{buildroot}%{_sysconfdir}/dirmngr/ |
---|
| 75 | |
---|
| 76 | %find_lang %{name} |
---|
| 77 | |
---|
| 78 | ## unpackaged files |
---|
| 79 | rm -f %{buildroot}%{_infodir}/dir |
---|
| 80 | rm -rf %{buildroot}%{_docdir}/dirmngr/examples |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %check |
---|
| 84 | make check |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %post |
---|
| 88 | /sbin/install-info %{_infodir}/dirmngr.info.gz %{_infodir}/dir ||: |
---|
| 89 | |
---|
| 90 | %postun |
---|
| 91 | if [ $1 -eq 0 ]; then |
---|
| 92 | /sbin/install-info --delete %{_infodir}/dirmngr.info.gz %{_infodir}/dir ||: |
---|
| 93 | fi |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | %clean |
---|
| 97 | rm -rf %{buildroot} |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | %files -f %{name}.lang |
---|
| 101 | %defattr(-,root,root,-) |
---|
| 102 | %doc COPYING README ChangeLog NEWS |
---|
| 103 | %doc doc/examples |
---|
| 104 | %{_bindir}/dirmngr* |
---|
| 105 | %{_libexecdir}/dirmngr_ldap |
---|
| 106 | %{_infodir}/dirmngr.info* |
---|
| 107 | %{_mandir}/man1/* |
---|
| 108 | # TODO/FIXME |
---|
| 109 | #{_initrddir}/* |
---|
| 110 | ## files/dirs for --daemon mode |
---|
| 111 | %dir %{_sysconfdir}/dirmngr |
---|
| 112 | %config(noreplace) %{_sysconfdir}/dirmngr/*.conf |
---|
| 113 | %config %{_sysconfdir}/logrotate.d/* |
---|
| 114 | %{_var}/cache/dirmngr/ |
---|
| 115 | %{_var}/lib/dirmngr/ |
---|
| 116 | %{_var}/log/dirmngr/ |
---|
| 117 | %{_var}/run/dirmngr/ |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | %changelog |
---|
[6364] | 121 | * Sun Jun 17 2012 Yoji TOYODA <bsymaato@sea.plala.or.jp> - 1.1.0-1 |
---|
| 122 | - update to 1.1.0 |
---|
| 123 | - remove Patch100 |
---|
| 124 | |
---|
[521] | 125 | * Sat Apr 4 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.2-2 |
---|
| 126 | - rebuilt with openldap-2.4.11 |
---|
| 127 | |
---|
| 128 | * Thu Aug 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.2-1 |
---|
| 129 | - initial build for VineSeed |
---|
| 130 | |
---|
| 131 | * Fri Aug 01 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.2-1 |
---|
| 132 | - dirmngr-1.0.2 |
---|
| 133 | |
---|
| 134 | * Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2 |
---|
| 135 | - respin (gcc43) |
---|
| 136 | |
---|
| 137 | * Thu Jan 03 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1 |
---|
| 138 | - dirmngr-1.0.1 |
---|
| 139 | |
---|
| 140 | * Tue Dec 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-7 |
---|
| 141 | - respin for openldap |
---|
| 142 | |
---|
| 143 | * Wed Oct 03 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-6 |
---|
| 144 | - /var/log/dirmngr.log -> /var/log/dirmngr/dirmngr.log |
---|
| 145 | - remove use of %%ghost (e.g. dirmngr.log shouldn't be owned) |
---|
| 146 | - BR: gettext |
---|
| 147 | |
---|
| 148 | * Sun Aug 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-5 |
---|
| 149 | - BR: gawk |
---|
| 150 | |
---|
| 151 | * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-4 |
---|
| 152 | - respin (BuildID) |
---|
| 153 | |
---|
| 154 | * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3 |
---|
| 155 | - License: GPLv2+ |
---|
| 156 | |
---|
| 157 | * Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-2 |
---|
| 158 | - dirmngr-1.0.0 |
---|
| 159 | |
---|
| 160 | * Mon Nov 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.6-2 |
---|
| 161 | - BR: libassuan-static |
---|
| 162 | |
---|
| 163 | * Tue Sep 05 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.6-1 |
---|
| 164 | - dirmngr-0.9.6 |
---|
| 165 | |
---|
| 166 | * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-5 |
---|
| 167 | - fc6 respin |
---|
| 168 | |
---|
| 169 | * Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-4 |
---|
| 170 | - %%config(noreplace) %%_sysconfdir/logrotate.d/dirmngr |
---|
| 171 | |
---|
| 172 | * Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-3 |
---|
| 173 | - use 'iconv -f iso-8859-1 -t utf-8' to avoid dropping characters |
---|
| 174 | |
---|
| 175 | * Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-2 |
---|
| 176 | - remove non-ASCII chars from dirmngr.info |
---|
| 177 | - %%config %%_sysconfdir/logrotate.d/dirmngr |
---|
| 178 | |
---|
| 179 | * Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-1 |
---|
| 180 | - 0.9.4 |
---|
| 181 | - %%doc COPYING |
---|
| 182 | - drop upstreamed info patch |
---|
| 183 | - use logrotate on dirmngr.log |
---|
| 184 | - add comment to (previously) empty ldapservers.conf |
---|
| 185 | |
---|
| 186 | * Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.3-1 |
---|
| 187 | - 0.9.3 |
---|
| 188 | |
---|
| 189 | * Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-3 |
---|
| 190 | - create/own more files/dirs for --daemon mode |
---|
| 191 | - TODO: proper init script |
---|
| 192 | |
---|
| 193 | * Thu Oct 20 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-2 |
---|
| 194 | - drop BR: libgpg-error-devel, texinfo |
---|
| 195 | - drop goofy conditional 'make install-strip ' |
---|
| 196 | - BR: libksba-devel >= 0.9.11 |
---|
| 197 | - BR: libassuan-devel >= 0.6.8 |
---|
| 198 | - fix spelling error(s) in %%description |
---|
| 199 | - --disable-dependancy-tracking |
---|
| 200 | |
---|
| 201 | * Thu Oct 20 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-1 |
---|
| 202 | - 0.9.2 |
---|
| 203 | |
---|
| 204 | * Mon Mar 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-0.fdr.1 |
---|
| 205 | - 0.9.1 |
---|
| 206 | |
---|
| 207 | * Fri Jan 07 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.0-0.fdr.2 |
---|
| 208 | - fix info entry (so deletion/uninstallation works) |
---|
| 209 | |
---|
| 210 | * Fri Jan 07 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.0-0.fdr.1 |
---|
| 211 | - 0.9.0 |
---|
| 212 | |
---|
| 213 | * Thu Dec 16 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.5-0.fdr.2 |
---|
| 214 | - 64bit fix (look for openldap in %%_libdir, not just /usr/lib) |
---|
| 215 | |
---|
| 216 | * Wed Oct 20 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.5-0.fdr.1 |
---|
| 217 | - first try |
---|
| 218 | |
---|