]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - python-parted/python-parted.nm
dosfstools: Update to 3.0.26.
[people/ms/ipfire-3.x.git] / python-parted / python-parted.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = python-parted
7 version = 3.9
8 release = 1
9 thisapp = pyparted-%{version}
10
11 groups = System/Libraries
12 url = http://fedorahosted.org/pyparted
13 license = GPLv2+
14 summary = Python module for GNU parted.
15
16 description
17 Python module for the parted library. It is used for manipulating
18 partition tables.
19 end
20
21 py3parted_version = 0.1
22
23 source_dl = \
24 https://fedorahosted.org/releases/p/y/pyparted/ \
25 https://github.com/cinnarch/py3parted/archive/
26
27 # Also download source tarball for py3parted.
28 sources += v%{py3parted_version}.tar.gz
29
30 build
31 requires
32 parted-devel >= 3.1
33 pkg-config
34 python-decorator
35 python-devel
36 python3-devel
37 end
38
39 DIR_APP3 = %{DIR_SRC}/py3parted-%{py3parted_version}
40
41 build_cmds
42 # Build py3parted.
43 cd %{DIR_APP3} && python3 setup.py build
44 end
45
46 install_cmds
47 # Install py3parted.
48 cd %{DIR_APP3} && python3 setup.py install --root=%{BUILDROOT}
49 end
50 end
51
52
53 packages
54 package %{name}
55 requires
56 python-decorator
57 end
58 end
59
60 package python3-parted
61 template PYTHON3
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67 end