auto-import cdrkit-1.1.2-3.fc7 on branch devel from
cdrkit-1.1.2-3.fc7.src.rpm
This commit is contained in:
parent
39a0294109
commit
df87077323
@ -0,0 +1 @@
|
|||||||
|
cdrkit-1.1.2.tar.gz
|
144
cdrkit.spec
Normal file
144
cdrkit.spec
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
Summary: A collection of CD/DVD utilities
|
||||||
|
Name: cdrkit
|
||||||
|
Version: 1.1.2
|
||||||
|
Release: 3%{?dist}
|
||||||
|
License: GPL
|
||||||
|
Group: Applications/System
|
||||||
|
URL: http://cdrkit.org/
|
||||||
|
Source: http://debburn.alioth.debian.org/cdrkit-%{version}.tar.gz
|
||||||
|
BuildRequires: cmake libcap-devel zlib-devel perl
|
||||||
|
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
%description
|
||||||
|
cdrkit is a collection of CD/DVD utilities.
|
||||||
|
|
||||||
|
%package -n wodim
|
||||||
|
Summary: A command line CD/DVD recording program
|
||||||
|
Group: Applications/Archiving
|
||||||
|
Obsoletes: dvdrecord <= 0:0.1.5
|
||||||
|
Provides: dvdrecord = 0:0.1.5.1
|
||||||
|
Obsoletes: cdrecord <= 9:2.01-10
|
||||||
|
Provides: cdrecord = 9:2.01-10.1
|
||||||
|
|
||||||
|
%description -n wodim
|
||||||
|
Wodim is an application for creating audio and data CDs. Wodim
|
||||||
|
works with many different brands of CD recorders, fully supports
|
||||||
|
multi-sessions and provides human-readable error messages.
|
||||||
|
|
||||||
|
%package -n genisoimage
|
||||||
|
Summary: Creates an image of an ISO9660 filesystem
|
||||||
|
Group: Applications/System
|
||||||
|
Obsoletes: mkisofs <= 9:2.01-10
|
||||||
|
Provides: mkisofs = 9:2.01-10.1
|
||||||
|
Requires: perl >= 4:5.8.1
|
||||||
|
|
||||||
|
%description -n genisoimage
|
||||||
|
The genisoimage program is used as a pre-mastering program; i.e., it
|
||||||
|
generates the ISO9660 filesystem. Genisoimage takes a snapshot of
|
||||||
|
a given directory tree and generates a binary image of the tree
|
||||||
|
which will correspond to an ISO9660 filesystem when written to
|
||||||
|
a block device. Genisoimage is used for writing CD-ROMs, and includes
|
||||||
|
support for creating bootable El Torito CD-ROMs.
|
||||||
|
|
||||||
|
Install the genisoimage package if you need a program for writing
|
||||||
|
CD-ROMs.
|
||||||
|
|
||||||
|
%package -n icedax
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
Summary: A utility for sampling/copying .wav files from digital audio CDs
|
||||||
|
Obsoletes: cdda2wav <= 9:2.01-10
|
||||||
|
Provides: cdda2wav = 9:2.01-10.1
|
||||||
|
|
||||||
|
%description -n icedax
|
||||||
|
Icedax is a sampling utility for CD-ROM drives that are capable of
|
||||||
|
providing a CD's audio data in digital form to your host. Audio data
|
||||||
|
read from the CD can be saved as .wav or .sun format sound files.
|
||||||
|
Recording formats include stereo/mono, 8/12/16 bits and different
|
||||||
|
rates. Icedax can also be used as a CD player.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
find . -type f -print0 | xargs -0 perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g'
|
||||||
|
find doc -type f -print0 | xargs -0 chmod a-x
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir fedora
|
||||||
|
cd fedora
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
export FFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
cmake .. \
|
||||||
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
||||||
|
-DBUILD_SHARED_LIBS:BOOL=ON
|
||||||
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
cd fedora
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
ln -s genisoimage $RPM_BUILD_ROOT%{_bindir}/mkisofs
|
||||||
|
ln -s genisoimage $RPM_BUILD_ROOT%{_bindir}/mkhybrid
|
||||||
|
ln -s icedax $RPM_BUILD_ROOT%{_bindir}/cdda2wav
|
||||||
|
ln -s wodim $RPM_BUILD_ROOT%{_bindir}/cdrecord
|
||||||
|
ln -s wodim $RPM_BUILD_ROOT%{_bindir}/dvdrecord
|
||||||
|
perl -pi -e 's#^require v5.8.1;##g' $RPM_BUILD_ROOT%{_bindir}/dirsplit
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files -n wodim
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc Changelog COPYING FAQ FORK START
|
||||||
|
%doc doc/READMEs doc/wodim
|
||||||
|
%{_bindir}/devdump
|
||||||
|
%{_bindir}/wodim
|
||||||
|
%{_bindir}/cdrecord
|
||||||
|
%{_bindir}/dvdrecord
|
||||||
|
%{_bindir}/readom
|
||||||
|
%{_sbindir}/netscsid
|
||||||
|
%{_mandir}/man1/devdump.*
|
||||||
|
%{_mandir}/man1/wodim.*
|
||||||
|
%{_mandir}/man1/readom.*
|
||||||
|
|
||||||
|
%files -n icedax
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc doc/icedax COPYING
|
||||||
|
%{_bindir}/icedax
|
||||||
|
%{_bindir}/cdda2wav
|
||||||
|
%{_bindir}/cdda2mp3
|
||||||
|
%{_bindir}/cdda2ogg
|
||||||
|
%{_mandir}/man1/icedax.*
|
||||||
|
%{_mandir}/man1/cdda2ogg.*
|
||||||
|
%{_mandir}/man1/list_audio_tracks.*
|
||||||
|
|
||||||
|
%files -n genisoimage
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc doc/genisoimage COPYING
|
||||||
|
%{_bindir}/mkisofs
|
||||||
|
%{_bindir}/mkhybrid
|
||||||
|
%{_bindir}/genisoimage
|
||||||
|
%{_bindir}/isodebug
|
||||||
|
%{_bindir}/isodump
|
||||||
|
%{_bindir}/isoinfo
|
||||||
|
%{_bindir}/isovfy
|
||||||
|
%{_bindir}/dirsplit
|
||||||
|
%{_bindir}/pitchplay
|
||||||
|
%{_bindir}/readmult
|
||||||
|
%{_mandir}/man5/genisoimagerc.*
|
||||||
|
%{_mandir}/man1/genisoimage.*
|
||||||
|
%{_mandir}/man1/isodebug.*
|
||||||
|
%{_mandir}/man1/isodump.*
|
||||||
|
%{_mandir}/man1/isoinfo.*
|
||||||
|
%{_mandir}/man1/isovfy.*
|
||||||
|
%{_mandir}/man1/dirsplit.*
|
||||||
|
%{_mandir}/man1/pitchplay.*
|
||||||
|
%{_mandir}/man1/readmult.*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 1.1.2-3%{?dist}
|
||||||
|
- applied specfile changes as in bug #224365
|
||||||
|
|
||||||
|
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 1.1.2-1
|
||||||
|
- version 1.1.2
|
Loading…
Reference in New Issue
Block a user