]> git.pld-linux.org Git - packages/cdrtools.git/blob - cdrtools.spec
- 2.01a11
[packages/cdrtools.git] / cdrtools.spec
1 Summary:        A command line CD/DVD-Recorder
2 Summary(pl):    Program do nagrywania p³yt CD/DVD
3 Name:           cdrtools
4 Version:        2.01a11
5 Release:        1
6 Epoch:          2
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        ftp://ftp.berlios.de/pub/cdrecord/alpha/%{name}-%{version}.tar.bz2
10 Patch0:         %{name}-config.patch
11 Patch1:         %{name}-smmap.patch
12 Patch2:         %{name}-silo.patch
13 Patch3:         %{name}-man.patch
14 URL:            http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 Obsoletes:      cdrecord
18 Provides:       cdrecord
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Cdrecord allows you to create CD's on a CD-Recorder (SCSI/ATAPI).
23 Supports data, audio, mixed, multi-session and CD+ discs etc.
24
25 %description -l pl
26 Cdrecord pozwala tworzyæ CD na nagrywarce CD (SCSI/ATAPI). Obs³uguje
27 dyski z danymi, d¼wiêkiem, mieszane, wielosesyjne, CD+ i inne.
28
29 %package devel
30 Summary:        The libschily SCSI user level transport library
31 Summary(pl):    Biblioteka dostêpu do poziomu SCSI przez u¿ytkownika
32 Group:          Development/Libraries
33 Obsoletes:      cdrecord-devel
34
35 %description devel
36 The %{name} distribution contains a SCSI user level transport library.
37 The SCSI library is suitable to talk to any SCSI device without having
38 a special driver for it. Cdrecord may be easily ported to any system
39 that has a SCSI device driver similar to the scg driver.
40
41 %description devel -l pl
42 Dystrybucja %{name} zawiera bibliotekê dostêpu do warstwy transportu w
43 SCSI. Poprzez bibliotekê mo¿na komunikowaæ siê z dowolnym urz±dzeniem
44 SCSI bez potrzeby posiadania specjalnego sterownika do tego
45 urz±dzenia.
46
47 %package cdda2wav
48 Summary:        Get WAV files from digital audio cd's
49 Summary(pl):    Uzyskaj pliki WAV z cyfrowego kompaktu audio
50 Summary(fr):    convertisseur CD-Audio->.wav
51 Group:          Applications/Sound
52 Provides:       cdda2wav
53 Obsoletes:      cdda2wav
54 Obsoletes:      cdrecord-cdda2wav
55
56 %description cdda2wav
57 A sampling utility for cdrom drives that are capable of sending audio
58 cd data in digital form to your host. Data can be dumped into wav or
59 sun format sound files. Options control the recording format
60 (stereo/mono; 8,12,16 bits; different rates).
61
62 %description cdda2wav -l pl
63 Narzêdzie do zczytywania danych z napêdów cdrom, które s± w stanie
64 wysy³aæ strumieñ audio. Dane mog± zostaæ zapisane w formacie plików
65 wav lub suna.
66
67 %package readcd
68 Summary:        Read/Write data Compact Discs
69 Summary(pl):    Odczytuje/Zapisuje dane z P³yt Kompaktowych
70 Group:          Applications/System
71 Obsoletes:      cdrecord-readcd
72
73 %description readcd
74 Read/Write data Compact Discs
75
76 %description readcd -l pl
77 Odczytuje/Zapisuje dane z P³yt Kompaktowych
78
79 %package utils
80 Summary:        Dumping and verifying iso9660 images
81 Summary(pl):    Zrzucanie i weryfikacja obrazów iso9660
82 Group:          Applications/System
83
84 %description utils
85 Utility programs for dumping and verifying iso9660 images.
86
87 %description utils -l pl
88 Narzêdzia do zrzucania i weryfikacji obrazów iso9660.
89
90 %package mkisofs
91 Summary:        Creates an ISO9660 filesystem image
92 Summary(de):    Erstellt ein Dateisystem-Abbild nach ISO9660
93 Summary(fr):    Crée un image système de fichiers ISO9660
94 Summary(pl):    Tworzy obraz systemu plików ISO9660
95 Summary(tr):    ISO9660 dosya sistemi kopyasý oluþturur
96 Group:          Applications/System
97 Provides:       mkisofs
98 Obsoletes:      mkisofs
99
100 %description mkisofs
101 This is the mkisofs package. It is used to create ISO 9660 file system
102 images for creating CD-ROMs.
103
104 %description mkisofs -l pl
105 To jest pakiet mkisofs. Jest on u¿ywany do tworzenia obrazów systemów
106 plików ISO9660 potrzebnych do tworzenia p³yt CD-ROM.
107
108 %prep
109 %setup -q -n cdrtools-2.01
110 chmod +w -R *
111 %patch0 -p1
112 %patch1 -p1
113 %ifarch sparc sparcv9 sparc64
114 %patch2 -p1
115 %endif
116 %patch3 -p1
117
118 %build
119 cd conf
120 cp xconfig.h.in xconfig.h.in.org
121 sed -e 's#/\*.*\*/##g' xconfig.h.in.org > xconfig.h.in
122 rm -f acgeneral.m4 acspecific.m4 autoheader.m4 acoldnames.m4 autoconf.m4
123 %{__aclocal}
124 %{__autoconf}
125 cd ..
126 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" ./Gmake.linux
127
128 %install
129 rm -rf $RPM_BUILD_ROOT
130 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_includedir}/schily/scg}
131
132 ./Gmake.linux install \
133         MANDIR=share/man \
134         INS_BASE=$RPM_BUILD_ROOT%{_prefix}
135
136 install cdda2wav/cdda2mp3       $RPM_BUILD_ROOT%{_bindir}/
137 install cdda2wav/cdda2ogg       $RPM_BUILD_ROOT%{_bindir}/
138
139 # Installing Header files for use with devel package
140 rm -f include/scg
141
142 install include/*               $RPM_BUILD_ROOT%{_includedir}/schily
143 install incs/*/xconfig.h        $RPM_BUILD_ROOT%{_includedir}/schily
144 install libscg/scg/*            $RPM_BUILD_ROOT%{_includedir}/schily/scg
145
146 install cdrecord/cdrecord.dfl   $RPM_BUILD_ROOT%{_sysconfdir}/cdrecord.conf
147
148 # fix manual pages
149 echo ".so man8/isoinfo.8" >     $RPM_BUILD_ROOT%{_mandir}/man8/devdump.8
150 echo ".so man8/isoinfo.8" >     $RPM_BUILD_ROOT%{_mandir}/man8/isovfy.8
151 echo ".so man8/isoinfo.8" >     $RPM_BUILD_ROOT%{_mandir}/man8/isodump.8
152
153 %clean
154 rm -rf $RPM_BUILD_ROOT
155
156 %files
157 %defattr(644,root,root,755)
158 %doc AN-* doc/cdrecord.ps Changelog README README.ATAPI README.DiskT@2
159 %doc README.WORM README.audio README.cdplus README.cdtext README.cdrw
160 %doc README.copy README.linux README.mkisofs README.multi README.parallel
161 %doc README.raw README.rscsi README.sony README.verify make_diskt@2.sh
162 %doc cdrecord/cdrecord.dfl cdrecord/LICENSE
163 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/cdrecord.conf
164 %attr(755,root,root) %{_bindir}/cdrecord
165 %attr(755,root,root) %{_bindir}/scgcheck
166 %attr(755,root,root) %{_sbindir}/rscsi
167 %{_mandir}/man1/cdrecord.1*
168 %{_mandir}/man1/scgcheck.1*
169
170 %files devel
171 %defattr(644,root,root,755)
172 %{_libdir}/lib*.a
173 %{_includedir}/schily
174 %{_includedir}/*.h
175 #%attr(755,root,root) %{_bindir}/scgcheck
176 #%%{_mandir}/man1/scgcheck.1*
177
178 %files cdda2wav
179 %defattr(644,root,root,755)
180 %doc cdda2wav/Frontends cdda2wav/HOWTOUSE cdda2wav/OtherProgs
181 %doc cdda2wav/README cdda2wav/THANKS cdda2wav/TODO
182 %doc cdda2wav/cdda2mp3.new cdda2wav/cdda_links cdda2wav/pitchplay
183 %doc cdda2wav/readmult cdda2wav/tracknames.pl cdda2wav/tracknames.txt
184 %doc cdda2wav/FAQ
185 %attr(755,root,root) %{_bindir}/cdda2wav
186 %attr(755,root,root) %{_bindir}/cdda2mp3
187 %attr(755,root,root) %{_bindir}/cdda2ogg
188 %{_mandir}/man1/cdda2wav.1*
189 %{_mandir}/man1/cdda2ogg.1*
190
191 %files readcd
192 %defattr(644,root,root,755)
193 %{_mandir}/man1/readcd.1*
194 %attr(755,root,root) %{_bindir}/readcd
195
196 %files utils
197 %defattr(644,root,root,755)
198 %{_mandir}/man8/isoinfo.8*
199 %{_mandir}/man8/devdump.8*
200 %{_mandir}/man8/isovfy.8*
201 %{_mandir}/man8/isodump.8*
202 %attr(755,root,root) %{_bindir}/devdump
203 %attr(755,root,root) %{_bindir}/isodebug
204 %attr(755,root,root) %{_bindir}/isoinfo
205 %attr(755,root,root) %{_bindir}/isovfy
206 %attr(755,root,root) %{_bindir}/isodump
207
208 %files mkisofs
209 %defattr(644,root,root,755)
210 %{_mandir}/man8/mkisofs.8*
211 %{_mandir}/man8/mkhybrid.8*
212 %attr(755,root,root) %{_bindir}/mkisofs
213 %attr(755,root,root) %{_bindir}/mkhybrid
214 %doc mkisofs/README.compression mkisofs/README.eltorito mkisofs/README
215 %doc mkisofs/README.graft_dirs mkisofs/README.hfs_boot mkisofs/README.hfs_magic
216 %doc mkisofs/README.hide mkisofs/README.joliet mkisofs/README.mkhybrid
217 %doc mkisofs/README.prep_boot mkisofs/README.rootinfo mkisofs/README.session
218 %doc mkisofs/README.sort mkisofs/README.sparcboot
This page took 0.047235 seconds and 4 git commands to generate.