]>
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 | |
6a6a04ea | 5 | Version: 1.10 |
d29da4dc JB |
6 | Release: 1 |
7 | License: BSD | |
8 | Group: Applications/Network | |
9 | Source0: http://www.dnssec-tools.org/download/%{name}-%{version}.tar.gz | |
6a6a04ea | 10 | # Source0-md5: dbb69af82fe3425eab845670528df3ce |
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 | |
100 | ||
101 | %{__make} -j1 install \ | |
102 | DESTDIR=$RPM_BUILD_ROOT | |
103 | ||
104 | find $RPM_BUILD_ROOT%{perl_vendorarch}/auto -name .packlist | xargs -r %{__rm} | |
105 | ||
106 | %clean | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %post libs -p /sbin/ldconfig | |
110 | %postun libs -p /sbin/ldconfig | |
111 | ||
112 | %files | |
113 | %defattr(644,root,root,755) | |
114 | %doc COPYING ChangeLog NEWS README | |
115 | %attr(755,root,root) %{_bindir}/blinkenlights | |
116 | %attr(755,root,root) %{_bindir}/bubbles | |
117 | %attr(755,root,root) %{_bindir}/cleanarch | |
118 | %attr(755,root,root) %{_bindir}/cleankrf | |
119 | %attr(755,root,root) %{_bindir}/convertar | |
120 | %attr(755,root,root) %{_bindir}/dnspktflow | |
121 | %attr(755,root,root) %{_bindir}/donuts | |
122 | %attr(755,root,root) %{_bindir}/donutsd | |
123 | %attr(755,root,root) %{_bindir}/drawvalmap | |
124 | %attr(755,root,root) %{_bindir}/dtck | |
125 | %attr(755,root,root) %{_bindir}/dtconf | |
126 | %attr(755,root,root) %{_bindir}/dtconfchk | |
127 | %attr(755,root,root) %{_bindir}/dtdefs | |
128 | %attr(755,root,root) %{_bindir}/dtinitconf | |
129 | %attr(755,root,root) %{_bindir}/expchk | |
130 | %attr(755,root,root) %{_bindir}/fixkrf | |
131 | %attr(755,root,root) %{_bindir}/genkrf | |
132 | %attr(755,root,root) %{_bindir}/getaddr | |
133 | %attr(755,root,root) %{_bindir}/getdnskeys | |
134 | %attr(755,root,root) %{_bindir}/getds | |
135 | %attr(755,root,root) %{_bindir}/gethost | |
136 | %attr(755,root,root) %{_bindir}/getname | |
137 | %attr(755,root,root) %{_bindir}/getquery | |
138 | %attr(755,root,root) %{_bindir}/getrrset | |
139 | %attr(755,root,root) %{_bindir}/keyarch | |
140 | %attr(755,root,root) %{_bindir}/krfcheck | |
141 | %attr(755,root,root) %{_bindir}/libval_check_conf | |
142 | %attr(755,root,root) %{_bindir}/lights | |
143 | %attr(755,root,root) %{_bindir}/lsdnssec | |
144 | %attr(755,root,root) %{_bindir}/lskrf | |
145 | %attr(755,root,root) %{_bindir}/lsroll | |
146 | %attr(755,root,root) %{_bindir}/maketestzone | |
147 | %attr(755,root,root) %{_bindir}/mapper | |
148 | %attr(755,root,root) %{_bindir}/rollchk | |
149 | %attr(755,root,root) %{_bindir}/rollctl | |
150 | %attr(755,root,root) %{_bindir}/rollerd | |
151 | %attr(755,root,root) %{_bindir}/rollinit | |
152 | %attr(755,root,root) %{_bindir}/rolllog | |
153 | %attr(755,root,root) %{_bindir}/rollrec-editor | |
154 | %attr(755,root,root) %{_bindir}/rollset | |
155 | %attr(755,root,root) %{_bindir}/signset-editor | |
156 | %attr(755,root,root) %{_bindir}/tachk | |
157 | %attr(755,root,root) %{_bindir}/timetrans | |
158 | %attr(755,root,root) %{_bindir}/trustman | |
159 | %attr(755,root,root) %{_bindir}/validate | |
160 | %attr(755,root,root) %{_bindir}/zonesigner | |
161 | %dir %{_sysconfdir}/dnssec-tools | |
162 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dnssec-tools/dnssec-tools.conf | |
163 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dnssec-tools/validator-testcases | |
164 | %{_datadir}/%{name} | |
165 | %{_mandir}/man1/blinkenlights.1p* | |
166 | %{_mandir}/man1/bubbles.1p* | |
167 | %{_mandir}/man1/cleanarch.1p* | |
168 | %{_mandir}/man1/cleankrf.1p* | |
169 | %{_mandir}/man1/convertar.1p* | |
170 | %{_mandir}/man1/dnspktflow.1p* | |
171 | %{_mandir}/man1/dnssec-tools.1* | |
172 | %{_mandir}/man1/donuts.1p* | |
173 | %{_mandir}/man1/donutsd.1p* | |
174 | %{_mandir}/man1/drawvalmap.1p* | |
175 | %{_mandir}/man1/dtck.1p* | |
176 | %{_mandir}/man1/dtconf.1p* | |
177 | %{_mandir}/man1/dtconfchk.1p* | |
178 | %{_mandir}/man1/dtdefs.1p* | |
179 | %{_mandir}/man1/dtinitconf.1p* | |
180 | %{_mandir}/man1/expchk.1p* | |
181 | %{_mandir}/man1/fixkrf.1p* | |
182 | %{_mandir}/man1/genkrf.1p* | |
183 | %{_mandir}/man1/getaddr.1* | |
184 | %{_mandir}/man1/getdnskeys.1p* | |
185 | %{_mandir}/man1/getds.1p* | |
186 | %{_mandir}/man1/gethost.1* | |
187 | %{_mandir}/man1/getname.1* | |
188 | %{_mandir}/man1/getquery.1* | |
189 | %{_mandir}/man1/getrrset.1* | |
190 | %{_mandir}/man1/keyarch.1p* | |
191 | %{_mandir}/man1/krfcheck.1p* | |
192 | %{_mandir}/man1/libval_check_conf.1* | |
193 | %{_mandir}/man1/lights.1p* | |
194 | %{_mandir}/man1/lsdnssec.1p* | |
195 | %{_mandir}/man1/lskrf.1p* | |
196 | %{_mandir}/man1/lsroll.1p* | |
197 | %{_mandir}/man1/maketestzone.1p* | |
198 | %{_mandir}/man1/mapper.1p* | |
199 | %{_mandir}/man1/rollchk.1p* | |
200 | %{_mandir}/man1/rollctl.1p* | |
201 | %{_mandir}/man1/rollerd.1p* | |
202 | %{_mandir}/man1/rollinit.1p* | |
203 | %{_mandir}/man1/rolllog.1p* | |
204 | %{_mandir}/man1/rollrec-editor.1p* | |
205 | %{_mandir}/man1/rollset.1p* | |
206 | %{_mandir}/man1/signset-editor.1p* | |
207 | %{_mandir}/man1/tachk.1p* | |
208 | %{_mandir}/man1/timetrans.1p* | |
209 | %{_mandir}/man1/trustman.1p* | |
210 | %{_mandir}/man1/validate.1* | |
211 | %{_mandir}/man1/zonesigner.1p* | |
212 | ||
213 | %files libs | |
214 | %defattr(644,root,root,755) | |
215 | %attr(755,root,root) %{_libdir}/libsres.so.*.*.* | |
6a6a04ea | 216 | %attr(755,root,root) %ghost %{_libdir}/libsres.so.10 |
d29da4dc | 217 | %attr(755,root,root) %{_libdir}/libval-threads.so.*.*.* |
6a6a04ea | 218 | %attr(755,root,root) %ghost %{_libdir}/libval-threads.so.10 |
d29da4dc | 219 | %attr(755,root,root) %{_libdir}/libval_shim.so.*.*.* |
6a6a04ea | 220 | %attr(755,root,root) %ghost %{_libdir}/libval_shim.so.10 |
d29da4dc JB |
221 | |
222 | %files devel | |
223 | %defattr(644,root,root,755) | |
224 | %attr(755,root,root) %{_bindir}/libval-config | |
225 | %attr(755,root,root) %{_libdir}/libsres.so | |
226 | %attr(755,root,root) %{_libdir}/libval-threads.so | |
227 | %attr(755,root,root) %{_libdir}/libval_shim.so | |
228 | %{_libdir}/libsres.la | |
229 | %{_libdir}/libval-threads.la | |
230 | %{_libdir}/libval_shim.la | |
231 | %{_includedir}/validator | |
232 | %{_mandir}/man3/dnsval.conf.3* | |
233 | %{_mandir}/man3/dnsval_conf*.3* | |
234 | %{_mandir}/man3/libsres.3* | |
235 | %{_mandir}/man3/libval.3* | |
236 | %{_mandir}/man3/libval_shim.3* | |
237 | %{_mandir}/man3/p_ac_status.3* | |
238 | %{_mandir}/man3/p_val_status.3* | |
239 | %{_mandir}/man3/resolv_conf_*.3* | |
240 | %{_mandir}/man3/root_hints_*.3* | |
241 | %{_mandir}/man3/val_*.3* | |
242 | ||
243 | %files static | |
244 | %defattr(644,root,root,755) | |
245 | %{_libdir}/libsres.a | |
246 | %{_libdir}/libval-threads.a | |
247 | %{_libdir}/libval_shim.a | |
248 | ||
249 | %files -n perl-%{name} | |
250 | %defattr(644,root,root,755) | |
251 | %dir %{perl_vendorarch}/Net/DNS/SEC | |
252 | %{perl_vendorarch}/Net/DNS/SEC/Tools | |
253 | %{perl_vendorarch}/Net/DNS/SEC/Validator.pm | |
254 | %{perl_vendorarch}/Net/DNS/SEC/defines.pl | |
255 | %{perl_vendorarch}/Net/DNS/ZoneFile | |
256 | %{perl_vendorarch}/Net/addrinfo.pm | |
257 | %dir %{perl_vendorarch}/auto/Net/DNS/SEC | |
258 | %dir %{perl_vendorarch}/auto/Net/DNS/SEC/Validator | |
259 | %{perl_vendorarch}/auto/Net/DNS/SEC/Validator/Validator.bs | |
260 | %attr(755,root,root) %{perl_vendorarch}/auto/Net/DNS/SEC/Validator/Validator.so | |
261 | %{perl_vendorarch}/auto/Net/addrinfo/addrinfo.bs | |
262 | %attr(755,root,root) %{perl_vendorarch}/auto/Net/addrinfo/addrinfo.so | |
263 | %{perl_vendorlib}/Net/DNS/SEC/Tools | |
264 | %{_mandir}/man3/Net::DNS::SEC::Tools::*.3pm* | |
265 | %{_mandir}/man3/Net::DNS::SEC::Validator.3pm* | |
266 | %{_mandir}/man3/Net::DNS::ZoneFile::Fast.3pm* | |
267 | %{_mandir}/man3/Net::addrinfo.3pm* |