]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = parted |
7 | version = 2.1 | |
8 | release = 2 | |
395b8b6d | 9 | |
802ea3af MT |
10 | groups = Applications/System |
11 | url = http://www.gnu.org/software/parted | |
12 | license = GPLv3+ | |
13 | summary = The GNU disk partition manipulation program. | |
395b8b6d | 14 | |
802ea3af MT |
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 | |
395b8b6d | 19 | to new hard disks. |
802ea3af MT |
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 | |
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 | 59 | end |