/[packages]/cauldron/draklive/current/SPECS/draklive.spec
ViewVC logotype

Contents of /cauldron/draklive/current/SPECS/draklive.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 99843 - (show annotations) (download)
Thu May 19 22:13:46 2011 UTC (12 years, 10 months ago) by blino
File size: 1137 byte(s)
- 1.2
- use mgaiso-addmd5 instead of mkcd --addmd5
- umount /proc and /sys in chroot before cleaning or compressing

1 %define name draklive
2 %define version 1.2
3 %define release %mkrel 1
4
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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13 Url: http://wiki.mandriva.com/Development/Packaging/Tools/draklive
14 BuildArch: noarch
15 Requires: syslinux grub
16 Requires: cdrkit cdrkit-genisoimage mkcd
17 Requires: curl rsync dosfstools mtools patch squashfs-tools setarch urpmi
18 Suggests: draklive-config-One
19 Suggests: drakx-installer-images drakx-installer-rescue
20 Suggests: x11-server-xnest mkisofs
21
22 %description
23 This tool lets you generate %{_vendor} live systems.
24
25 %prep
26 %setup -q
27
28 %build
29
30 %install
31 rm -rf %{buildroot}
32 install -D -m 0755 %{name} %{buildroot}/%{_sbindir}/%{name}
33 mkdir -p %{buildroot}/%{perl_vendorlib}/MDV/Draklive/
34 install -D -m 0755 lib/MDV/Draklive/*.pm %{buildroot}/%{perl_vendorlib}/MDV/Draklive/
35
36 %clean
37 rm -rf %{buildroot}
38
39 %files
40 %defattr(-,root,root)
41 %doc NEWS
42 %{_sbindir}/%{name}
43 %{perl_vendorlib}/MDV/Draklive/*
44
45
46

  ViewVC Help
Powered by ViewVC 1.1.30