]> git.ipfire.org Git - ipfire-3.x.git/blob - parted/parted.nm
kernel: Update to 5.1
[ipfire-3.x.git] / parted / parted.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = parted
7 version = 3.2
8 release = 1
9
10 groups = Applications/System
11 url = http://www.gnu.org/software/parted
12 license = GPLv3+
13 summary = The GNU disk partition manipulation program.
14
15 description
16 The GNU Parted program allows you to create, destroy, resize, move,
17 and copy hard disk partitions. Parted can be used for creating space
18 for new operating systems, reorganizing disk usage, and copying data
19 to new hard disks.
20 end
21
22 source_dl = http://ftp.gnu.org/gnu/parted/
23 sources = %{thisapp}.tar.xz
24
25 build
26 requires
27 # Testsuite
28 /usr/sbin/mkswap
29 /usr/bin/udevadm
30
31 # Build dependencies
32 libdevmapper-devel
33 libuuid-devel
34 ncurses-devel
35 pkg-config
36 readline-devel
37 end
38
39 export LD_LIBRARY_PATH=%{DIR_APP}/libparted/.libs:%{DIR_APP}/libparted/fs/.libs
40
41 configure_options += \
42 --disable-Werror
43
44 test
45 # Disable test because it needs a locale C.UTF-8.
46 sed -i '/t0251-gpt-unicode.sh/d' tests/Makefile
47
48 # Disable tests because they force to require loopback devices.
49 sed -i '/t6001-psep.sh/d' tests/Makefile
50 sed -i '/t6002-dm-busy.sh/d' tests/Makefile
51 sed -i '/t6003-dm-hide.sh/d' tests/Makefile
52 sed -i '/t6004-dm-many-partitions.sh/d' tests/Makefile
53 sed -i '/t6005-dm-uuid.sh/d' tests/Makefile
54
55 # Run testsuite.
56 make check
57 end
58 end
59
60 packages
61 package %{name}
62
63 package %{name}-devel
64 template DEVEL
65 end
66
67 package %{name}-debuginfo
68 template DEBUGINFO
69 end
70 end