]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = python-pyblock |
802ea3af | 7 | version = 0.46 |
bba3d79b MT |
8 | release = 3 |
9 | thisapp = pyblock-%{version} | |
3d2c7b58 | 10 | |
802ea3af MT |
11 | groups = System/Libraries |
12 | url = http://git.fedorahosted.org/git/?p=pyblock.git;a=summary | |
13 | license = GPLv2 or GPLv3 | |
14 | summary = Python modules for dealing with block devices. | |
3d2c7b58 | 15 | |
802ea3af | 16 | description |
3d2c7b58 | 17 | The pyblock contains Python modules for dealing with block devices. |
802ea3af MT |
18 | end |
19 | ||
20 | source_dl = | |
21 | sources = %{thisapp}.tar.bz2 | |
22 | ||
23 | build | |
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 | |
43 | end | |
44 | ||
45 | packages | |
bba3d79b | 46 | package %{name} |
1f9bc2f0 MT |
47 | |
48 | package %{name}-debuginfo | |
49 | template DEBUGINFO | |
50 | end | |
802ea3af | 51 | end |