]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - parted/parted.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/ms/ipfire-3.x.git] / parted / parted.nm
CommitLineData
395b8b6d 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
395b8b6d
MT
4###############################################################################
5
802ea3af
MT
6name = parted
7version = 2.1
8release = 2
395b8b6d 9
802ea3af
MT
10groups = Applications/System
11url = http://www.gnu.org/software/parted
12license = GPLv3+
13summary = The GNU disk partition manipulation program.
395b8b6d 14
802ea3af
MT
15description
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
395b8b6d 19 to new hard disks.
802ea3af
MT
20end
21
22source_dl =
23
24build
25 requires
26 libdevmapper-devel
27 libselinux-devel
28 libsepol-devel
29 libuuid-devel
30 ncurses-devel
31 pkg-config
32 readline-devel
33 end
34
35 configure_options += \
36 --libdir=/lib \
37 --enable-selinux
38
39 install_cmds
40 mkdir -pv %{BUILDROOT}/usr/lib
41 mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/
42 rm -rf %{BUILDROOT}/lib/libparted{,-2.1}.so
43 ln -svf ../../lib/libparted-%{version}.so.0 %{BUILDROOT}/usr/lib/libparted-%{version}.so
44 ln -svf libparted-%{version}.so %{BUILDROOT}/usr/lib/libparted.so
45 end
46end
47
48packages
49 package %{name}
50 end
1f9bc2f0 51
802ea3af
MT
52 package %{name}-devel
53 template DEVEL
54 end
1f9bc2f0
MT
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
802ea3af 59end