ALT Linux repos
S: | 2.3-alt1 |
D: | 1.0.0-alt2.0 |
5.0: | 1.0.0-alt2 |
4.1: | 1.0.0-alt1.7b3cvs20040826 |
4.0: | 1.0.0-alt1.7b3cvs20040826 |
3.0: | 1.0.0-alt1.6b3cvs20040826 |
Group :: Archiving/Cd burning
RPM: udftools
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _name linux-udf
%define prerel b3
%define cvs_date 20040826
Name: udftools
Version: 1.0.0
%define release alt1.6%prerel
%ifdef cvs_date
Release: %{release}cvs%cvs_date
%else
Release: %release
%endif
Summary: Tools for work with UDF filesystems and CD-R(W)/DVD packet writing drives
Group: Archiving/Cd burning
License: GPL
Url: http://%_name.sourceforge.net
%ifdef cvs_date
Source0: %name-%version%prerel-%cvs_date.tar.bz2
%else
Source0: http://prdownloads.sourceforge.net/%_name/%name-%version%prerel.tar.gz
%endif
Source1: %name.default
Source2: %name.init
Patch0: %name-%version%prerel.patch.bz2
Patch1: %name-wrudf-gcc4.patch
BuildPreReq: kernel-headers-std
# Automatically added by buildreq on Sun Nov 02 2003
BuildRequires: gcc-c++ libncurses-devel libreadline-devel libstdc++-devel
%description
%name includes:
- mkudffs is a tool to create a UDF(Universal Disk Format) filesystem on a device.
- pktsetup to associate packet devices with CD or DVD block
devices, so that the packet device can then be mounted and potentially
used as a read/write filesystem. This requires kernel support for the
packet device, and the UDF filesystem.
- cdwrtool tool that can perform certain actions on a CD-R, CD-RW, or DVD-R
device. Mainly these are blanking the media, formating it for use with
the packet-cd device, and applying an UDF filesystem.
- wrudf to maintain a UDF filesystem
%prep
%ifdef cvs_date
%setup -q -n %name
%else
%setup -q -n %name-%version%prerel
%endif
%patch0 -p1
%patch1 -p1
%build
%ifdef cvs_date
%__rm -f missing
%__libtoolize --copy --force
%__aclocal
%__autoheader
%__automake -a -c -f
%__autoconf
%endif
%configure
%make_build
%install
%makeinstall
%__mkdir_p %buildroot%_sysconfdir/{modutils.d,sysconfig}
%__mkdir_p %buildroot%_initrddir
%__cat <<__EOF__ > %buildroot%_sysconfdir/modutils.d/udf
alias block-major-97 pktcdvd
alias /dev/pktcdvd[0-9]* pktcdvd
__EOF__
%__install -m644 %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name
%__install -m755 %SOURCE2 %buildroot%_initrddir/%name
%files
%_initrddir/%name
%_bindir/*
%_man1dir/*
%_man8dir/*
%config(noreplace) %_sysconfdir/modutils.d/udf
%config(noreplace) %_sysconfdir/sysconfig/%name
%changelog
…
Full changelog you can see here
%define prerel b3
%define cvs_date 20040826
Name: udftools
Version: 1.0.0
%define release alt1.6%prerel
%ifdef cvs_date
Release: %{release}cvs%cvs_date
%else
Release: %release
%endif
Summary: Tools for work with UDF filesystems and CD-R(W)/DVD packet writing drives
Group: Archiving/Cd burning
License: GPL
Url: http://%_name.sourceforge.net
%ifdef cvs_date
Source0: %name-%version%prerel-%cvs_date.tar.bz2
%else
Source0: http://prdownloads.sourceforge.net/%_name/%name-%version%prerel.tar.gz
%endif
Source1: %name.default
Source2: %name.init
Patch0: %name-%version%prerel.patch.bz2
Patch1: %name-wrudf-gcc4.patch
BuildPreReq: kernel-headers-std
# Automatically added by buildreq on Sun Nov 02 2003
BuildRequires: gcc-c++ libncurses-devel libreadline-devel libstdc++-devel
%description
%name includes:
- mkudffs is a tool to create a UDF(Universal Disk Format) filesystem on a device.
- pktsetup to associate packet devices with CD or DVD block
devices, so that the packet device can then be mounted and potentially
used as a read/write filesystem. This requires kernel support for the
packet device, and the UDF filesystem.
- cdwrtool tool that can perform certain actions on a CD-R, CD-RW, or DVD-R
device. Mainly these are blanking the media, formating it for use with
the packet-cd device, and applying an UDF filesystem.
- wrudf to maintain a UDF filesystem
%prep
%ifdef cvs_date
%setup -q -n %name
%else
%setup -q -n %name-%version%prerel
%endif
%patch0 -p1
%patch1 -p1
%build
%ifdef cvs_date
%__rm -f missing
%__libtoolize --copy --force
%__aclocal
%__autoheader
%__automake -a -c -f
%__autoconf
%endif
%configure
%make_build
%install
%makeinstall
%__mkdir_p %buildroot%_sysconfdir/{modutils.d,sysconfig}
%__mkdir_p %buildroot%_initrddir
%__cat <<__EOF__ > %buildroot%_sysconfdir/modutils.d/udf
alias block-major-97 pktcdvd
alias /dev/pktcdvd[0-9]* pktcdvd
__EOF__
%__install -m644 %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name
%__install -m755 %SOURCE2 %buildroot%_initrddir/%name
%files
%_initrddir/%name
%_bindir/*
%_man1dir/*
%_man8dir/*
%config(noreplace) %_sysconfdir/modutils.d/udf
%config(noreplace) %_sysconfdir/sysconfig/%name
%changelog
…
Full changelog you can see here