change the package "pretty name" to CDimg|tools
[cdimgtools.git] / cdimgtools.spec.in
blob6897a68a9457827964ac6d30a339e722bcde4b60
1 # -*- mode: rpm-spec-mode; encoding: utf-8 -*-
2 # vim: ft=spec noexpandtab
3 # cdimgtools.spec: generated from cdimgtools.spec.in by Makefile
4 # Pass '--without docs' to rpmbuild if you don't want the documentation to be built
6 Name: cdimgtools
7 Summary: command line tools to inspect and manipulate certain CD/DVD image files
8 Version: @@VERSION@@
9 Release: 0.4%{?dist}
10 License: GPLv2
11 Group: Applications/Multimedia
12 Vendor: Géraud Meyer <g_raud@gna.org>
13 URL: https://gna.org/projects/cdimgtools
14 Source: %{name}-%{version}.tar.gz
15 BuildRequires: libdvdcss-devel, libdvdread-devel%{!?_without_docs:, asciidoc > 6.0.3, perl-doc}
16 Requires: perl, libdvdcss, libdvdread
18 %description
19 CDimg|tools is a set of command line tools to inspect and manipulate CD/DVD
20 optical disc images of formats uncommon on free UNIX-like systems (like
21 GNU/Linux or BSD).
23 raw96cdconv:
24 This command is a Perl script that demultiplexes/multiplexes stream data
25 (audio, raw data or .iso format data) and sub-channel data from a RAW+96
26 image file. It handles optical disc images containing stream data and
27 sub-channel data of a given sector at contiguous positions; this kind of
28 image file may be either directly created by a ripping program like
29 readcd(1) or cdrdao(1), or extracted from another image file by
30 nrgtool(1).
32 nrgtool:
33 This command is a Perl script that reads .nrg images (created by Nero),
34 prints the metadata about the image, and extracts, for each track, the raw
35 data to a separate file; disc types such as CDDA, CD-extra and
36 (multi-session) CD-ROM/DVD-ROM are supported.
38 cssdec:
39 This command decrypts CSS-scrambled VOB files or streams found on DVD
40 Video discs; the title key is obtained transparently by libdvdcss.
42 dvdimgdecss:
43 This command decrypts CSS-scrambled DVD Video discs or image files; it
44 writes a similar image file containing the same data at the same location;
45 the UDF filesystem of the disc is left intact.
47 %prep
48 %setup -q
50 %build
51 %configure
52 %{__make} \
53 all %{!?_without_docs: doc-man doc-html} %{?_without_docs: doc-txt}
55 %install
56 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
57 %{__make} DESTDIR=$RPM_BUILD_ROOT \
58 install %{!?_without_docs: install-doc-man}
60 %clean
61 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
63 %files
64 %defattr(-,root,root)
65 %{_bindir}/*
66 %doc README NEWS INSTALL BUGS COPYING ChangeLog
67 %{!?_without_docs: %{_mandir}/man1/*.1*}
68 %{!?_without_docs: %doc *.html}
69 %{?_without_docs: %doc *.txt}
71 %changelog
72 * Tue Jan 08 2013 Géraud Meyer <graud@gmx.com>
73 - Changelog renamed to ChangeLog
74 * Mon Dec 31 2012 Géraud Meyer <graud@gmx.com>
75 - Use autoconf
76 - Depend on libdvdread
77 - Install the text version of NEWS
78 - Updated description
79 * Fri Dec 14 2012 Géraud Meyer <graud@gmx.com>
80 - Depend on libdvdcss
81 - Disable noarch
82 * Sun Nov 18 2012 Géraud Meyer <graud@gmx.com>
83 - First packaging