]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - pkgs/python-pyblock/python-pyblock.nm
Change file layout of the makefiles.
[people/pmueller/ipfire-3.x.git] / pkgs / python-pyblock / python-pyblock.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pyblock
7 version = 0.46
8 release = 1
9
10 groups = System/Libraries
11 url = http://git.fedorahosted.org/git/?p=pyblock.git;a=summary
12 license = GPLv2 or GPLv3
13 summary = Python modules for dealing with block devices.
14
15 description
16 The pyblock contains Python modules for dealing with block devices.
17 end
18
19 source_dl =
20 sources = %{thisapp}.tar.bz2
21
22 build
23 requires
24 dmraid-devel
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
42 end
43
44 packages
45 package %{name}
46 end