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