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