]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - python-pyblock/python-pyblock.nm
gobject-introspection: Update to 1.39.3.
[people/ms/ipfire-3.x.git] / 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 = python-pyblock
7 version = 0.46
8 release = 3
9 thisapp = pyblock-%{version}
10
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.
15
16 description
17 The pyblock contains Python modules for dealing with block devices.
18 end
19
20 source_dl =
21 sources = %{thisapp}.tar.bz2
22
23 build
24 requires
25 dmraid-devel >= 1.0.0.rc15-2
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
46 package %{name}
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
51 end