1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = pyparted-%{version}
11 groups = System/Libraries
12 url = http://fedorahosted.org/pyparted
14 summary = Python module for GNU parted.
17 Python module for the parted library. It is used for manipulating
21 py3parted_version = 0.1
24 https://fedorahosted.org/releases/p/y/pyparted/ \
25 https://github.com/cinnarch/py3parted/archive/
27 # Also download source tarball for py3parted.
28 sources += v%{py3parted_version}.tar.gz
39 DIR_APP3 = %{DIR_SRC}/py3parted-%{py3parted_version}
43 cd %{DIR_APP3} && python3 setup.py build
48 cd %{DIR_APP3} && python3 setup.py install --root=%{BUILDROOT}
60 package python3-parted
64 package %{name}-debuginfo