]>
Commit | Line | Data |
---|---|---|
beed1a42 AM |
1 | # TODO: |
2 | # - package all deps (tarballs 10-29) into separate spec files | |
3 | # (like in fedora) | |
e9f604ed | 4 | # Conditional build: |
5 | %bcond_with pam # PAM authentication support | |
046546ef | 6 | %bcond_without logdb # enable mod_logdb (server-side message logging) |
e0a49cef | 7 | %bcond_with new_sql_schema # build with the new SQL schema |
eddf5b64 | 8 | |
fb70a56e | 9 | Summary: Fault-tolerant distributed Jabber/XMPP server |
7abad569 | 10 | Summary(pl.UTF-8): Odporny na awarie rozproszony serwer Jabbera/XMPP |
d798517a | 11 | Name: ejabberd |
e6d27536 | 12 | Version: 19.09.1 |
89e7e566 | 13 | Release: 1 |
fb70a56e JK |
14 | License: GPL |
15 | Group: Applications/Communications | |
d798517a | 16 | Source0: http://www.process-one.net/downloads/ejabberd/%{version}/%{name}-%{version}.tgz |
e6d27536 | 17 | # Source0-md5: f1f471643a63d7e0e281a6a272603828 |
d798517a JK |
18 | Source1: %{name}.init |
19 | Source2: %{name}.sysconfig | |
20 | Source3: %{name}.service | |
f20002e6 | 21 | Source4: %{name}.logrotate |
e2bda3a7 JK |
22 | # |
23 | # Archives created with the ejabberd-pack_deps.sh script (in this repo) | |
fc175ec7 | 24 | Source10: ejabberd-base64url-20190617.tar.gz |
89e7e566 | 25 | # Source10-md5: 5a12fd2fb1f992c850aba5115aab3dd4 |
fc175ec7 | 26 | Source11: ejabberd-cache_tab-20190802.tar.gz |
89e7e566 | 27 | # Source11-md5: cf0e72d17802d2e10d850f0e339a1c11 |
fc175ec7 | 28 | Source12: ejabberd-eimp-20190802.tar.gz |
89e7e566 | 29 | # Source12-md5: ec256209f4c1798f1fc4c863881f9e43 |
fc175ec7 | 30 | Source13: ejabberd-elixir-20170515.tar.gz |
89e7e566 | 31 | # Source13-md5: 73be42f7d0cda7aeee5c0e6dadc0c451 |
fc175ec7 | 32 | Source14: ejabberd-ezlib-20190523.tar.gz |
89e7e566 | 33 | # Source14-md5: e521f10bba8fd2208aa5c15272050399 |
fc175ec7 | 34 | Source15: ejabberd-fast_tls-20190802.tar.gz |
89e7e566 | 35 | # Source15-md5: 80359622cc6d929923d5c316f9b9061f |
fc175ec7 | 36 | Source16: ejabberd-fast_xml-20190802.tar.gz |
89e7e566 | 37 | # Source16-md5: 628bc356a896e6921818700738d977e5 |
fc175ec7 | 38 | Source17: ejabberd-fast_yaml-20190924.tar.gz |
89e7e566 | 39 | # Source17-md5: 3cc634471017adb2d33a9890a82c44d7 |
fc175ec7 | 40 | Source18: ejabberd-goldrush-20160531.tar.gz |
89e7e566 | 41 | # Source18-md5: acac73f0fc85d23671f0c49c68f8df8a |
fc175ec7 | 42 | Source19: ejabberd-idna-20180830.tar.gz |
89e7e566 | 43 | # Source19-md5: e34174d5c5e2e91611d3249c690f6d2d |
fc175ec7 | 44 | Source20: ejabberd-jiffy-20160331.tar.gz |
89e7e566 | 45 | # Source20-md5: 78f31a7dea7538ef3e63f77351f4d0b7 |
fc175ec7 | 46 | Source21: ejabberd-jose-20170518.tar.gz |
89e7e566 | 47 | # Source21-md5: b1675bfc57c1b3b7e154270e2bcd4559 |
fc175ec7 | 48 | Source22: ejabberd-lager-20190430.tar.gz |
89e7e566 | 49 | # Source22-md5: 66205d931dd27b496529c19addf6d7d9 |
fc175ec7 AM |
50 | Source23: ejabberd-mqtree-20190924.tar.gz |
51 | Source24: ejabberd-p1_acme-20190925.tar.gz | |
89e7e566 | 52 | # Source24-md5: 1dce6f1586f69c5ff23d5d6fa6f82c55 |
fc175ec7 | 53 | Source25: ejabberd-p1_mysql-20190831.tar.gz |
89e7e566 | 54 | # Source25-md5: 8cc96c4fcc8341b2c0565f818de2ba6d |
fc175ec7 | 55 | Source26: ejabberd-p1_oauth2-20190523.tar.gz |
89e7e566 | 56 | # Source26-md5: 5a1284f4e055d414f5867fdf54baf164 |
fc175ec7 | 57 | Source27: ejabberd-p1_pgsql-20190523.tar.gz |
89e7e566 | 58 | # Source27-md5: 348772eb0ccb9952cb202a7900eb905d |
fc175ec7 | 59 | Source28: ejabberd-p1_utils-20190802.tar.gz |
89e7e566 | 60 | # Source28-md5: 19c97dcdc6a37a4b574f67bdce6b9566 |
fc175ec7 | 61 | Source29: ejabberd-pkix-20190924.tar.gz |
89e7e566 | 62 | # Source29-md5: 0af6cff7fde9e16d8db908ae616d15a2 |
fc175ec7 | 63 | Source30: ejabberd-rebar_elixir_plugin-20160105.tar.gz |
89e7e566 | 64 | # Source30-md5: 6a069a566d71c3daa45fc4736364adf0 |
fc175ec7 | 65 | Source31: ejabberd-sqlite3-20180130.tar.gz |
89e7e566 | 66 | # Source31-md5: cc8950eb769eb6ceb13723a7b61fe507 |
fc175ec7 | 67 | Source32: ejabberd-stringprep-20190802.tar.gz |
89e7e566 | 68 | # Source32-md5: cd354de1ee12712a2434c39241cf5488 |
fc175ec7 | 69 | Source33: ejabberd-unicode_util_compat-20170729.tar.gz |
89e7e566 | 70 | # Source33-md5: 1b348fdf38dba88ebed2f65125ad8590 |
fc175ec7 | 71 | Source34: ejabberd-xmpp-20190926.tar.gz |
e6d27536 | 72 | # Source34-md5: 2f974dedd11f039d5f1b7b4cbb61043a |
fc175ec7 | 73 | Source35: ejabberd-yconf-20190924.tar.gz |
89e7e566 | 74 | # Source35-md5: ada7f1ffc1f2ab8cc0e4e6a5fc870961 |
ac7e9a78 | 75 | |
d798517a JK |
76 | Patch0: %{name}-paths.patch |
77 | Patch1: %{name}-config.patch | |
3f23be8e | 78 | # https://paleg.github.io/mod_logdb/ |
dd02533f | 79 | # https://github.com/paleg/ejabberd/compare/paleg:19.08...paleg:19.08-mod_logdb.patch |
d798517a | 80 | Patch3: %{name}-mod_logdb.patch |
3f2196e7 | 81 | URL: http://www.ejabberd.im/ |
fb70a56e | 82 | BuildRequires: autoconf |
1a2644b6 | 83 | BuildRequires: automake |
89e7e566 | 84 | BuildRequires: erlang >= 1:19.3 |
6f0d08c1 | 85 | BuildRequires: expat-devel >= 1.95 |
86 | BuildRequires: openssl-devel | |
e9f604ed | 87 | %if %{with pam} |
88 | BuildRequires: pam-devel | |
89 | %endif | |
126fba49 | 90 | BuildRequires: git-core |
67271627 | 91 | BuildRequires: rpmbuild(macros) >= 1.671 |
f0222aaa | 92 | BuildRequires: sqlite3-devel |
60c3a68c | 93 | BuildRequires: yaml-devel |
01f61704 | 94 | BuildRequires: zlib-devel |
27b10c8b | 95 | Requires(post): /usr/bin/perl |
b15a901d | 96 | Requires(post): jabber-common |
0d54398f | 97 | Requires(post): sed >= 4.0 |
fb70a56e | 98 | Requires(post): textutils |
fb70a56e | 99 | Requires(post,preun): /sbin/chkconfig |
67271627 | 100 | Requires(post,preun,postun): systemd-units >= 38 |
89e7e566 | 101 | Requires: erlang >= 1:19.3 |
bb159536 | 102 | Requires: expat >= 1.95 |
27b10c8b | 103 | Requires: rc-scripts |
67271627 | 104 | Requires: systemd-units >= 38 |
028763ab | 105 | Conflicts: logrotate < 3.8.0 |
fb70a56e JK |
106 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
107 | ||
fcf4c7a2 JK |
108 | %define _noautoprovfiles %{_libdir}/%{name}/priv/lib/ |
109 | ||
fb70a56e | 110 | %description |
472227c5 | 111 | ejabberd is a Free and Open Source fault-tolerant distributed Jabber |
112 | server. It is written mostly in Erlang. | |
fb70a56e | 113 | |
e0166ea5 JR |
114 | %description -l pl.UTF-8 |
115 | ejabberd to darmowy, z otwartymi źródłami, odporny na awarie | |
116 | rozproszony serwer Jabbera. Jest napisany w większości w Erlangu. | |
378431cb | 117 | |
cba58599 | 118 | %package logdb |
1a2644b6 | 119 | Summary: Server-side logging module |
cba58599 | 120 | Group: Applications/Communications |
121 | Requires: %{name} = %{version}-%{release} | |
122 | ||
123 | %description logdb | |
124 | Server-side logging module. | |
125 | ||
fb70a56e | 126 | %prep |
89e7e566 | 127 | %setup -q -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33 -a 34 -a 35 |
fb70a56e | 128 | %patch0 -p1 |
7f71a53c JK |
129 | %patch1 -p1 |
130 | #%%patch2 -p1 | |
9953f9cb | 131 | %if %{with logdb} |
046546ef | 132 | %patch3 -p1 |
9953f9cb | 133 | %endif |
fb70a56e | 134 | |
8e141538 JK |
135 | # Various parts of the build system use 'git describe' |
136 | # which returns nonsense on manual builds using the builder script | |
137 | # and which fails on the PLD builders | |
138 | # I was not able to locate all 'git describe' invocation, sot let's | |
139 | # fool them with this dummy repository | |
140 | unset GIT_DIR GIT_WORK_TREE | |
141 | git init | |
d798661f JK |
142 | git config user.email "dummy@example.com" |
143 | git config user.name "Dummy" | |
8e141538 JK |
144 | git add configure.ac |
145 | git commit -a -m "dummy commit" | |
146 | git tag "%{version}" | |
fb8f9840 | 147 | |
fb70a56e | 148 | %build |
8e141538 | 149 | unset GIT_DIR GIT_WORK_TREE |
e2bda3a7 | 150 | %{__aclocal} -I m4 |
fb70a56e | 151 | %{__autoconf} |
6b419144 | 152 | %configure \ |
5613d9b6 | 153 | %{?with_pam --enable-pam} \ |
e4f8c955 | 154 | --enable-user=jabber \ |
e0a49cef | 155 | %{__enable_disable new_sql_schema new-sql-schema} \ |
8311848d | 156 | --enable-elixir \ |
e2bda3a7 | 157 | --enable-full-xml \ |
e2bda3a7 JK |
158 | --enable-odbc \ |
159 | --enable-mysql \ | |
160 | --enable-pgsql \ | |
f0222aaa | 161 | --enable-sqlite --with-sqlite3 \ |
e2bda3a7 | 162 | %{?with_pam:--enable-pam} \ |
9682d4d5 | 163 | --enable-zlib |
5e08a6fd | 164 | |
e2bda3a7 JK |
165 | touch deps/.got |
166 | ||
beed1a42 | 167 | cd deps/stringprep |
e2bda3a7 JK |
168 | %configure |
169 | cd ../.. | |
beed1a42 | 170 | cd deps/fast_tls |
e2bda3a7 JK |
171 | %configure |
172 | cd ../.. | |
beed1a42 AM |
173 | cd deps/fast_xml |
174 | %configure | |
e2bda3a7 | 175 | cd ../.. |
beed1a42 | 176 | cd deps/fast_yaml |
e2bda3a7 JK |
177 | %configure |
178 | cd ../.. | |
beed1a42 | 179 | cd deps/ezlib |
e2bda3a7 JK |
180 | %configure |
181 | cd ../.. | |
182 | ||
beed1a42 AM |
183 | # for elixir VM |
184 | LC_ALL=en_US.UTF-8; export LC_ALL | |
92a38251 | 185 | %{__make} -j1 |
fb70a56e JK |
186 | |
187 | %install | |
188 | rm -rf $RPM_BUILD_ROOT | |
d798517a | 189 | install -d $RPM_BUILD_ROOT{/var/lib/%{name},/etc/{sysconfig,rc.d/init.d}} \ |
f20002e6 | 190 | $RPM_BUILD_ROOT{%{systemdunitdir},%{_sbindir}} \ |
028763ab | 191 | $RPM_BUILD_ROOT{/etc/logrotate.d,/var/log/archive/%{name}} |
fb70a56e | 192 | |
8e141538 JK |
193 | unset GIT_DIR GIT_WORK_TREE |
194 | ||
e2bda3a7 | 195 | %{__make} install -j1 \ |
e4f8c955 JK |
196 | CHOWN_COMMAND=true \ |
197 | O_USER="" \ | |
198 | G_USER="" \ | |
27b10c8b | 199 | DESTDIR=$RPM_BUILD_ROOT |
fb70a56e | 200 | |
d798517a | 201 | sed -e's,@libdir@,%{_libdir},g' -e 's,@EJABBERD_DOC_PATH@,%{_docdir}/%{name}-%{version}/doc,g' %{SOURCE1} > $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
126fba49 AM |
202 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} |
203 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service | |
204 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} | |
fb70a56e | 205 | |
d798517a | 206 | chmod u+rw $RPM_BUILD_ROOT%{_sbindir}/%{name}* |
fb70a56e | 207 | |
beed1a42 | 208 | chmod 755 $RPM_BUILD_ROOT%{_libdir}/*/priv/lib/*.so |
5613d9b6 | 209 | |
e2bda3a7 JK |
210 | rm -rf _doc 2>/dev/null || : |
211 | mv $RPM_BUILD_ROOT%{_docdir}/%{name} _doc | |
059c0bab | 212 | |
fcf4c7a2 JK |
213 | touch $RPM_BUILD_ROOT%{_sysconfdir}/jabber/ejabberd.cfg |
214 | touch $RPM_BUILD_ROOT/var/lib/ejabberd/.erlang.cookie | |
215 | ||
fb70a56e JK |
216 | %clean |
217 | rm -rf $RPM_BUILD_ROOT | |
218 | ||
e2bda3a7 JK |
219 | %pre |
220 | if [ -e /etc/jabber/ejabberd.cfg ] ; then | |
fcf4c7a2 JK |
221 | %banner -e %{name} <<'EOF' |
222 | Old-style /etc/jabber/ejabberd.cfg configuration file exists. You should | |
223 | consider converting it to the new YAML format. You can do this with the | |
27161f77 | 224 | 'ejabberdctl convert_to_yaml' command (ejabberd must be already running). |
fcf4c7a2 | 225 | EOF |
e2bda3a7 JK |
226 | fi |
227 | ||
fb70a56e | 228 | %post |
0d54398f | 229 | if [ -f %{_sysconfdir}/jabber/secret ] ; then |
7f71a53c | 230 | SECRET="$(cat %{_sysconfdir}/jabber/secret)" |
fb70a56e | 231 | if [ -n "$SECRET" ] ; then |
7f71a53c JK |
232 | echo -n "Updating component authentication secret in ejabberd config file..." >&2 |
233 | %{__sed} -i -e "s/@service_secret@/$SECRET/" /etc/jabber/ejabberd.yml | |
234 | echo "done" >&2 | |
fb70a56e JK |
235 | fi |
236 | fi | |
fb70a56e | 237 | /sbin/chkconfig --add ejabberd |
7102eb90 JK |
238 | if [ -e /var/run/%{name}-upgrade-trigger ] ; then |
239 | # service will be restarted in the postun trigger | |
240 | rm -f /var/run/%{name}-upgrade-trigger || : | |
241 | else | |
242 | %service ejabberd restart "ejabberd server" | |
243 | %systemd_post %{name}.service | |
244 | fi | |
67271627 | 245 | |
fb70a56e JK |
246 | %preun |
247 | if [ "$1" = "0" ]; then | |
b15a901d | 248 | %service ejabberd stop |
fb70a56e JK |
249 | /sbin/chkconfig --del ejabberd |
250 | fi | |
67271627 JK |
251 | %systemd_preun %{name}.service |
252 | ||
253 | %postun | |
254 | %systemd_reload | |
255 | ||
256 | %triggerprein -- %{name} < 13.10 | |
7102eb90 JK |
257 | if [ -e /etc/jabber/ejabberd.cfg ] ; then |
258 | if grep -Eq '^[^%]*access_get' /etc/jabber/ejabberd.cfg ; then | |
259 | echo "Your 'ejabberd.cfg' config file seems to use 'access_get' option of mod_vcard" >&2 | |
260 | echo "this is not supported by this ejabberd version in PLD" >&2 | |
261 | exit 1 | |
262 | fi | |
263 | rm -f /etc/jabber/ejabberd.yml.rpmnew 2>/dev/null || : | |
264 | fi | |
265 | if [ -e /var/lock/subsys/ejabberd ] ; then | |
67271627 JK |
266 | # old init script won't stop ejabberd correctly |
267 | # stop it's all processes here | |
268 | # we assume any 'epmd', 'beam', 'beam.smp' or 'heart' process | |
269 | # running with uid of jabber is ejabberd process | |
270 | pids="$(ps -C "epmd beam beam.smp heart" -o pid=,user= | awk '/jabber/ { print $1 }')" || : | |
271 | if [ -n "$pids" ] ; then | |
272 | %banner -e %{name} <<'EOF' | |
273 | Killing all 'epmd, beam, beam.smp, heart' processed owned by the 'jabber' user to make sure old ejabberd is down. | |
7102eb90 | 274 | |
67271627 JK |
275 | EOF |
276 | kill $pids || : | |
277 | fi | |
278 | fi | |
7102eb90 | 279 | touch /var/run/%{name}-upgrade-trigger || : |
fb70a56e | 280 | |
fcf4c7a2 JK |
281 | %triggerpostun -- %{name} < 13.10 |
282 | # convert old 'NODENAME' in /etc/sysconfig/ejabberd | |
283 | # to 'ERLANG_NODE' in /etc/jabber/ejabberdctl.cfg | |
284 | # and move other settings | |
285 | NODENAME="$(hostname)" | |
286 | if [ -e /etc/sysconfig/ejabberd ] ; then | |
287 | . /etc/sysconfig/ejabberd || : | |
288 | fi | |
289 | subst="s/^#ERLANG_NODE=.*/ERLANG_NODE=ejabberd@${NODENAME}/" | |
7102eb90 JK |
290 | if [ "$NODENAME" != "localhost" ] ; then |
291 | %banner -e %{name} <<'EOF' | |
292 | Configured node name (ejabberd@${NODENAME}) is not at 'localhost'. | |
293 | – setting INET_DIST_INTERFACE=0.0.0.0 in /etc/jabber/ejabberdctl.cfg. | |
294 | You should consider tuning that or your firewall configuration. | |
295 | ||
296 | EOF | |
297 | subst="$subst;s/^#INET_DIST_INTERFACE=.*/INET_DIST_INTERFACE=0.0.0.0/" | |
298 | fi | |
fcf4c7a2 JK |
299 | if [ -n "$ERL_MAX_PORTS" ] ; then |
300 | subst="$subst;s/^#ERL_MAX_PORTS=.*/ERL_MAX_PORTS=${ERL_MAX_PORTS}/" | |
301 | fi | |
302 | sed -i -e"$subst" /etc/jabber/ejabberdctl.cfg || : | |
303 | if [ -e /etc/sysconfig/ejabberd ] ; then | |
304 | sed -i.rpmsave \ | |
305 | -e'/^[#[:space:]]*NODENAME=/d;/^# Node name/d' \ | |
306 | -e'/^[#[:space:]]*ERL_MAX_PORTS=/d;/^# uncomment this to allow more then 1024 connections/d' \ | |
307 | -e'/^[#[:space:]]*ERL_FULLSWEEP_AFTER=/d;/^# uncomment this to limit memory usage/d' \ | |
308 | /etc/sysconfig/ejabberd || : | |
309 | fi | |
310 | cp %{_sysconfdir}/jabber/cookie /var/lib/ejabberd/.erlang.cookie || : | |
7102eb90 JK |
311 | chown jabber:jabber /var/lib/ejabberd/.erlang.cookie || : |
312 | chmod 400 /var/lib/ejabberd/.erlang.cookie || : | |
313 | if [ -e /etc/jabber/ejabberd.cfg -a ! -e /etc/jabber/ejabberd.yml.rpmnew ] ; then | |
314 | mv /etc/jabber/ejabberd.yml /etc/jabber/ejabberd.yml.rpmnew | |
315 | echo 'include_config_file: "/etc/jabber/ejabberd.cfg"' > /etc/jabber/ejabberd.yml || : | |
316 | fi | |
317 | ||
318 | # post action postponed here | |
319 | %service ejabberd restart "ejabberd server" | |
320 | %systemd_post %{name}.service | |
321 | ||
67271627 | 322 | %systemd_trigger %{name}.service |
fcf4c7a2 | 323 | |
fb70a56e JK |
324 | %files |
325 | %defattr(644,root,root,755) | |
e2bda3a7 | 326 | %doc sql _doc/* |
fb70a56e | 327 | %attr(755,root,root) %{_sbindir}/* |
4852a36b AM |
328 | %attr(755,root,root) %{_bindir}/elixir |
329 | %attr(755,root,root) %{_bindir}/iex | |
330 | %attr(755,root,root) %{_bindir}/mix | |
fcf4c7a2 JK |
331 | %attr(640,root,jabber) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jabber/ejabberd-inetrc |
332 | %attr(640,root,jabber) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jabber/ejabberd.yml | |
333 | %attr(640,root,jabber) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jabber/ejabberdctl.cfg | |
334 | # legacy config may still be there | |
335 | %attr(640,root,jabber) %ghost %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/jabber/ejabberd.cfg | |
028763ab JK |
336 | %attr(770,root,jabber) /var/log/%{name} |
337 | %attr(770,root,jabber) /var/log/archive/%{name} | |
61f3ef21 | 338 | %if %{with logdb} |
beed1a42 | 339 | %exclude %{_libdir}/ejabberd-%{version}/ebin/mod_logdb* |
61f3ef21 | 340 | %endif |
beed1a42 | 341 | %{_libdir}/ejabberd-%{version} |
ac7e9a78 | 342 | %{_libdir}/base64url-* |
beed1a42 | 343 | %{_libdir}/cache_tab-* |
105db1e0 JK |
344 | %dir %{_libdir}/eimp-* |
345 | %dir %{_libdir}/eimp-*/priv | |
346 | %dir %{_libdir}/eimp-*/priv/bin | |
347 | %attr(755,root,root) %{_libdir}/eimp-*/priv/bin/eimp | |
348 | %{_libdir}/eimp-*/ebin | |
349 | %{_libdir}/eimp-*/LICENSE.txt | |
beed1a42 | 350 | %{_libdir}/elixir-* |
beed1a42 AM |
351 | %{_libdir}/ezlib-* |
352 | %{_libdir}/fast_tls-* | |
353 | %{_libdir}/fast_xml-* | |
354 | %{_libdir}/fast_yaml-* | |
355 | %{_libdir}/goldrush-* | |
89e7e566 | 356 | %{_libdir}/idna-* |
beed1a42 | 357 | %{_libdir}/jiffy-* |
ac7e9a78 | 358 | %{_libdir}/jose-* |
beed1a42 | 359 | %{_libdir}/lager-* |
9682d4d5 AM |
360 | %dir %{_libdir}/mqtree-* |
361 | %{_libdir}/mqtree-*/ebin | |
362 | %dir %{_libdir}/mqtree-*/priv | |
363 | %dir %{_libdir}/mqtree-*/priv/lib | |
364 | %attr(755,root,root) %{_libdir}/mqtree-*/priv/lib/mqtree.so | |
89e7e566 | 365 | %{_libdir}/p1_acme-* |
beed1a42 AM |
366 | %{_libdir}/p1_mysql-* |
367 | %{_libdir}/p1_oauth2-* | |
368 | %{_libdir}/p1_pgsql-* | |
369 | %{_libdir}/p1_utils-* | |
418fc4bb | 370 | %dir %{_libdir}/pkix-* |
f55bab44 AM |
371 | %{_libdir}/pkix-*/ebin |
372 | %{_libdir}/pkix-*/LICENSE | |
beed1a42 | 373 | %{_libdir}/rebar_elixir_plugin-* |
f0222aaa AM |
374 | %{_libdir}/sqlite3-*/ebin |
375 | %dir %{_libdir}/sqlite3-* | |
376 | %dir %{_libdir}/sqlite3-*/priv | |
377 | %attr(755,root,root) %{_libdir}/sqlite3-*/priv/sqlite3_drv.so | |
beed1a42 | 378 | %{_libdir}/stringprep-* |
89e7e566 | 379 | %{_libdir}/unicode_util_compat-* |
4852a36b | 380 | %{_libdir}/xmpp-* |
08278fc0 | 381 | %{_libdir}/yconf-* |
fb70a56e | 382 | %dir %attr(770,root,jabber) /var/lib/ejabberd |
fcf4c7a2 | 383 | %ghost %attr(400,jabber,jabber) %ghost %config(noreplace) %verify(not md5 mtime size) /var/lib/ejabberd/.erlang.cookie |
d798517a JK |
384 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
385 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} | |
67271627 | 386 | %{systemdunitdir}/%{name}.service |
f20002e6 | 387 | /etc/logrotate.d/%{name} |
cba58599 | 388 | |
61f3ef21 | 389 | %if %{with logdb} |
cba58599 | 390 | %files logdb |
391 | %defattr(644,root,root,755) | |
beed1a42 | 392 | %{_libdir}/ejabberd-%{version}/ebin/mod_logdb* |
61f3ef21 | 393 | %endif |