]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - python-piksemel/python-piksemel.nm
samba: build with needed packages
[people/amarx/ipfire-3.x.git] / python-piksemel / python-piksemel.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = python-piksemel
7 version = 1.3.1
8 release = 1
9 thisapp = piksemel-%{version}
10
11 groups = Development/Languages
12 url = http://cekirdek.pardus.org.tr/~bahadir/piksemel/
13 license = GPLv2+
14 summary = A python XML parser.
15
16 description
17 Piksemel is a easy to use python XML parser, based on iksemel.
18 end
19
20 source_dl =
21
22 build
23 requires
24 python-devel
25 end
26
27 build
28 python setup.py build
29 end
30
31 test
32 # Create symlink for testsuite to find the compiled module.
33 cd %{DIR_APP}/tests && ln -s ../build/lib.*/piksemel.so piksemel.so
34 cd %{DIR_APP} && python setup.py test
35 end
36
37 install
38 python setup.py install --root=%{BUILDROOT}
39 end
40 end
41
42 packages
43 package %{name}
44
45 package %{name}-debuginfo
46 template DEBUGINFO
47 end
48 end