]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - python-pyblock/python-pyblock.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/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
802ea3af
MT
6name = pyblock
7version = 0.46
96fb24e2 8release = 2
3d2c7b58 9
802ea3af
MT
10groups = System/Libraries
11url = http://git.fedorahosted.org/git/?p=pyblock.git;a=summary
12license = GPLv2 or GPLv3
13summary = Python modules for dealing with block devices.
3d2c7b58 14
802ea3af 15description
3d2c7b58 16 The pyblock contains Python modules for dealing with block devices.
802ea3af
MT
17end
18
19source_dl =
20sources = %{thisapp}.tar.bz2
21
22build
23 requires
96fb24e2 24 dmraid-devel>=1.0.0.rc15-2
802ea3af
MT
25 libdevmapper-devel
26 libselinux-devel
27 python-devel
28 python-parted
29 end
30
31 prepare_cmds
32 sed -e "s/-Werror//g" -i Makefile
33 end
34
35 build
36 make USESELINUX=1
37 end
38
39 install
40 make install USESELINUX=0 DESTDIR=%{BUILDROOT}
41 end
42end
43
44packages
96fb24e2 45 package python-%{name}
1f9bc2f0
MT
46
47 package %{name}-debuginfo
48 template DEBUGINFO
49 end
802ea3af 50end