]>
Commit | Line | Data |
---|---|---|
d29da4dc JB |
1 | %include /usr/lib/rpm/macros.perl |
2 | Summary: DNSSEC tools | |
3 | Summary(pl.UTF-8): Narzędzia DNSSEC | |
4 | Name: dnssec-tools | |
421c53e3 | 5 | Version: 1.13 |
ac2b58bd | 6 | Release: 1 |
d29da4dc | 7 | License: BSD |
e355058c | 8 | Group: Applications/Networking |
d29da4dc | 9 | Source0: http://www.dnssec-tools.org/download/%{name}-%{version}.tar.gz |
421c53e3 | 10 | # Source0-md5: beb4d59c49a00799ec1dfbbd5c97a8a0 |
d29da4dc JB |
11 | Patch0: %{name}-link.patch |
12 | URL: http://www.dnssec-tools.org/ | |
13 | BuildRequires: openssl-devel | |
14 | BuildRequires: perl-ExtUtils-MakeMaker | |
15 | BuildRequires: perl-Net-DNS | |
16 | BuildRequires: perl-Net-DNS-SEC | |
17 | BuildRequires: perl-TimeDate | |
18 | BuildRequires: perl-base | |
19 | BuildRequires: perl-devel >= 1:5.8.0 | |
20 | BuildRequires: rpm-perlprov >= 4.1-13 | |
21 | Requires: %{name}-libs = %{version}-%{release} | |
22 | Requires: perl-%{name} = %{version}-%{release} | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | The goal of the DNSSEC-Tools project is to create a set of tools, | |
27 | patches, applications, wrappers, extensions, and plugins that will | |
28 | help ease the deployment of DNSSEC-related technologies. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Celem projektu DNSSEC-Tools jest stworzenie zbioru narzędzi, łatek, | |
32 | aplikacji, wrapperów, rozszerzeń i wtyczek pomagających przy wdrażaniu | |
33 | technologii związanych z DNSSEC. | |
34 | ||
35 | %package libs | |
36 | Summary: DNSSEC libraries | |
37 | Summary(pl.UTF-8): Biblioteki DNSSEC | |
38 | Group: Libraries | |
39 | ||
40 | %description libs | |
41 | DNSSEC libraries. | |
42 | ||
43 | %description libs -l pl.UTF-8 | |
44 | Biblioteki DNSSEC. | |
45 | ||
46 | %package devel | |
47 | Summary: Header files for DNSSEC libraries | |
48 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek DNSSEC | |
49 | Group: Development/Libraries | |
50 | Requires: %{name}-libs = %{version}-%{release} | |
51 | Requires: openssl-devel | |
52 | ||
53 | %description devel | |
54 | Header files for DNSSEC libraries. | |
55 | ||
56 | %description devel -l pl.UTF-8 | |
57 | Pliki nagłówkowe bibliotek DNSSEC. | |
58 | ||
59 | %package static | |
60 | Summary: Static DNSSEC libraries | |
61 | Summary(pl.UTF-8): Statyczne biblioteki DNSSEC | |
62 | Group: Development/Libraries | |
63 | Requires: %{name}-devel = %{version}-%{release} | |
64 | ||
65 | %description static | |
66 | Static DNSSEC libraries. | |
67 | ||
68 | %description static -l pl.UTF-8 | |
69 | Statyczne biblioteki DNSSEC. | |
70 | ||
71 | %package -n perl-%{name} | |
72 | Summary: Perl modules supporting DNSSEC | |
73 | Summary(pl.UTF-8): Moduły Perla wspierające DNSSEC | |
74 | Group: Development/Languages/Perl | |
75 | Requires: %{name}-libs = %{version}-%{release} | |
76 | Requires: perl-Net-DNS | |
77 | Requires: perl-Net-DNS-SEC | |
78 | ||
79 | %description -n perl-%{name} | |
80 | Perl modules supporting DNSSEC. | |
81 | ||
82 | %description -n perl-%{name} -l pl.UTF-8 | |
83 | Moduły Perla wspierające DNSSEC. | |
84 | ||
85 | %prep | |
86 | %setup -q | |
87 | %patch0 -p1 | |
88 | ||
89 | %build | |
90 | %configure \ | |
91 | --disable-bind-checks \ | |
92 | --with-dlv \ | |
93 | --with-ipv6 \ | |
94 | --with-nsec3 \ | |
95 | --with-perl-build-args='INSTALLDIRS=vendor' | |
96 | %{__make} | |
97 | ||
98 | %install | |
99 | rm -rf $RPM_BUILD_ROOT | |
d29da4dc JB |
100 | %{__make} -j1 install \ |
101 | DESTDIR=$RPM_BUILD_ROOT | |
102 | ||
103 | find $RPM_BUILD_ROOT%{perl_vendorarch}/auto -name .packlist | xargs -r %{__rm} | |
421c53e3 JB |
104 | # bugfix |
105 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/{dt-,}libval_check_conf.1 | |
d29da4dc JB |
106 | |
107 | %clean | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
110 | %post libs -p /sbin/ldconfig | |
111 | %postun libs -p /sbin/ldconfig | |
112 | ||
113 | %files | |
114 | %defattr(644,root,root,755) | |
115 | %doc COPYING ChangeLog NEWS README | |
116 | %attr(755,root,root) %{_bindir}/blinkenlights | |
117 | %attr(755,root,root) %{_bindir}/bubbles | |
421c53e3 JB |
118 | %attr(755,root,root) %{_bindir}/buildrealms |
119 | %attr(755,root,root) %{_bindir}/check-zone-expiration | |
d29da4dc JB |
120 | %attr(755,root,root) %{_bindir}/cleanarch |
121 | %attr(755,root,root) %{_bindir}/cleankrf | |
122 | %attr(755,root,root) %{_bindir}/convertar | |
123 | %attr(755,root,root) %{_bindir}/dnspktflow | |
124 | %attr(755,root,root) %{_bindir}/donuts | |
125 | %attr(755,root,root) %{_bindir}/donutsd | |
126 | %attr(755,root,root) %{_bindir}/drawvalmap | |
421c53e3 JB |
127 | %attr(755,root,root) %{_bindir}/dt-getaddr |
128 | %attr(755,root,root) %{_bindir}/dt-gethost | |
129 | %attr(755,root,root) %{_bindir}/dt-getname | |
130 | %attr(755,root,root) %{_bindir}/dt-getquery | |
131 | %attr(755,root,root) %{_bindir}/dt-getrrset | |
132 | %attr(755,root,root) %{_bindir}/dt-validate | |
d29da4dc JB |
133 | %attr(755,root,root) %{_bindir}/dtck |
134 | %attr(755,root,root) %{_bindir}/dtconf | |
135 | %attr(755,root,root) %{_bindir}/dtconfchk | |
136 | %attr(755,root,root) %{_bindir}/dtdefs | |
137 | %attr(755,root,root) %{_bindir}/dtinitconf | |
421c53e3 | 138 | %attr(755,root,root) %{_bindir}/dtrealms |
d29da4dc JB |
139 | %attr(755,root,root) %{_bindir}/expchk |
140 | %attr(755,root,root) %{_bindir}/fixkrf | |
141 | %attr(755,root,root) %{_bindir}/genkrf | |
d29da4dc JB |
142 | %attr(755,root,root) %{_bindir}/getdnskeys |
143 | %attr(755,root,root) %{_bindir}/getds | |
421c53e3 | 144 | %attr(755,root,root) %{_bindir}/grandvizier |
d29da4dc | 145 | %attr(755,root,root) %{_bindir}/keyarch |
421c53e3 | 146 | %attr(755,root,root) %{_bindir}/keymod |
d29da4dc JB |
147 | %attr(755,root,root) %{_bindir}/krfcheck |
148 | %attr(755,root,root) %{_bindir}/libval_check_conf | |
149 | %attr(755,root,root) %{_bindir}/lights | |
150 | %attr(755,root,root) %{_bindir}/lsdnssec | |
151 | %attr(755,root,root) %{_bindir}/lskrf | |
421c53e3 | 152 | %attr(755,root,root) %{_bindir}/lsrealm |
d29da4dc JB |
153 | %attr(755,root,root) %{_bindir}/lsroll |
154 | %attr(755,root,root) %{_bindir}/maketestzone | |
155 | %attr(755,root,root) %{_bindir}/mapper | |
421c53e3 JB |
156 | %attr(755,root,root) %{_bindir}/realmchk |
157 | %attr(755,root,root) %{_bindir}/realmctl | |
158 | %attr(755,root,root) %{_bindir}/realminit | |
159 | %attr(755,root,root) %{_bindir}/realmset | |
d29da4dc JB |
160 | %attr(755,root,root) %{_bindir}/rollchk |
161 | %attr(755,root,root) %{_bindir}/rollctl | |
162 | %attr(755,root,root) %{_bindir}/rollerd | |
163 | %attr(755,root,root) %{_bindir}/rollinit | |
164 | %attr(755,root,root) %{_bindir}/rolllog | |
165 | %attr(755,root,root) %{_bindir}/rollrec-editor | |
166 | %attr(755,root,root) %{_bindir}/rollset | |
167 | %attr(755,root,root) %{_bindir}/signset-editor | |
168 | %attr(755,root,root) %{_bindir}/tachk | |
169 | %attr(755,root,root) %{_bindir}/timetrans | |
170 | %attr(755,root,root) %{_bindir}/trustman | |
d29da4dc JB |
171 | %attr(755,root,root) %{_bindir}/zonesigner |
172 | %dir %{_sysconfdir}/dnssec-tools | |
173 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dnssec-tools/dnssec-tools.conf | |
174 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dnssec-tools/validator-testcases | |
175 | %{_datadir}/%{name} | |
176 | %{_mandir}/man1/blinkenlights.1p* | |
421c53e3 | 177 | %{_mandir}/man1/buildrealms.1p* |
d29da4dc | 178 | %{_mandir}/man1/bubbles.1p* |
421c53e3 | 179 | %{_mandir}/man1/check-zone-expiration.1p* |
d29da4dc JB |
180 | %{_mandir}/man1/cleanarch.1p* |
181 | %{_mandir}/man1/cleankrf.1p* | |
182 | %{_mandir}/man1/convertar.1p* | |
183 | %{_mandir}/man1/dnspktflow.1p* | |
184 | %{_mandir}/man1/dnssec-tools.1* | |
185 | %{_mandir}/man1/donuts.1p* | |
186 | %{_mandir}/man1/donutsd.1p* | |
187 | %{_mandir}/man1/drawvalmap.1p* | |
421c53e3 JB |
188 | %{_mandir}/man1/dt-getaddr.1* |
189 | %{_mandir}/man1/dt-gethost.1* | |
190 | %{_mandir}/man1/dt-getname.1* | |
191 | %{_mandir}/man1/dt-getquery.1* | |
192 | %{_mandir}/man1/dt-getrrset.1* | |
193 | %{_mandir}/man1/dt-validate.1* | |
d29da4dc JB |
194 | %{_mandir}/man1/dtck.1p* |
195 | %{_mandir}/man1/dtconf.1p* | |
196 | %{_mandir}/man1/dtconfchk.1p* | |
197 | %{_mandir}/man1/dtdefs.1p* | |
198 | %{_mandir}/man1/dtinitconf.1p* | |
421c53e3 | 199 | %{_mandir}/man1/dtrealms.1p* |
d29da4dc JB |
200 | %{_mandir}/man1/expchk.1p* |
201 | %{_mandir}/man1/fixkrf.1p* | |
202 | %{_mandir}/man1/genkrf.1p* | |
d29da4dc JB |
203 | %{_mandir}/man1/getdnskeys.1p* |
204 | %{_mandir}/man1/getds.1p* | |
421c53e3 | 205 | %{_mandir}/man1/grandvizier.1p* |
d29da4dc | 206 | %{_mandir}/man1/keyarch.1p* |
421c53e3 | 207 | %{_mandir}/man1/keymod.1p* |
d29da4dc JB |
208 | %{_mandir}/man1/krfcheck.1p* |
209 | %{_mandir}/man1/libval_check_conf.1* | |
210 | %{_mandir}/man1/lights.1p* | |
211 | %{_mandir}/man1/lsdnssec.1p* | |
212 | %{_mandir}/man1/lskrf.1p* | |
421c53e3 | 213 | %{_mandir}/man1/lsrealm.1p* |
d29da4dc JB |
214 | %{_mandir}/man1/lsroll.1p* |
215 | %{_mandir}/man1/maketestzone.1p* | |
216 | %{_mandir}/man1/mapper.1p* | |
421c53e3 JB |
217 | %{_mandir}/man1/realmchk.1p* |
218 | %{_mandir}/man1/realmctl.1p* | |
219 | %{_mandir}/man1/realminit.1p* | |
220 | %{_mandir}/man1/realmset.1p* | |
d29da4dc JB |
221 | %{_mandir}/man1/rollchk.1p* |
222 | %{_mandir}/man1/rollctl.1p* | |
223 | %{_mandir}/man1/rollerd.1p* | |
224 | %{_mandir}/man1/rollinit.1p* | |
225 | %{_mandir}/man1/rolllog.1p* | |
226 | %{_mandir}/man1/rollrec-editor.1p* | |
227 | %{_mandir}/man1/rollset.1p* | |
228 | %{_mandir}/man1/signset-editor.1p* | |
229 | %{_mandir}/man1/tachk.1p* | |
230 | %{_mandir}/man1/timetrans.1p* | |
231 | %{_mandir}/man1/trustman.1p* | |
d29da4dc JB |
232 | %{_mandir}/man1/zonesigner.1p* |
233 | ||
234 | %files libs | |
235 | %defattr(644,root,root,755) | |
236 | %attr(755,root,root) %{_libdir}/libsres.so.*.*.* | |
ac2b58bd | 237 | %attr(755,root,root) %ghost %{_libdir}/libsres.so.12 |
d29da4dc | 238 | %attr(755,root,root) %{_libdir}/libval-threads.so.*.*.* |
ac2b58bd | 239 | %attr(755,root,root) %ghost %{_libdir}/libval-threads.so.12 |
d29da4dc | 240 | %attr(755,root,root) %{_libdir}/libval_shim.so.*.*.* |
ac2b58bd | 241 | %attr(755,root,root) %ghost %{_libdir}/libval_shim.so.12 |
d29da4dc JB |
242 | |
243 | %files devel | |
244 | %defattr(644,root,root,755) | |
245 | %attr(755,root,root) %{_bindir}/libval-config | |
246 | %attr(755,root,root) %{_libdir}/libsres.so | |
247 | %attr(755,root,root) %{_libdir}/libval-threads.so | |
248 | %attr(755,root,root) %{_libdir}/libval_shim.so | |
249 | %{_libdir}/libsres.la | |
250 | %{_libdir}/libval-threads.la | |
251 | %{_libdir}/libval_shim.la | |
252 | %{_includedir}/validator | |
253 | %{_mandir}/man3/dnsval.conf.3* | |
254 | %{_mandir}/man3/dnsval_conf*.3* | |
255 | %{_mandir}/man3/libsres.3* | |
256 | %{_mandir}/man3/libval.3* | |
257 | %{_mandir}/man3/libval_shim.3* | |
258 | %{_mandir}/man3/p_ac_status.3* | |
259 | %{_mandir}/man3/p_val_status.3* | |
260 | %{_mandir}/man3/resolv_conf_*.3* | |
261 | %{_mandir}/man3/root_hints_*.3* | |
262 | %{_mandir}/man3/val_*.3* | |
263 | ||
264 | %files static | |
265 | %defattr(644,root,root,755) | |
266 | %{_libdir}/libsres.a | |
267 | %{_libdir}/libval-threads.a | |
268 | %{_libdir}/libval_shim.a | |
269 | ||
270 | %files -n perl-%{name} | |
271 | %defattr(644,root,root,755) | |
272 | %dir %{perl_vendorarch}/Net/DNS/SEC | |
273 | %{perl_vendorarch}/Net/DNS/SEC/Tools | |
274 | %{perl_vendorarch}/Net/DNS/SEC/Validator.pm | |
275 | %{perl_vendorarch}/Net/DNS/SEC/defines.pl | |
276 | %{perl_vendorarch}/Net/DNS/ZoneFile | |
277 | %{perl_vendorarch}/Net/addrinfo.pm | |
278 | %dir %{perl_vendorarch}/auto/Net/DNS/SEC | |
279 | %dir %{perl_vendorarch}/auto/Net/DNS/SEC/Validator | |
280 | %{perl_vendorarch}/auto/Net/DNS/SEC/Validator/Validator.bs | |
281 | %attr(755,root,root) %{perl_vendorarch}/auto/Net/DNS/SEC/Validator/Validator.so | |
e355058c | 282 | %dir %{perl_vendorarch}/auto/Net/addrinfo |
d29da4dc JB |
283 | %{perl_vendorarch}/auto/Net/addrinfo/addrinfo.bs |
284 | %attr(755,root,root) %{perl_vendorarch}/auto/Net/addrinfo/addrinfo.so | |
285 | %{perl_vendorlib}/Net/DNS/SEC/Tools | |
286 | %{_mandir}/man3/Net::DNS::SEC::Tools::*.3pm* | |
287 | %{_mandir}/man3/Net::DNS::SEC::Validator.3pm* | |
288 | %{_mandir}/man3/Net::DNS::ZoneFile::Fast.3pm* | |
289 | %{_mandir}/man3/Net::addrinfo.3pm* |