avatar
Rosa has added 4e5c1e8fd4
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "rpmtools-6.1.tar.xz": e494dbae968a0aa4a9b7dcdce30db3f94fcd21b0
... ... --- /dev/null
... ... +++ b/rpmtools.spec
... ... @@ -0,0 +1,450 @@
1
Summary:	Various RPM command-line tools
2
Name:		rpmtools
3
Version:	6.1
4
Release:	%mkrel 1
5
Source0:	%{name}-%{version}.tar.xz
6
License:	GPLv2+
7
Group:		System/Configuration/Packaging
8
URL:		http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/rpm/rpmtools/
9
BuildRoot:	%{_tmppath}/%{name}-buildroot
10
BuildRequires:	perl-devel
11
BuildRequires:	perl-MDV-Packdrakeng
12
BuildRequires:	perl-MDV-Distribconf
13
Requires:	perl-MDV-Distribconf > 3.00
14
Requires:	xz
15
Requires:	genhdlist2
16
Requires:	perl(File::Find)
17
Requires:	perl(File::Path)
18
Requires:	perl(File::Temp)
19
Requires:	perl(Getopt::Long)
20
Requires:	perl(MDV::Distribconf::Build)
21
Requires:	perl(Pod::Usage)
22
Requires:	perl(URPM)
23
Requires:	perl(URPM::Build)
24
Conflicts:	rpmtools-compat <= 2.0
25
Conflicts:	rpmtools-devel <= 2.0
26
Conflicts:	packdrake < 5.0.26
27
28
%description
29
Various tools needed by urpmi and drakxtools for handling rpm files.
30
31
%package -n	packdrake
32
Group:		%{group}
33
Summary:	A simple Archive Extractor/Builder
34
Conflicts:	rpmtools <= 5.0.25
35
Provides:	perl(packdrake)
36
37
%description -n	packdrake
38
Packdrake is a simple indexed archive builder and extractor using
39
standard compression methods.
40
41
%package -n	genhdlist2
42
Group:		%{group}
43
Summary:	Tool to generate urpmi metadata (media_info/*)
44
Conflicts:	rpmtools <= 5.4
45
46
%description -n	genhdlist2
47
genhdlist2 generates hdlist.cz, synthesis.hdlist.cz and *.xml.lzma files used
48
by urpmi
49
50
%prep
51
%setup -q
52
53
%build
54
perl Makefile.PL INSTALLDIRS=vendor
55
%make
56
57
%check
58
%make test
59
60
%install
61
rm -rf %{buildroot}
62
%makeinstall_std
63
64
%clean
65
rm -rf %{buildroot}
66
67
%files
68
%defattr(-,root,root)
69
%{_bindir}/dumpdistribconf
70
%{_bindir}/gendistrib
71
%{_bindir}/genhdlist-old
72
%{_mandir}/man1/dumpdistribconf*
73
%{_mandir}/man1/gendistrib*
74
%{_mandir}/man1/genhdlist-old.*
75
76
%files -n packdrake
77
%defattr(-,root,root)
78
%{_bindir}/packdrake
79
%{perl_vendorlib}/packdrake.pm
80
%{_mandir}/man1/packdrake*
81
82
%files -n genhdlist2
83
%defattr(-,root,root)
84
%{_bindir}/genhdlist2
85
%{_mandir}/man1/genhdlist2*
86
87
88
%changelog
89
* Tue May 31 2011 Per Øyvind Karlsen <peroyvind@mandriva.org> 6.1-1mdv2011.0
90
+ Revision: 682063
91
- add disttag & distepoch to .xml.lzma metadata so that we can parse name,
92
  version, release & arch properly from filename
93
94
* Sun May 08 2011 Eugeni Dodonov <eugeni@mandriva.com> 6.0-4
95
+ Revision: 672593
96
- Use correct locale for genhdlist2 (patch from pterjan, #63229)
97
98
* Fri May 06 2011 Funda Wang <fwang@mandriva.org> 6.0-3
99
+ Revision: 669766
100
- add missing requires
101
102
* Thu May 05 2011 Oden Eriksson <oeriksson@mandriva.com> 6.0-2
103
+ Revision: 669449
104
- mass rebuild
105
106
* Wed Dec 15 2010 Per Øyvind Karlsen <peroyvind@mandriva.org> 6.0-1mdv2011.0
107
+ Revision: 621872
108
- replace 'bzip2' dependency with 'xz'
109
- cleanup spec
110
- new release: 6.0
111
  	o compress xml files with '--text' flag passed to lzma (shrinks
112
  	  files.xml.lzma by 25%% \o/)
113
  	o add support for custom compression filter used for xml-info &
114
  	  synthesis.
115
116
  + Funda Wang <fwang@mandriva.org>
117
    - update URL
118
119
* Thu Jul 22 2010 Funda Wang <fwang@mandriva.org> 5.9-4mdv2011.0
120
+ Revision: 557004
121
- rebuild
122
123
* Wed Mar 17 2010 Oden Eriksson <oeriksson@mandriva.com> 5.9-3mdv2010.1
124
+ Revision: 523930
125
- rebuilt for 2010.1
126
127
* Sun Oct 04 2009 Funda Wang <fwang@mandriva.org> 5.9-2mdv2010.0
128
+ Revision: 453293
129
- perl-Compress-Zlib not needed any more
130
131
* Tue Jan 20 2009 Pixel <pixel@mandriva.com> 5.9-1mdv2009.1
132
+ Revision: 331814
133
- 5.9
134
- drop parsehdlist, rpm2header: unused, partially duplicated with perl-URPM
135
- drop rpm2cpio.pl (doesn't handle lzma payload which is the default)
136
137
* Tue Sep 30 2008 Pixel <pixel@mandriva.com> 5.8-1mdv2009.0
138
+ Revision: 290150
139
- 5.8:
140
- gendistrib:
141
  o don't call genhdlist2 with --no-md5sum for no good reason
142
143
* Tue Sep 23 2008 Pixel <pixel@mandriva.com> 5.7-1mdv2009.0
144
+ Revision: 287193
145
- genhdlist2:
146
  o with --versioned, create "versioned" metadata
147
  o add xml header to xml files generated
148
- gendistrib:
149
  o if "xml-info" is set in media.cfg, pass --xml-info to genhdlist2
150
- parsehdlist, rpm2header
151
  o fix support for rpm5
152
  o update deprecated code
153
- genhdlist-old
154
  o genhdlist is now renamed as genhdlist-old
155
156
* Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 5.6-2mdv2009.0
157
+ Revision: 225335
158
- rebuild
159
160
* Tue Mar 18 2008 Pixel <pixel@mandriva.com> 5.6-1mdv2008.1
161
+ Revision: 188468
162
- 5.6:
163
- gendistrib:
164
  o "askmedia" and "suppl" must not modify gendistrib behaviour (#39017)
165
166
* Wed Mar 05 2008 Pixel <pixel@mandriva.com> 5.5-2mdv2008.1
167
+ Revision: 180075
168
- fix upgrade: new pkg genhdlist2 must conflicts with previous rpmtools
169
170
* Wed Mar 05 2008 Pixel <pixel@mandriva.com> 5.5-1mdv2008.1
171
+ Revision: 179782
172
- move genhdlist2 to its own package
173
- 5.5:
174
- genhdlist2:
175
  o use utf8:: functions instead of Encode
176
    (to be able to work with only perl base modules)
177
178
* Tue Feb 26 2008 Pixel <pixel@mandriva.com> 5.4-1mdv2008.1
179
+ Revision: 175446
180
- 5.4:
181
- parsehdlist, rpm2header:
182
  o do not add/use FILENAME_TAG and FILESIZE_TAG to/in hdlist anymore
183
184
* Tue Feb 05 2008 Pixel <pixel@mandriva.com> 5.3.6-1mdv2008.1
185
+ Revision: 162588
186
- 5.3.6:
187
- genhdlist2:
188
  o fix writing utf8 in xml info files (#37482)
189
190
* Fri Jan 25 2008 Pixel <pixel@mandriva.com> 5.3.5-2mdv2008.1
191
+ Revision: 158001
192
- we can now expect librpm API to be backward compatible
193
194
* Tue Jan 15 2008 Pixel <pixel@mandriva.com> 5.3.5-1mdv2008.1
195
+ Revision: 152579
196
- 5.3.5:
197
- genhdlist2:
198
  o rename --xml-media-info into --xml-info
199
    (to be coherent with urpmi)
200
201
  + Olivier Blin <oblin@mandriva.com>
202
    - restore BuildRoot
203
204
* Tue Dec 18 2007 Pixel <pixel@mandriva.com> 5.3.4-1mdv2008.1
205
+ Revision: 132233
206
- 5.3.4:
207
- genhdlist2:
208
  o add --no-hdlist option (to be used by urpmi for --probe-rpms)
209
210
  + Thierry Vignaud <tv@mandriva.org>
211
    - kill re-definition of %%buildroot on Pixel's request
212
213
* Mon Dec 17 2007 Pixel <pixel@mandriva.com> 5.3.3-1mdv2008.1
214
+ Revision: 121717
215
- require rpm used for build, including epoch
216
- 5.3.3:
217
- genhdlist2:
218
  o generate {info,changelog,files}.xml.lzma when they already exist,
219
    or when --xml-media-info is used
220
  o error message when parse_hdlist (partially) fail
221
  o handle old-rpms.lst (to be generated by youri)
222
    which will allow keeping rpms for some time without having in hdlist
223
    (useful for installs which expect the pkgs to be in sync in hdlist during
224
    the full install time)
225
    it will also allow keeping deprecated packages for some time
226
227
* Fri Jun 22 2007 Pixel <pixel@mandriva.com> 5.3.2-1mdv2008.0
228
+ Revision: 43048
229
- bug fix release
230
- gendistrib:
231
  o do generate global MD5SUM (in media/media_info)
232
- new release, 5.3.1
233
- genhdlist2:
234
  o add --allow-empty-media
235
  o fix MD5SUM generation
236
  o allow using this script with perl-URPM 1.47 (ie mdv2007.0)
237
- gendistrib:
238
  o call genhdlist2 instead of doing things here
239
  o media/media_info/hdlist_xxx_yyy.cz is now a symlink to media/xxx/yyy/media_info/hdlist.cz
240
  o synthesis.hdlist_xxx_yyy.cz and pubkey_xxx_yyy are also symlinks now
241
- parsehdlist:
242
  o display pkgsize with --all (Christiaan Welvaart)
243
244
* Fri Jun 15 2007 Pixel <pixel@mandriva.com> 5.2.1-1mdv2008.0
245
+ Revision: 40155
246
- new genhdlist2 (which will deprecate genhdlist)
247
248
* Mon Jun 11 2007 Olivier Thauvin <nanardon@mandriva.org> 5.2.0-1mdv2008.0
249
+ Revision: 37979
250
- 5.2.0 (kill old compat modules)
251
252
* Sun Jun 10 2007 Olivier Thauvin <nanardon@mandriva.org> 5.1.0-2mdv2008.0
253
+ Revision: 37965
254
- rebuild for rpm 4.4.8
255
256
257
* Tue Aug 22 2006 Olivier Thauvin <nanardon@mandriva.org>
258
+ 2006-08-22 13:48:39 (57497)
259
- 5.1.0
260
261
* Mon Aug 21 2006 Olivier Thauvin <nanardon@mandriva.org>
262
+ 2006-08-21 15:18:37 (57022)
263
- 5.0.29
264
265
* Mon Aug 21 2006 Olivier Thauvin <nanardon@mandriva.org>
266
+ 2006-08-21 14:33:43 (57000)
267
Import rpmtools
268
269
* Mon Mar 20 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.28-1mdk
270
- Add --norecursive option to genhdlist (M. Scherer)
271
272
* Wed Mar 15 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.27-2mdk
273
- Rebuild for rpm 4.4.5
274
275
* Mon Jan 16 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.27-1mdk
276
- Replace serial by epoch everywhere in parsehdlist (rpm 4.4.4 compatibility)
277
- Fix BuildRequires
278
- Misc. code cleanup in gendistrib
279
280
* Fri Dec 30 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.26-2mdk
281
- Bump conflicts due to file moves
282
- Don't install empty manpages
283
- Update copyright notices
284
285
* Wed Nov 16 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.26-1mdk
286
- Use MDV:: perl modules, replaces the ones shipped by compatibility wrappers
287
- Move packdrake manpage to packdrake rpm
288
- gendistrib: Fix the location where the MD5SUM files are generated
289
  (thanks joeghi)
290
291
* Mon Oct 03 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.25-1mdk
292
- Documentation: new manpages for gendistrib, genhdlist, dumpdistribconf.
293
  More internal docs for Perl modules.
294
- gendistrib: new --version switch. Remove --distrib switch.
295
- Use Pod::Usage to implement --help in Perl tools
296
- Many code cleanups.
297
- dumpdistribconf wasn't working.
298
- genhdlist has new switches --md5sum, --list and --subdir. --headersdir has
299
  been removed since it uses File::Temp now.
300
- Remove build dependency on MDK::Common (Buchan Milne)
301
302
* Wed Sep 14 2005 Olivier Thauvin <nanardon@zarb.org> 5.0.24-1mdk
303
- 5.0.24 (gendistrib improvement && s/mandrake/mandriva/)
304
305
* Tue Aug 23 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.23-1mdk
306
- packdrake: fix bug in urpmq --headers (17245)
307
308
* Mon Aug 22 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.22-1mdk
309
- Minor code fixes and better error messages
310
311
* Mon Jun 20 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.21-1mdk
312
- Create tempfiles in $TMPDIR instead of $TMP
313
- Nits in error message reporting
314
315
* Tue May 10 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.0.20-2mdk
316
- Rebuild for rpm 4.4
317
318
* Mon Apr 04 2005 Pixel <pixel@mandrakesoft.com> 5.0.20-1mdk
319
- packdrake: remove dirty message when decompressing without Compress::Zlib
320
321
* Tue Mar 29 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.19-1mdk
322
- gendistrib: fix a bug in creation of media_info directories
323
324
* Mon Mar 14 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.18-1mdk
325
- gendistrib: build hdlists in a temporary file first, to reduce the window
326
  where the hdlists are corrupted
327
328
* Mon Mar 07 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.17-1mdk
329
- gendistrib: fix generation of per-media MD5SUM files. Plus doc nits.
330
331
* Tue Mar 01 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.16-1mdk
332
- packdrake: report size of toc (for rpmdrake's search progress bar)
333
- parsehdlist: add support to output SQL statements (Leon Brooks)
334
335
* Tue Feb 22 2005 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.15-1mdk
336
- generate VERSION
337
- split Distribconf with Build
338
- gendistrib: --skipmissingdir
339
- gendistrib: perform little check
340
341
* Mon Feb 21 2005 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.14-1mdk
342
- fix undefined handle in write_hdlists
343
344
* Mon Feb 21 2005 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.13-1mdk
345
- Distribconf manage pubkey
346
- use lowercase name to generate filename (hdlist,synthesis,pubkey)
347
- rpmtools conflict packdrake < 5.0.10 (man page, thx Warly)
348
349
* Mon Feb 21 2005 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.12-1mdk
350
- gendistrib skip media if suppl or askmedia is set
351
352
* Sun Feb 20 2005 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.11-1mdk
353
- add Distribconf.pm and dumpdistribconf to manage distrib config
354
- gendistrib use Distribconf.pm
355
356
* Thu Feb 17 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.10-1mdk
357
- gendistrib:
358
  - Generate hdlists and synthesis as hard links in <name>/media_info
359
    subdirectories
360
  - Handle new hdlists format
361
  - Generate MD5SUM files
362
363
* Mon Jan 17 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.9-1mdk
364
- genhdlist now follows symlinks
365
- minor fixes in Packdrakeng
366
367
* Mon Jan 03 2005 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.8-1mdk
368
- Fix the previous speedup
369
- BuildRequires perl-Compress-Zlib
370
371
* Thu Dec 30 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.7-1mdk
372
- speedup uncompress function
373
374
* Fri Dec 17 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.6-1mdk
375
- Ensure Packdrakeng::zlib loads properly, and is not used if Compress::Zlib
376
  is not available. Remove Compress::Zlib from BuildRequires
377
- packdrake: show a warning when an archive can't be found
378
- more docs
379
380
* Tue Dec 14 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.5-1mdk
381
- Fix the "quiet" option of packdrake (so urpmq and other tools don't produce
382
  warnings)
383
384
* Tue Dec 14 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.4-1mdk
385
- extract_archive() function in packdrake should do nothing if no file list
386
  is specified
387
- drop the requirement of packdrake on Compress::Zlib
388
389
* Mon Dec 13 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.3-1mdk
390
- don't use File::* modules (light for gi)
391
- conflict rpmtools <= 5.0.0 (split package)
392
393
* Mon Dec 13 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.2-1mdk
394
- add missing Packdrake/zlib.pm
395
396
* Mon Dec 13 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.1-1mdk
397
- split package
398
399
* Sun Dec 12 2004 Stefan van der Eijk <stefan@eijk.nu> 5.0.0-3mdk
400
- BuildRequires
401
402
* Thu Dec 09 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 5.0.0-2mdk
403
- Mostly doc fixes
404
405
* Mon Dec 06 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.0.0-1mdk
406
- 5.0.0
407
- Packdrakeng, new code
408
409
* Thu Sep 02 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 4.5-25mdk
410
- Make rpm tools handle new keywords in hdlists file.
411
412
* Wed Aug 18 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 4.5-24mdk
413
- Add rpm2cpio.pl
414
415
* Wed Aug 11 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 4.5-23mdk
416
- Don't include internal dependencies of the rpmlib in the parsehdlist output
417
418
* Thu Jul 22 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 4.5-22mdk
419
- Updates for the new media layout in cooker
420
421
* Mon Jul 05 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 4.5-21mdk
422
- Minor changes
423
424
* Fri Apr 23 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 4.5-20mdk
425
- add a --quiet option to packdrake
426
- rebuild for perl 5.8.4, and add a dependency on perl-base
427
428
* Wed Feb 25 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.5-19mdk
429
- rebuild for perl 5.8.3
430
431
* Fri Jan 16 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.5-18mdk
432
- Fix genhdlist without arg
433
434
* Fri Jan 16 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.5-17mdk
435
- add --dest option to genhdlist
436
- fix dir parsing (Thx Pascal Terjan)
437
438
* Fri Jan 09 2004 Warly <warly@mandrakesoft.com> 4.5-16mdk
439
- add provides perl(packdrake)
440
441
* Mon Jan 05 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.5-15mdk
442
- add some options to gendistrib/genhdlist
443
444
* Tue Dec 09 2003 Franois Pons <fpons@mandrakesoft.com> 4.5-14mdk
445
- added compability with RH 7.3.
446
447
* Thu Aug 28 2003 Franois Pons <fpons@mandrakesoft.com> 4.5-13mdk
448
- added support for %%{ARCH} in gendistrib.
449
- removing remaining MD5SUM files when running gendistrib.
450

Comments