1 |
blino |
72137 |
%define name draklive |
2 |
tmb |
232656 |
%define version 2.0 |
3 |
blino |
72140 |
%define release %mkrel 1 |
4 |
blino |
72137 |
|
5 |
|
|
Summary: Live systems generation and copying tool |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Release: %{release} |
9 |
|
|
Source0: %{name}-%{version}.tar.xz |
10 |
|
|
License: GPLv2+ |
11 |
|
|
Group: System/Configuration/Other |
12 |
|
|
Url: http://wiki.mandriva.com/Development/Packaging/Tools/draklive |
13 |
|
|
BuildArch: noarch |
14 |
|
|
Requires: syslinux grub |
15 |
blino |
99844 |
Requires: cdrkit cdrkit-genisoimage mgatools |
16 |
blino |
99358 |
Requires: curl rsync dosfstools mtools patch squashfs-tools setarch urpmi |
17 |
blino |
99845 |
Suggests: draklive-config |
18 |
blino |
72137 |
Suggests: drakx-installer-images drakx-installer-rescue |
19 |
|
|
Suggests: x11-server-xnest mkisofs |
20 |
|
|
|
21 |
|
|
%description |
22 |
blino |
72140 |
This tool lets you generate %{_vendor} live systems. |
23 |
blino |
72137 |
|
24 |
|
|
%prep |
25 |
|
|
%setup -q |
26 |
|
|
|
27 |
|
|
%build |
28 |
|
|
|
29 |
|
|
%install |
30 |
|
|
rm -rf %{buildroot} |
31 |
|
|
install -D -m 0755 %{name} %{buildroot}/%{_sbindir}/%{name} |
32 |
|
|
mkdir -p %{buildroot}/%{perl_vendorlib}/MDV/Draklive/ |
33 |
|
|
install -D -m 0755 lib/MDV/Draklive/*.pm %{buildroot}/%{perl_vendorlib}/MDV/Draklive/ |
34 |
|
|
|
35 |
|
|
%clean |
36 |
|
|
rm -rf %{buildroot} |
37 |
|
|
|
38 |
|
|
%files |
39 |
|
|
%doc NEWS |
40 |
|
|
%{_sbindir}/%{name} |
41 |
|
|
%{perl_vendorlib}/MDV/Draklive/* |