]>
Commit | Line | Data |
---|---|---|
e5192f6a | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
e5192f6a MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = pakfire |
0d37182c | 7 | version = 0.9.10 |
802ea3af | 8 | release = 1 |
e5192f6a | 9 | |
802ea3af MT |
10 | maintainer = Michael Tremer <michael.tremer@ipfire.org> |
11 | groups = System/Packaging | |
12 | url = http://www.ipfire.org/ | |
13 | license = GPLv3+ | |
14 | summary = Package installer/updater. | |
e5192f6a | 15 | |
802ea3af MT |
16 | description |
17 | Pakfire optains package lists from the mirrors and can install and update | |
f5b41606 | 18 | packages. |
802ea3af MT |
19 | end |
20 | ||
0d37182c | 21 | source_dl = http://source.ipfire.org/releases/pakfire/ |
e5192f6a | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
802ea3af MT |
25 | libsolv-devel |
26 | python-devel | |
802ea3af | 27 | end |
e5192f6a | 28 | |
802ea3af | 29 | CFLAGS += -fno-strict-aliasing |
706e01d9 | 30 | |
802ea3af MT |
31 | test |
32 | # Check, if the binary module is loadable. | |
0d37182c | 33 | cd %{DIR_APP}/python/src/ && python -c "import _pakfire" |
802ea3af MT |
34 | end |
35 | end | |
fd79f072 | 36 | |
802ea3af MT |
37 | packages |
38 | package %{name} | |
39 | groups += Base | |
7afde232 | 40 | |
0d37182c MT |
41 | requires = pakfire-common=%{thisver} |
42 | end | |
43 | ||
44 | package %{name}-common | |
802ea3af MT |
45 | requires |
46 | pyliblzma | |
47 | python-progressbar | |
48 | python-urlgrabber | |
49 | pyxattr | |
50 | system-release | |
51 | end | |
0d37182c MT |
52 | |
53 | files | |
54 | /usr/lib/pakfire/pakfire-multicall.py | |
55 | /usr/lib*/python*/site-packages/pakfire* | |
56 | /usr/share/locale | |
57 | end | |
802ea3af MT |
58 | end |
59 | ||
60 | package %{name}-build | |
61 | summary = The pakfire builder. | |
62 | description | |
63 | The tools that are needed to build new pakfire packages. | |
64 | end | |
65 | groups += Build | |
0d37182c | 66 | |
802ea3af MT |
67 | requires |
68 | %{name}=%{thisver} | |
0d37182c MT |
69 | quality-agent=%{thisver} |
70 | end | |
71 | conflicts = build-essentials | |
72 | ||
73 | files | |
74 | /usr/bin/pakfire-builder | |
75 | /usr/bin/pakfire-server | |
76 | /usr/lib/pakfire/* | |
77 | !/usr/lib/pakfire/pakfire-multicall.py | |
78 | end | |
79 | end | |
80 | ||
81 | package quality-agent | |
82 | arch = noarch | |
83 | ||
84 | summary = The pakfire quality agent. | |
85 | description | |
86 | The quality agent tests resulting packages that come out | |
87 | of the build service. | |
88 | It is a collection of scripts that check if everything is | |
89 | working right. | |
802ea3af | 90 | end |
7afde232 | 91 | |
802ea3af | 92 | files |
0d37182c | 93 | /usr/lib/pakfire/quality-agent* |
802ea3af | 94 | end |
0d37182c MT |
95 | |
96 | requires = binutils file grep | |
802ea3af MT |
97 | end |
98 | end |