]> git.pld-linux.org Git - packages/python-parted.git/blob - python-parted.spec
- updated to 3.10
[packages/python-parted.git] / python-parted.spec
1 Summary:        Python module for parted library
2 Summary(pl.UTF-8):      Moduł Pythona do biblioteki parteda
3 Name:           python-parted
4 Version:        3.10
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries/Python
8 Source0:        https://fedorahosted.org/releases/p/y/pyparted/pyparted-%{version}.tar.gz
9 # Source0-md5:  d494440b34bc9ea0afea45c4a4ac3274
10 URL:            https://fedorahosted.org/pyparted/
11 BuildRequires:  parted-devel >= 3.1
12 BuildRequires:  pkgconfig
13 BuildRequires:  python-devel >= 1:2.7
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  rpmbuild(macros) >= 1.219
16 Requires:       parted >= 3.1
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Python module for the parted library. It is used for manipulating
21 partition tables.
22
23 %description -l pl.UTF-8
24 Moduł Pythona dla biblioteki parted. Służy do modyfikowania tablic
25 partycji.
26
27 %prep
28 %setup -q -n pyparted-%{version}
29
30 %build
31 CC="%{__cc}" \
32 CFLAGS="%{rpmcflags}" \
33 %{__python} setup.py build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %{__python} setup.py install \
38         --optimize=2 \
39         --root=$RPM_BUILD_ROOT
40
41 %py_postclean
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc AUTHORS BUGS ChangeLog NEWS README TODO
49 %attr(755,root,root) %{py_sitedir}/_ped.so
50 %dir %{py_sitedir}/parted
51 %{py_sitedir}/parted/*.py[co]
52 %{py_sitedir}/pyparted-%{version}-py*.egg-info
This page took 0.064964 seconds and 3 git commands to generate.