]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - parted/parted.nm
Merge remote-tracking branch 'stevee/nss-reworked'
[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 = 3
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 --disable-Werror
39
40 install_cmds
41 mkdir -pv %{BUILDROOT}%{libdir}
42 mv -v %{BUILDROOT}/%{lib}/pkgconfig %{BUILDROOT}%{libdir}
43 rm -rf %{BUILDROOT}/%{lib}/libparted{,-2.1}.so
44 ln -svf ../../%{lib}/libparted-%{version}.so.0 %{BUILDROOT}%{libdir}/libparted-%{version}.so
45 ln -svf libparted-%{version}.so %{BUILDROOT}%{libdir}/libparted.so
46 end
47 end
48
49 packages
50 package %{name}
51
52 package %{name}-devel
53 template DEVEL
54 end
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59 end