]>
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 |
0168fe1b | 7 | version = 0.9.14 |
6c9ff46b | 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 | |
de9c6811 | 25 | gettext |
802ea3af MT |
26 | libsolv-devel |
27 | python-devel | |
802ea3af | 28 | end |
e5192f6a | 29 | |
802ea3af | 30 | CFLAGS += -fno-strict-aliasing |
706e01d9 | 31 | |
802ea3af MT |
32 | test |
33 | # Check, if the binary module is loadable. | |
0d37182c | 34 | cd %{DIR_APP}/python/src/ && python -c "import _pakfire" |
802ea3af MT |
35 | end |
36 | end | |
fd79f072 | 37 | |
802ea3af MT |
38 | packages |
39 | package %{name} | |
40 | groups += Base | |
7afde232 | 41 | |
0d37182c MT |
42 | requires = pakfire-common=%{thisver} |
43 | end | |
44 | ||
45 | package %{name}-common | |
802ea3af MT |
46 | requires |
47 | pyliblzma | |
48 | python-progressbar | |
49 | python-urlgrabber | |
50 | pyxattr | |
51 | system-release | |
52 | end | |
0d37182c MT |
53 | |
54 | files | |
55 | /usr/lib/pakfire/pakfire-multicall.py | |
56 | /usr/lib*/python*/site-packages/pakfire* | |
57 | /usr/share/locale | |
58 | end | |
802ea3af MT |
59 | end |
60 | ||
61 | package %{name}-build | |
62 | summary = The pakfire builder. | |
63 | description | |
64 | The tools that are needed to build new pakfire packages. | |
65 | end | |
66 | groups += Build | |
0d37182c | 67 | |
802ea3af MT |
68 | requires |
69 | %{name}=%{thisver} | |
0d37182c MT |
70 | quality-agent=%{thisver} |
71 | end | |
72 | conflicts = build-essentials | |
73 | ||
74 | files | |
75 | /usr/bin/pakfire-builder | |
76 | /usr/bin/pakfire-server | |
77 | /usr/lib/pakfire/* | |
78 | !/usr/lib/pakfire/pakfire-multicall.py | |
79 | end | |
80 | end | |
81 | ||
82 | package quality-agent | |
83 | arch = noarch | |
84 | ||
85 | summary = The pakfire quality agent. | |
86 | description | |
87 | The quality agent tests resulting packages that come out | |
88 | of the build service. | |
89 | It is a collection of scripts that check if everything is | |
90 | working right. | |
802ea3af | 91 | end |
7afde232 | 92 | |
802ea3af | 93 | files |
0d37182c | 94 | /usr/lib/pakfire/quality-agent* |
802ea3af | 95 | end |
0d37182c MT |
96 | |
97 | requires = binutils file grep | |
802ea3af MT |
98 | end |
99 | end |