]>
Commit | Line | Data |
---|---|---|
18f9edf7 | 1 | Summary: A calendar and mail server |
2 | Summary(pl.UTF-8): Serwer kalendarza i poczty | |
3 | Name: bongo | |
4 | Version: 0.2.0 | |
5 | Release: 1 | |
6 | License: LGPL | |
7 | Group: Daemons | |
8 | Source0: http://download.gna.org/bongo/release/bongo-0.2.0.tar.bz2 | |
9 | # Source0-md5: fe860c172f774d6f8564412f8ed56064 | |
10 | Source1: %{name}.init | |
11 | URL: http://bongo-project.org/ | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
15 | BuildRequires: openssl-devel | |
16 | BuildRequires: sqlite3-devel | |
17 | BuildRequires: clucene-core-devel | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: rpmbuild(macros) >= 1.268 | |
18f9edf7 | 20 | Requires(post,preun): /sbin/chkconfig |
21 | Requires(postun): /usr/sbin/groupdel | |
22 | Requires(postun): /usr/sbin/userdel | |
23 | Requires(pre): /bin/id | |
24 | Requires(pre): /usr/bin/getgid | |
25 | Requires(pre): /usr/sbin/groupadd | |
26 | Requires(pre): /usr/sbin/useradd | |
c7d4dd7d | 27 | Requires: %{name}-libs = %{version}-%{release} |
18f9edf7 | 28 | Requires: rc-scripts |
29 | Provides: group(bongo) | |
30 | Provides: user(bongo) | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
c7d4dd7d JB |
34 | Bongo is a calendar and mail server. The project is focused on |
35 | building a calendar and mail server that people love to use, instead | |
36 | of broadly trying to build a "groupware server" that managers want to | |
37 | deploy. | |
18f9edf7 | 38 | |
39 | %description -l pl.UTF-8 | |
40 | Bongo to serwer kalendarza i poczty. Projekt ten skupia się na | |
41 | stworzeniu serwera kalendarza i poczty, który ludzie lubiliby używać, | |
42 | zamiast próbować stworzyć "serwer pracy grupowej", który menadżerowie | |
43 | chcieliby wdrożyć. | |
44 | ||
c7d4dd7d JB |
45 | %package libs |
46 | Summary: Shared bongo libraries | |
47 | Summary(pl.UTF-8): Biblioteki współdzielone bongo | |
48 | Group: Libraries | |
49 | ||
50 | %description libs | |
51 | Shared bongo libraries. | |
52 | ||
53 | %description libs -l pl.UTF-8 | |
54 | Biblioteki współdzielone bongo. | |
55 | ||
18f9edf7 | 56 | %package devel |
57 | Summary: Development files for bongo | |
58 | Summary(pl.UTF-8): Pliki programistyczne serwera bongo | |
59 | Group: Development/Libraries | |
c7d4dd7d | 60 | Requires: %{name}-libs = %{version}-%{release} |
18f9edf7 | 61 | |
62 | %description devel | |
63 | This package contains the header files for developing add-ons for | |
64 | bongo. | |
65 | ||
66 | %description devel -l pl.UTF-8 | |
67 | Ten pakiet zawiera pliki nagłówkowe do tworzenia dodatków dla serwera | |
68 | bongo. | |
69 | ||
70 | %package static | |
71 | Summary: Static libraries for bongo | |
72 | Summary(pl.UTF-8): Statyczne biblioteki bongo | |
73 | Group: Development/Libraries | |
74 | Requires: %{name}-devel = %{version}-%{release} | |
75 | ||
76 | %description static | |
77 | Static libraries for bongo. | |
78 | ||
79 | %description static -l pl.UTF-8 | |
80 | Statyczne biblioteki bongo. | |
81 | ||
82 | %prep | |
83 | %setup -q | |
84 | ||
85 | %build | |
86 | %configure \ | |
87 | --with-user=bongo | |
88 | %{__make} | |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | %{__make} install \ | |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
95 | #install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/bongo | |
96 | ||
c7d4dd7d JB |
97 | rm -f $RPM_BUILD_ROOT%{_libdir}/connmgr/*.{la,a} \ |
98 | $RPM_BUILD_ROOT%{_libdir}/bongomdb/*.{la,a} \ | |
99 | $RPM_BUILD_ROOT%{_libdir}/modweb/*.{la,a} | |
18f9edf7 | 100 | |
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %pre | |
105 | %groupadd -g 171 bongo | |
c7d4dd7d | 106 | %useradd -u 171 -c "Bongo" -g 171 -s /bin/false -r bongo |
18f9edf7 | 107 | |
108 | %post | |
18f9edf7 | 109 | /sbin/chkconfig --add bongo |
110 | %service bongo restart | |
111 | ||
112 | %preun | |
113 | if [ "$1" = 0 ]; then | |
114 | %service bongo stop | |
115 | /sbin/chkconfig --del bongo | |
116 | fi | |
117 | ||
118 | %postun | |
119 | if [ "$1" = "0" ]; then | |
c7d4dd7d JB |
120 | %userremove bongo |
121 | %groupremove bongo | |
18f9edf7 | 122 | fi |
123 | ||
c7d4dd7d JB |
124 | %post libs -p /sbin/ldconfig |
125 | %postun libs -p /sbin/ldconfig | |
126 | ||
18f9edf7 | 127 | %files |
128 | %defattr(644,root,root,755) | |
129 | %doc HACKING TODO AUTHORS README style-guide.html | |
130 | #%attr(754,root,root) /etc/rc.d/init.d/bongo | |
131 | %attr(755,root,root) %{_bindir}/bongosqlite | |
132 | %attr(755,root,root) %{_bindir}/mwcomp | |
133 | %attr(755,root,root) %{_sbindir}/bongoadmin | |
134 | %attr(755,root,root) %{_sbindir}/bongoantispam | |
135 | %attr(755,root,root) %{_sbindir}/bongoavirus | |
136 | %attr(755,root,root) %{_sbindir}/bongobackup | |
137 | %attr(755,root,root) %{_sbindir}/bongocalagent | |
138 | %attr(755,root,root) %{_sbindir}/bongocalcmd | |
139 | %attr(755,root,root) %{_sbindir}/bongoconnmgr | |
140 | %attr(755,root,root) %{_sbindir}/bongodmc | |
141 | %attr(755,root,root) %{_sbindir}/bongoforward | |
142 | %attr(755,root,root) %{_sbindir}/bongogeneric | |
143 | %attr(755,root,root) %{_sbindir}/bongoimap | |
144 | %attr(755,root,root) %{_sbindir}/bongoindexer | |
145 | %attr(755,root,root) %{_sbindir}/bongomailprox | |
146 | %attr(755,root,root) %{_sbindir}/bongomanager | |
147 | %attr(755,root,root) %{_sbindir}/bongomodweb | |
148 | %attr(755,root,root) %{_sbindir}/bongonmap | |
149 | %attr(755,root,root) %{_sbindir}/bongopluspack | |
150 | %attr(755,root,root) %{_sbindir}/bongopop3 | |
151 | %attr(755,root,root) %{_sbindir}/bongoqueue | |
152 | %attr(755,root,root) %{_sbindir}/bongorules | |
153 | %attr(755,root,root) %{_sbindir}/bongosendmail | |
154 | %attr(755,root,root) %{_sbindir}/bongosetup | |
155 | %attr(755,root,root) %{_sbindir}/bongosmtp | |
156 | %attr(755,root,root) %{_sbindir}/bongostats | |
157 | %attr(755,root,root) %{_sbindir}/bongoweb | |
158 | %attr(755,root,root) %{_sbindir}/bongowebadmin | |
159 | %attr(755,root,root) %{_sbindir}/mdbtool | |
160 | ||
161 | %dir %{_libdir}/connmgr | |
162 | %attr(755,root,root) %{_libdir}/connmgr/lib*.so | |
163 | %dir %{_libdir}/bongomdb | |
164 | %attr(755,root,root) %{_libdir}/bongomdb/lib*.so | |
165 | %dir %{_libdir}/modweb | |
166 | %{_libdir}/modweb/*.ctp | |
167 | %attr(755,root,root) %{_libdir}/modweb/lib*.so | |
168 | %dir %{_libdir}/netmail | |
169 | %dir %{_libdir}/netmail/schemas | |
170 | %{_libdir}/netmail/schemas/webadmin.sch | |
18f9edf7 | 171 | %dir %{_libdir}/webadmin |
172 | %{_libdir}/webadmin/*.wat | |
173 | ||
18f9edf7 | 174 | %attr(755,root,root) %{_libdir}/bongo/bongomonohelper |
18f9edf7 | 175 | %{_libdir}/bongo/BongoIndexer.exe |
176 | %{_libdir}/bongo/BongoIndexer.exe.config | |
177 | %{_libdir}/bongo/BongoIndexer.exe.mdb | |
178 | %{_libdir}/bongo/BongoWeb.exe | |
179 | %{_libdir}/bongo/BongoWeb.exe.config | |
180 | %{_libdir}/bongo/BongoWeb.exe.mdb | |
18f9edf7 | 181 | |
182 | %{_libdir}/bongo/calcmd | |
183 | %{_libdir}/bongo/dav | |
184 | %{_libdir}/bongo/import | |
185 | %{_libdir}/bongo/queue | |
18f9edf7 | 186 | %{_libdir}/bongo/search |
187 | %{_datadir}/bongo/zoneinfo | |
188 | ||
c7d4dd7d | 189 | %files libs |
18f9edf7 | 190 | %defattr(644,root,root,755) |
c7d4dd7d JB |
191 | %attr(755,root,root) %{_libdir}/libbongocalcmd.so.*.*.* |
192 | %attr(755,root,root) %{_libdir}/libbongoconnio.so.*.*.* | |
193 | %attr(755,root,root) %{_libdir}/libbongoconnmgr.so.*.*.* | |
194 | %attr(755,root,root) %{_libdir}/libbongoical.so.*.*.* | |
195 | %attr(755,root,root) %{_libdir}/libbongoical2.so.*.*.* | |
196 | %attr(755,root,root) %{_libdir}/libbongolog4c.so.*.*.* | |
197 | %attr(755,root,root) %{_libdir}/libbongologger.so.*.*.* | |
198 | %attr(755,root,root) %{_libdir}/libbongomanagement.so.*.*.* | |
199 | %attr(755,root,root) %{_libdir}/libbongomdb.so.*.*.* | |
200 | %attr(755,root,root) %{_libdir}/libbongomemmgr.so.*.*.* | |
201 | %attr(755,root,root) %{_libdir}/libbongomsgapi.so.*.*.* | |
202 | %attr(755,root,root) %{_libdir}/libbongonmap.so.*.*.* | |
203 | %attr(755,root,root) %{_libdir}/libbongostreamio.so.*.*.* | |
204 | %attr(755,root,root) %{_libdir}/libbongoutil.so.*.*.* | |
205 | %attr(755,root,root) %{_libdir}/libbongoxpl.so.*.*.* | |
206 | %attr(755,root,root) %{_libdir}/libical-bongo.so.*.*.* | |
207 | %attr(755,root,root) %{_libdir}/libicalss-bongo.so.*.*.* | |
208 | %attr(755,root,root) %{_libdir}/libicalvcal-bongo.so.*.*.* | |
209 | %attr(755,root,root) %{_libdir}/libwacert.so.*.*.* | |
210 | %attr(755,root,root) %{_libdir}/libwanmail.so.*.*.* | |
211 | %attr(755,root,root) %{_libdir}/libwastats.so.*.*.* | |
212 | %attr(755,root,root) %{_libdir}/libwastdobj.so.*.*.* | |
213 | %dir %{_libdir}/bongo | |
214 | %{_libdir}/bongo/Bongo.Sharp.dll | |
215 | %{_libdir}/bongo/Bongo.Sharp.dll.mdb | |
216 | %{_libdir}/bongo/Lucene.Net.dll | |
217 | %{_libdir}/bongo/Mono.WebServer.dll | |
218 | # check it - log4net copy? | |
219 | %{_libdir}/bongo/log4net.dll | |
18f9edf7 | 220 | |
c7d4dd7d JB |
221 | %files devel |
222 | %defattr(644,root,root,755) | |
18f9edf7 | 223 | %attr(755,root,root) %{_libdir}/libbongocalcmd.so |
224 | %attr(755,root,root) %{_libdir}/libbongoconnio.so | |
225 | %attr(755,root,root) %{_libdir}/libbongoconnmgr.so | |
226 | %attr(755,root,root) %{_libdir}/libbongoical.so | |
227 | %attr(755,root,root) %{_libdir}/libbongoical2.so | |
228 | %attr(755,root,root) %{_libdir}/libbongolog4c.so | |
229 | %attr(755,root,root) %{_libdir}/libbongologger.so | |
230 | %attr(755,root,root) %{_libdir}/libbongomanagement.so | |
231 | %attr(755,root,root) %{_libdir}/libbongomdb.so | |
232 | %attr(755,root,root) %{_libdir}/libbongomemmgr.so | |
233 | %attr(755,root,root) %{_libdir}/libbongomsgapi.so | |
234 | %attr(755,root,root) %{_libdir}/libbongonmap.so | |
235 | %attr(755,root,root) %{_libdir}/libbongostreamio.so | |
236 | %attr(755,root,root) %{_libdir}/libbongoutil.so | |
237 | %attr(755,root,root) %{_libdir}/libbongoxpl.so | |
238 | %attr(755,root,root) %{_libdir}/libical-bongo.so | |
239 | %attr(755,root,root) %{_libdir}/libicalss-bongo.so | |
240 | %attr(755,root,root) %{_libdir}/libicalvcal-bongo.so | |
241 | %attr(755,root,root) %{_libdir}/libwacert.so | |
242 | %attr(755,root,root) %{_libdir}/libwanmail.so | |
243 | %attr(755,root,root) %{_libdir}/libwastats.so | |
244 | %attr(755,root,root) %{_libdir}/libwastdobj.so | |
c7d4dd7d JB |
245 | %{_libdir}/libbongocalcmd.la |
246 | %{_libdir}/libbongoconnio.la | |
247 | %{_libdir}/libbongoconnmgr.la | |
248 | %{_libdir}/libbongoical.la | |
249 | %{_libdir}/libbongoical2.la | |
250 | %{_libdir}/libbongolog4c.la | |
251 | %{_libdir}/libbongologger.la | |
252 | %{_libdir}/libbongomanagement.la | |
253 | %{_libdir}/libbongomdb.la | |
254 | %{_libdir}/libbongomemmgr.la | |
255 | %{_libdir}/libbongomsgapi.la | |
256 | %{_libdir}/libbongonmap.la | |
257 | %{_libdir}/libbongostreamio.la | |
258 | %{_libdir}/libbongoutil.la | |
259 | %{_libdir}/libbongoxpl.la | |
260 | %{_libdir}/libical-bongo.la | |
261 | %{_libdir}/libicalss-bongo.la | |
262 | %{_libdir}/libicalvcal-bongo.la | |
263 | %{_libdir}/libwacert.la | |
264 | %{_libdir}/libwanmail.la | |
265 | %{_libdir}/libwastats.la | |
266 | %{_libdir}/libwastdobj.la | |
267 | %{_includedir}/bongo | |
268 | # XXX: dup, needed here for anything??? | |
269 | %dir %{_libdir}/webadmin | |
270 | %{_libdir}/webadmin/9stats.wat | |
271 | %{_pkgconfigdir}/bongo.pc | |
272 | %{_pkgconfigdir}/bongo-sharp.pc | |
18f9edf7 | 273 | |
274 | %files static | |
275 | %defattr(644,root,root,755) | |
c7d4dd7d JB |
276 | %{_libdir}/libbongocalcmd.a |
277 | %{_libdir}/libbongoconnio.a | |
278 | %{_libdir}/libbongoconnmgr.a | |
279 | %{_libdir}/libbongoical.a | |
280 | %{_libdir}/libbongoical2.a | |
281 | %{_libdir}/libbongolog4c.a | |
282 | %{_libdir}/libbongologger.a | |
283 | %{_libdir}/libbongomanagement.a | |
284 | %{_libdir}/libbongomdb.a | |
285 | %{_libdir}/libbongomemmgr.a | |
286 | %{_libdir}/libbongomsgapi.a | |
287 | %{_libdir}/libbongonmap.a | |
288 | %{_libdir}/libbongostreamio.a | |
289 | %{_libdir}/libbongoutil.a | |
290 | %{_libdir}/libbongoxpl.a | |
291 | %{_libdir}/libical-bongo.a | |
292 | %{_libdir}/libicalss-bongo.a | |
293 | %{_libdir}/libicalvcal-bongo.a | |
294 | %{_libdir}/libwacert.a | |
295 | %{_libdir}/libwanmail.a | |
296 | %{_libdir}/libwastats.a | |
297 | %{_libdir}/libwastdobj.a |