]>
Commit | Line | Data |
---|---|---|
db0d87a7 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = ding-libs | |
e2745935 | 7 | version = 0.5.0 |
99255c4e | 8 | release = 2 |
db0d87a7 SS |
9 | |
10 | groups = System/Libraries | |
11 | url = http://fedorahosted.org/sssd/ | |
12 | license = GPLv3+ | |
13 | summary = "Ding is not GLib" assorted utility libraries. | |
14 | ||
15 | description | |
16 | A set of helpful libraries used by projects such as SSSD. | |
17 | end | |
18 | ||
19 | source_dl = http://fedorahosted.org/releases/d/i/ding-libs/ | |
20 | ||
21 | build | |
22 | configure_options += \ | |
23 | --disable-static | |
24 | ||
99255c4e MT |
25 | export LD_LIBRARY_PATH = %{DIR_APP}/.libs |
26 | ||
db0d87a7 SS |
27 | test |
28 | make check | |
29 | end | |
30 | end | |
31 | ||
32 | packages | |
33 | # ding-libs is a meta package, | |
34 | # which requires all sub-packages. | |
35 | package %{name} | |
36 | requires | |
37 | libbasicobjects = %{thisver} | |
38 | libcollection = %{thisver} | |
39 | libdhash = %{thisver} | |
40 | libini_config = %{thisver} | |
41 | libpath_utils = %{thisver} | |
42 | libref_array = %{thisver} | |
43 | end | |
44 | end | |
45 | ||
46 | # ding-libs-devel is a meta package, | |
47 | # which requires all devel sub-packages. | |
48 | package %{name}-devel | |
49 | template DEVEL | |
50 | ||
51 | requires | |
52 | libbasicobjects-devel = %{thisver} | |
53 | libcollection-devel = %{thisver} | |
54 | libdhash-devel = %{thisver} | |
55 | libini_config-devel = %{thisver} | |
56 | libpath_utils-devel = %{thisver} | |
57 | libref_array-devel = %{thisver} | |
58 | end | |
59 | end | |
60 | ||
61 | package libbasicobjects | |
62 | template LIBS | |
63 | ||
64 | summary = Basic object types for C. | |
65 | description = %{summary} | |
66 | ||
67 | files | |
68 | %{libdir}/libbasicobjects.so.* | |
69 | end | |
70 | end | |
71 | ||
72 | package libbasicobjects-devel | |
73 | summary = Development files for libbasicobjects. | |
74 | description = %{summary} | |
75 | ||
76 | files | |
77 | %{libdir}/libbasicobjects.so | |
78 | %{libdir}/pkgconfig/basicobjects.pc | |
79 | %{includedir}/simplebuffer.h | |
80 | end | |
81 | end | |
82 | ||
83 | package libcollection | |
84 | template LIBS | |
85 | ||
86 | summary = Collection data-type for C. | |
87 | description | |
88 | A data-type to collect data in a hierarchical structure | |
89 | for easy iteration and serialization. | |
90 | end | |
91 | ||
92 | files | |
93 | %{libdir}/libcollection.so.* | |
94 | end | |
95 | end | |
96 | ||
97 | package libcollection-devel | |
98 | summary = Development files for libcollection. | |
99 | description = %{summary} | |
100 | ||
101 | files | |
102 | %{libdir}/libcollection.so | |
103 | %{libdir}/pkgconfig/collection.pc | |
104 | %{includedir}/collection*.h | |
105 | end | |
106 | end | |
107 | ||
108 | package libdhash | |
109 | template LIBS | |
110 | ||
111 | summary = Dynamic hash table. | |
112 | description | |
113 | A hash table which will dynamically resize to achieve | |
114 | optimal storage & access time properties. | |
115 | end | |
116 | ||
117 | files | |
118 | %{libdir}/libdhash.so.* | |
119 | end | |
120 | end | |
121 | ||
122 | package libdhash-devel | |
123 | summary = Development files for libdhash. | |
124 | description = %{summary} | |
125 | ||
126 | files | |
127 | %{libdir}/libdhash.so | |
128 | %{libdir}/pkgconfig/dhash.pc | |
129 | %{includedir}/dhash*.h | |
130 | end | |
131 | end | |
132 | ||
133 | package libini_config | |
134 | template LIBS | |
135 | ||
136 | summary = INI file parsr for C. | |
137 | description | |
138 | Library to process config files in INI format into a | |
139 | libcollection data structure. | |
140 | end | |
141 | ||
142 | files | |
143 | %{libdir}/libini_config.so.* | |
144 | end | |
145 | end | |
146 | ||
147 | package libini_config-devel | |
148 | summary = Development files for libini_config. | |
149 | description = %{summary} | |
150 | ||
151 | files | |
152 | %{libdir}/libini_config.so | |
153 | %{libdir}/pkgconfig/ini_config.pc | |
154 | %{includedir}/ini_config*.h | |
155 | end | |
156 | end | |
157 | ||
158 | package libpath_utils | |
159 | template LIBS | |
160 | ||
161 | summary = Filesystem Path Utilities. | |
162 | description | |
163 | Utility functions to manipulate filesystem pathnames. | |
164 | end | |
165 | ||
166 | files | |
167 | %{libdir}/libpath_utils.so.* | |
168 | end | |
169 | end | |
170 | ||
171 | package libpath_utils-devel | |
172 | summary = Development files for libpath_utils. | |
173 | description = %{summary} | |
174 | ||
175 | files | |
176 | %{libdir}/libpath_utils.so | |
177 | %{libdir}/pkgconfig/path_utils.pc | |
178 | %{includedir}/path_utils*.h | |
179 | end | |
180 | end | |
181 | ||
182 | package libref_array | |
183 | template LIBS | |
184 | ||
185 | summary = A refcounted array for C. | |
186 | description | |
187 | A dynamically-growing, reference-counted array. | |
188 | end | |
189 | ||
190 | files | |
191 | %{libdir}/libref_array.so.* | |
192 | end | |
193 | end | |
194 | ||
195 | package libref_array-devel | |
196 | summary = Development files for libref_array. | |
197 | description = %{summary} | |
198 | ||
199 | files | |
200 | %{libdir}/libref_array.so | |
201 | %{libdir}/pkgconfig/ref_array.pc | |
202 | %{includedir}/ref_array*.h | |
203 | end | |
204 | end | |
205 | ||
206 | package %{name}-debuginfo | |
207 | template DEBUGINFO | |
208 | end | |
209 | end | |
210 |