]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - python-pyblock/python-pyblock.nm
Merge remote-tracking branch 'stevee/pcre'
[people/ms/ipfire-3.x.git] / python-pyblock / python-pyblock.nm
CommitLineData
3d2c7b58 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
3d2c7b58
SS
4###############################################################################
5
bba3d79b 6name = python-pyblock
802ea3af 7version = 0.46
bba3d79b
MT
8release = 3
9thisapp = pyblock-%{version}
3d2c7b58 10
802ea3af
MT
11groups = System/Libraries
12url = http://git.fedorahosted.org/git/?p=pyblock.git;a=summary
13license = GPLv2 or GPLv3
14summary = Python modules for dealing with block devices.
3d2c7b58 15
802ea3af 16description
3d2c7b58 17 The pyblock contains Python modules for dealing with block devices.
802ea3af
MT
18end
19
20source_dl =
21sources = %{thisapp}.tar.bz2
22
23build
24 requires
bba3d79b 25 dmraid-devel >= 1.0.0.rc15-2
802ea3af
MT
26 libdevmapper-devel
27 libselinux-devel
28 python-devel
29 python-parted
30 end
31
32 prepare_cmds
33 sed -e "s/-Werror//g" -i Makefile
34 end
35
36 build
37 make USESELINUX=1
38 end
39
40 install
41 make install USESELINUX=0 DESTDIR=%{BUILDROOT}
42 end
43end
44
45packages
bba3d79b 46 package %{name}
1f9bc2f0
MT
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
802ea3af 51end