]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - parted/parted.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/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 = 2.1
8 release = 2
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 =
23
24 build
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
46 end
47
48 packages
49 package %{name}
50 end
51
52 package %{name}-devel
53 template DEVEL
54 end
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59 end