]> git.pld-linux.org Git - packages/eventum.git/blame - eventum.spec
Move all code to main package
[packages/eventum.git] / eventum.spec
CommitLineData
a659c698
JB
1#
2# Conditional build:
7bc9b641 3%bcond_with order # with experimental order patch
cddf3011 4
1e275f79 5%define rel 1
67c819dc
ER
6#define subver 37
7#define githash 2276dac77
9913db86 8%define php_min_version 7.2.5
c96aabf5 9Summary: Eventum Issue / Bug tracking system
9f49cf47 10Summary(pl.UTF-8): Eventum - system śledzenia spraw/błędów
bb01d732 11Name: eventum
cbcc369e 12Version: 3.9.3
7665f424 13Release: %{?subver:1.%{subver}.%{?githash:g%{githash}.}}%{rel}
0bd66721 14License: GPL v2+
6850abd9 15Group: Applications/WWW
8985f5c2 16Source0: https://github.com/eventum/eventum/releases/download/v%{version}/%{name}-%{version}.tar.xz
cbcc369e 17# Source0-md5: 46ed9b3c3b6c07e3d5db5b01ed43684b
8985f5c2 18#Source0: https://github.com/eventum/eventum/releases/download/snapshot/%{name}-%{version}-%{subver}-g%{githash}.tar.xz
82121306 19Source1: %{name}-apache.conf
cd719538
ER
20Source2: %{name}-mail-queue.cron
21Source3: %{name}-mail-download.cron
22Source4: %{name}-reminder.cron
23Source5: %{name}-monitor.cron
1cce3e61 24Source10: sphinx.crontab
cfcdd0a9
ER
25Source13: %{name}-router-postfix.sh
26Source14: %{name}.logrotate
27Source15: %{name}-lighttpd.conf
d0dabd47
ER
28Source16: http://www.isocra.com/images/updown2.gif
29# Source16-md5: deb6eeb2552ba757d3a949ed10c4107d
cc613bc9 30Source17: %{name}.tmpfiles
4f627938 31Patch2: %{name}-order.patch
7a906e31
ER
32#Patch3: group-users.patch
33#Patch4: https://github.com/glensc/eventum/compare/cf_escape.patch
14ff3418 34# packaging patches that probably never go upstream
ac27ba92 35Patch100: %{name}-paths.patch
cfcdd0a9 36Patch107: %{name}-gettext.patch
3ca19d87 37Patch108: autoload.patch
a6016bab
ER
38# some tests
39Patch200: %{name}-fixed-nav.patch
1bc78cb2 40URL: https://github.com/eventum/eventum
376f0835 41BuildRequires: gettext-tools
5500a61e 42BuildRequires: rpmbuild(macros) >= 1.654
4068cb73 43BuildRequires: sed >= 4.0
290540fe
ER
44BuildRequires: tar >= 1:1.22
45BuildRequires: xz
db2ce4e2 46Requires(post): sudo
5132bae6
ER
47Requires(postun): /usr/sbin/groupdel
48Requires(postun): /usr/sbin/userdel
49Requires(pre): /bin/id
50Requires(pre): /usr/bin/getgid
51Requires(pre): /usr/sbin/groupadd
52Requires(pre): /usr/sbin/useradd
0b88d857 53Requires: fonts-TTF-RedHat-liberation
01d8dfff 54Requires: php(core) >= %{php_min_version}
085aa6d4 55Requires: php(ds)
2f331c68 56Requires: php(filter)
2f331c68
ER
57Requires: php(iconv)
58Requires: php(imap)
59Requires: php(json)
60Requires: php(mbstring)
2f331c68 61Requires: php(pcre)
75d6f458 62Requires: php(pdo_mysql)
2f331c68 63Requires: php(session)
5dbd4bf5
ER
64Requires: php-Smarty >= 3.1
65Requires: php-Smarty-plugin-gettext
19d84727 66Requires: php-monolog >= 1.17.2
19d84727 67Requires: php-psr-Log >= 1.0.0-2
0b88d857 68Requires: phplot >= 5.8.0
bdf85dc8 69Requires: webapps
f399f1c0
ER
70Requires: webserver(access)
71Requires: webserver(alias)
897bdb2c 72Requires: webserver(indexfile)
61351540 73Requires: webserver(php) >= 4.2.0
462ee1a6 74Suggests: localedb
383eed8e
ER
75Suggests: php(mcrypt)
76Suggests: php(openssl)
06ddb94b 77Suggests: webserver(setenv)
5132bae6
ER
78Provides: group(eventum)
79Provides: user(eventum)
80Obsoletes: eventum-base < 3.0.3-1.305
4e2cf70d
ER
81Obsoletes: eventum-route-drafts < 3.0.8-1.1
82Obsoletes: eventum-route-emails < 3.0.8-1.1
83Obsoletes: eventum-route-notes < 3.0.8-1.1
bd70ea88 84Conflicts: logrotate < 3.8.0
35fa3cf8 85BuildArch: noarch
bb01d732
ER
86BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
87
e608e003 88%define _noautoreq_pear .*
1d760108 89%define _libdir %{_prefix}/lib/%{name}
71f56750 90%define _appdir %{_datadir}/%{name}
d1c44829 91%define _smartydir %{php_data_dir}/Smarty
bdf85dc8
ER
92%define _webapps /etc/webapps
93%define _webapp %{name}
8a37ad9d
ER
94%define _webappdir %{_webapps}/%{_webapp}
95%define _sysconfdir /etc/%{name}
bb01d732
ER
96
97%description
98Eventum is a user-friendly and flexible issue tracking system that can
99be used by a support department to track incoming technical support
100requests, or by a software development team to quickly organize tasks
a3a1480e 101and bugs.
bb01d732 102
d8cfa9f0
JR
103%description -l pl.UTF-8
104Eventum to przyjazny dla użytkownika system śledzenia spraw, który
105może być używany przez dział obsługi do śledzenia przychodzących żądań
106obsługi technicznej albo przez zespół tworzący oprogramowanie do
a3a1480e 107szybkiej organizacji zadań i błędów.
4068cb73 108
ab983aaa 109%package setup
4068cb73 110Summary: Eventum setup package
9f49cf47 111Summary(pl.UTF-8): Pakiet do wstępnej konfiguracji Eventum
ab983aaa 112Group: Applications/WWW
5b165428 113Requires: %{name} = %{version}-%{release}
ab983aaa
ER
114
115%description setup
116Install this package to configure initial Eventum installation. You
117should uninstall this package when you're done, as it considered
118insecure to keep the setup files in place.
119
d8cfa9f0
JR
120%description setup -l pl.UTF-8
121Ten pakiet należy zainstalować w celu wstępnej konfiguracji Eventum po
122pierwszej instalacji. Potem należy go odinstalować, jako że
123pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
4068cb73 124
d4a553ea
ER
125%package doc
126Summary: Eventum documentation and Wiki
127Group: Documentation
128
129%description doc
1bc78cb2 130Eventum documentation and Wiki.
d4a553ea 131
0da8e1f2 132%package mail-queue
30689148 133Summary: Eventum mail queue process
9f49cf47 134Summary(pl.UTF-8): Przetwarzanie kolejki poczty Eventum
0da8e1f2 135Group: Applications/WWW
5b165428 136Requires: %{name} = %{version}-%{release}
0da8e1f2
ER
137Requires: crondaemon
138
139%description mail-queue
140Beginning with the first release of Eventum, emails are not directly
141sent out from the various scripts, but rather added to a mail queue
142table that is processed by a cron job. If an email cannot be sent, it
143will be marked as such in the mail queue log, and the cron job script
144will re-try to send it again the next time it runs.
145
146This package contains the cron job.
147
d8cfa9f0
JR
148%description mail-queue -l pl.UTF-8
149Od pierwszego wydania Eventum poczta nie jest wysyłana bezpośrednio z
150różnych skryptów, lecz dodawana do kolejki przetwarzanej z crona.
151Jeśli poczta nie może być wysłana, będzie odpowiednio oznaczona w logu
152kolejki poczty, a skrypt z crona będzie próbował wysłać ją ponownie
153następnym razem.
0181746f 154
30689148 155Ten pakiet zawiera zadanie dla crona.
156
ea084bcb 157%package mail-download
30689148 158Summary: Eventum email download
9f49cf47 159Summary(pl.UTF-8): Ściąganie poczty Eventum
ea084bcb 160Group: Applications/WWW
5b165428 161Requires: %{name} = %{version}-%{release}
ea084bcb
ER
162Requires: crondaemon
163
164%description mail-download
165In order for Eventum's email integration feature to work, you need to
166setup a cron job to run the script every so often.
167
168This package contains the cron job.
169
d8cfa9f0
JR
170%description mail-download -l pl.UTF-8
171Aby integracja poczty elektronicznej w Eventum działała, trzeba
172ustawić zadanie crona, aby uruchamiał odpowiedni skrypt wystarczająco
173często.
0181746f
JB
174
175Ten pakiet zawiera zadanie dla crona.
176
cd719538
ER
177%package reminder
178Summary: Eventum Reminder System
9f49cf47 179Summary(pl.UTF-8): System przypominania dla Eventum
cd719538 180Group: Applications/WWW
5b165428 181Requires: %{name} = %{version}-%{release}
cd719538
ER
182Requires: crondaemon
183
184%description reminder
185The reminder system was designed with the objective as serving as a
186safe net for issues that need attention. Depending on what
187configuration you create, you may have several reminders (or alerts)
188be sent out whenever an issue needs attention, for whatever parameter
189you may deem necessary.
190
191This package contains the cron job.
192
d8cfa9f0
JR
193%description reminder -l pl.UTF-8
194System przypominania został zaprojektowany tak, aby służył jako
195bezpieczna sieć dla spraw wymagających uwagi. W zależności od
196konfiguracji można ustawić różne przypominajki (lub alarmy) wysyłane
197przy każdej sprawie wymagającej uwagi lub przy parametrze, który można
198uważać za potrzebny.
6341f096
JB
199
200Ten pakiet zawiera zadanie dla crona.
201
cd719538
ER
202%package monitor
203Summary: Eventum Heartbeat Monitor
9f49cf47 204Summary(pl.UTF-8): Monitor życia dla Eventum
cd719538 205Group: Applications/WWW
5b165428 206Requires: %{name} = %{version}-%{release}
cd719538 207Requires: crondaemon
2f331c68 208Requires: php(posix)
cd719538
ER
209
210%description monitor
211The heartbeat monitor is a feature designed for the administrator that
212wants to be alerted whenever a common problem in Eventum is detected,
213like the database server not being available anymore, or maybe when
214the recommended permissions for certain configuration files are
215changed.
216
217Please note that before running the heartbeat monitor, you may need to
218customize some of the checks to be appropriate for your own system,
219particularly the permission and file checks on
220Monitor::checkConfiguration().
221
222This package contains the cron job.
223
d8cfa9f0
JR
224%description monitor -l pl.UTF-8
225Monitor życia to funkcjonalność zaprojektowana dla administratora
226chcącego być alarmowanym przy każdym wykryciu popularnego problemu z
227Eventum, jak nie działanie serwera bazy danych albo zmiana uprawnień
228do plików konfiguracyjnych.
6341f096 229
d8cfa9f0
JR
230Należy zauważyć, że przed uruchomieniem tego monitora może być
231konieczne dostosowanie niektórych testów do systemu, w szczególności
232testów uprawnień i plików w Monitor::checkConfiguration().
6341f096
JB
233
234Ten pakiet zawiera zadanie dla crona.
235
a6d2ad69
ER
236%package router-postfix
237Summary: Eventum Mail Routing - Postfix
9f49cf47 238Summary(pl.UTF-8): Przekazywanie poczty Eventum - Postfix
a6d2ad69 239Group: Applications/Mail
5b165428 240Requires: %{name} = %{version}-%{release}
a6d2ad69 241Requires: postfix
8bc4bcd1
ER
242Provides: eventum(router)
243Obsoletes: eventum(router)
a6d2ad69
ER
244
245%description router-postfix
246This package provides way of routing notes and emails back to Eventum
247via Postfix.
248
e1bb3563 249The Postfix configuration instructions you can find from
1bc78cb2 250<https://github.com/eventum/eventum/blob/v%{version}/docs/wiki/System-Admin/Setting-up-email-routing-with-postfix.md>
e1bb3563 251
d8cfa9f0
JR
252%description router-postfix -l pl.UTF-8
253Ten pakiet udostępnia metodę przekazywania notatek i listów do Eventum
995fa554
JB
254przez Postfiksa.
255
d8cfa9f0 256Opis konfiguracji Postfiksa można znaleźć pod adresem
1bc78cb2 257<https://github.com/eventum/eventum/blob/v%{version}/docs/wiki/System-Admin/Setting-up-email-routing-with-postfix.md>
a659c698 258
1cce3e61
ER
259%package sphinx
260Summary: Eventum Sphinx Search
261Group: Applications/WWW
262Requires: %{name} = %{version}-%{release}
263Requires: crondaemon
264Requires: sphinx
265
266%description sphinx
267Sphinx search integration for Eventum.
268
269This package contains the cron job.
270
bb01d732 271%prep
4b01e826 272%setup -q -n %{name}-%{version}%{?githash:-%{subver}-g%{githash}}
5b165428 273
fa6167ba
ER
274mv docs/examples .
275
9487d524 276# bug fixes / features
4f627938 277%{?with_order:%patch2 -p1}
7a906e31
ER
278#%patch3 -p0
279#%patch4 -p1
7a906e31 280%{?with_order:cp -p %{SOURCE16} htdocs/images}
a6016bab 281#%patch200 -p1
ac27ba92 282
1cce3e61
ER
283# produce default sphinx config
284# must be run before paths.patch
7a906e31 285%if 0
1cce3e61
ER
286cat <<'EOF' > config/config.php
287<?php
288define('APP_SQL_DBTYPE', 'mysql');
289define('APP_SQL_DBHOST', 'localhost:/var/lib/mysql/mysql.sock');
290define('APP_SQL_DBPORT', 3306);
291define('APP_SQL_DBNAME', 'eventum');
292define('APP_SQL_DBUSER', 'mysql');
293define('APP_SQL_DBPASS', '');
294define('APP_TABLE_PREFIX', 'eventum_');
295EOF
296php config/sphinx.conf.php > config/sphinx.conf
54b9a2df 297rm config/config.php
7a906e31 298%endif
1cce3e61 299
ac27ba92
ER
300# packaging
301%patch100 -p1
ac27ba92 302%patch107 -p1
3ca19d87 303%patch108 -p1
0b3b58dd 304
54b9a2df
ER
305rm htdocs/.htaccess.dist
306
1df90ad2
ER
307# cleanup libs taken from system, everything else gets bundled
308rm -r vendor/fonts/liberation
309rm -r vendor/monolog/monolog
1df90ad2
ER
310rm -r vendor/phplot/phplot
311rm -r vendor/psr/log
312rm -r vendor/smarty-gettext/smarty-gettext
313rm -r vendor/smarty/smarty
314rm -r vendor/sphinx/php-sphinxapi
c3fd3767 315
9c8b19cb
ER
316%{__sed} -i '1s|^#!.*php\b|#!/usr/bin/php|' config/sphinx.conf.php bin/*.php
317
5b165428 318# remove backups from patching as we use globs to package files to buildroot
73c437a6 319find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
085e39c0 320
465c3ab7 321%build
ae3e48e6 322%{__make} -C localization
465c3ab7 323
bb01d732
ER
324%install
325rm -rf $RPM_BUILD_ROOT
cfc3bce6 326install -d \
6e3be5a3 327 $RPM_BUILD_ROOT{%{_webappdir}/{custom_field,templates,workflow},%{_sysconfdir},%{_bindir},%{_sbindir},%{_libdir}} \
2b135b34 328 $RPM_BUILD_ROOT/etc/{rc.d/init.d,cron.d,logrotate.d,sysconfig} \
5c4473bf 329 $RPM_BUILD_ROOT/var/{run,lib}/%{name} \
685fc383 330 $RPM_BUILD_ROOT/var/log/{archive/,}%{name} \
ac6bab4c 331 $RPM_BUILD_ROOT/var/lib/%{name}/{routed_{emails,drafts,notes},storage} \
5c4473bf 332 $RPM_BUILD_ROOT/var/cache/%{name}/doctrine/proxies \
73de38a1 333 $RPM_BUILD_ROOT%{systemdtmpfilesdir}
cfc3bce6 334
9de27aeb 335%{__make} install-eventum install-localization \
ae3e48e6 336 sysconfdir=%{_webappdir} \
7a906e31 337 localedir=%{_localedir} \
ae3e48e6 338 DESTDIR=$RPM_BUILD_ROOT
da8d6134 339
dd5b687f 340ln -s %{_webappdir} $RPM_BUILD_ROOT%{_appdir}/config
37f06e5c 341
bcb86d50 342cp -a vendor $RPM_BUILD_ROOT%{_appdir}
3ca19d87 343
29e8ea7c
ER
344# unsupported locale
345%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ht
346
fa6167ba
ER
347install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
348cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
349
ae3e48e6 350%{?with_order:cp -a htdocs/ajax $RPM_BUILD_ROOT%{_appdir}/htdocs}
9cdc5027 351
f399f1c0 352touch $RPM_BUILD_ROOT%{_webappdir}/htpasswd
1b5aae0f 353cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
87ca28ca 354cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1b5aae0f 355cp -p %{SOURCE15} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1cce3e61
ER
356
357install -d $RPM_BUILD_ROOT/etc/sphinx
7a906e31 358#cp -p config/sphinx.conf $RPM_BUILD_ROOT/etc/sphinx/%{name}.conf
858c6f2a 359cp -p config/sphinx.conf.php $RPM_BUILD_ROOT%{_webappdir}
ae3e48e6 360
1b5aae0f
ER
361cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/%{name}-mail-queue
362cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/%{name}-mail-download
363cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/%{name}-reminder
364cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/cron.d/%{name}-monitor
1cce3e61 365cp -p %{SOURCE10} $RPM_BUILD_ROOT/etc/cron.d/%{name}-sphinx
ae3e48e6 366
1b5aae0f 367cp -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
2b135b34 368
410d72c7 369# postfix router
858c6f2a 370install -p %{SOURCE13} $RPM_BUILD_ROOT%{_libdir}/router-postfix
a6d2ad69 371
92bc2f5d 372cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
cc613bc9 373
600d96a0 374%find_lang %{name}
c1e74aa1 375
bb01d732
ER
376%clean
377rm -rf $RPM_BUILD_ROOT
378
01b84746 379%pre
5132bae6
ER
380%groupadd -g 146 %{name}
381%useradd -u 146 -d /var/lib/%{name} -g %{name} -c "Eventum User" %{name}
01b84746
ER
382%addusertogroup http %{name}
383
82121306 384%post
686306de
ER
385# create empty ghost files
386# these permissions ensure the logs are write only
387for a in \
388 errors.log login_attempts.log \
2df0528f 389 eventum.log \
7b26fd71 390 auth.log cli.log \
686306de
ER
391; do
392 test -f /var/log/%{name}/$a && continue
393 install -m 0620 -o root -g http /dev/null /var/log/%{name}/$a
08196fe2
ER
394done
395
00358bba 396# run database update if configured
9913db86 397test -s %{_webappdir}/setup.php && \
db2ce4e2 398sudo -H -u http -- %{_appdir}/bin/upgrade.php || :
847270fe 399
da8d6134 400# nuke Smarty templates cache after upgrade
b452fa5d 401rm -f /var/cache/eventum/smarty/*.php
da8d6134 402
4a751c1a
ER
403# Restart webserver on upgrade to get .mo translations reloaded.
404# actually php engines "php-fcgi" and "php-fpm" needed only, apache is restarted anyway via webapp trigger.
114241d7
ER
405%php_webserver_restart
406
5132bae6 407%postun
01b84746 408if [ "$1" = "0" ]; then
a6d2ad69 409 %userremove %{name}
1f52d1fe 410 %groupremove %{name}
a6d2ad69
ER
411fi
412
94bd779f 413%post setup
9913db86
ER
414chmod 660 %{_webappdir}/{setup,private_key,secret_key}.php
415chown root:http %{_webappdir}/{setup,private_key,secret_key}.php
94bd779f
ER
416
417%postun setup
9913db86
ER
418if [ "$1" = "0" ] && [ -f %{_webappdir}/setup.php ]; then
419 chmod 640 %{_webappdir}/{setup,private_key,secret_key}.php
420 chown root:http %{_webappdir}/{setup,private_key,secret_key}.php
94bd779f
ER
421fi
422
09f58a75 423%triggerin -- apache1 < 1.3.37-3, apache1-base
bdf85dc8 424%webapp_register apache %{_webapp}
1d760108 425
09f58a75 426%triggerun -- apache1 < 1.3.37-3, apache1-base
bdf85dc8 427%webapp_unregister apache %{_webapp}
1d760108 428
87ca28ca 429%triggerin -- apache < 2.2.0, apache-base
bdf85dc8 430%webapp_register httpd %{_webapp}
1d760108 431
87ca28ca 432%triggerun -- apache < 2.2.0, apache-base
bdf85dc8 433%webapp_unregister httpd %{_webapp}
1d760108 434
f399f1c0
ER
435%triggerin -- lighttpd
436%webapp_register lighttpd %{_webapp}
437
438%triggerun -- lighttpd
439%webapp_unregister lighttpd %{_webapp}
440
600d96a0 441%files -f %{name}.lang
bb01d732 442%defattr(644,root,root,755)
371b276a 443%attr(771,root,http) %dir %{_webappdir}
f7d1e520 444%attr(751,root,http) %dir %{_webappdir}/crm
e9a24d52 445%attr(751,root,http) %dir %{_webappdir}/custom_field
f7d1e520 446%attr(751,root,http) %dir %{_webappdir}/partner
e9a24d52 447%attr(751,root,http) %dir %{_webappdir}/templates
94cd239c 448%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/htpasswd
e570944f 449%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/private_key.php
dee89c38 450%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/secret_key.php
94cd239c
ER
451%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
452%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
453%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
e570944f 454%attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/setup.php
d2e501e8 455
7e9ea0b3 456%dir %attr(731,root,http) /var/log/%{name}
e570944f 457%attr(620,root,http) %ghost /var/log/%{name}/*
3c6aa7a9 458%dir %attr(750,root,root) /var/log/archive/%{name}
8fd047ac 459%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
35f9d6a3 460
5132bae6 461%dir %{_appdir}
37f06e5c
ER
462%{_appdir}/config
463
7a906e31 464%dir %{_appdir}/bin
e4872067 465%attr(755,root,root) %{_appdir}/bin/check_reminders.php
59b9fac1 466%attr(755,root,root) %{_appdir}/bin/console.php
e4872067 467%attr(755,root,root) %{_appdir}/bin/download_emails.php
f2c60f9c 468%attr(755,root,root) %{_appdir}/bin/export-issues.php
acff2f42 469%attr(755,root,root) %{_appdir}/bin/extension.php
bd0576dd 470%attr(755,root,root) %{_appdir}/bin/ldapsync.php
c316a9af 471%attr(755,root,root) %{_appdir}/bin/migrate_storage_adapter.php
e4872067 472%attr(755,root,root) %{_appdir}/bin/monitor.php
7a906e31 473%attr(755,root,root) %{_appdir}/bin/process_all_emails.php
e4872067
ER
474%attr(755,root,root) %{_appdir}/bin/process_mail_queue.php
475%attr(755,root,root) %{_appdir}/bin/truncate_mail_queue.php
6453eaf6 476%attr(755,root,root) %{_appdir}/bin/upgrade.php
7a906e31 477
4b01e826 478%{_appdir}/autoload.php
ae3e48e6 479%{_appdir}/init.php
1beb4932 480%{_appdir}/phinx.php
cfc3bce6
ER
481%dir %{_appdir}/htdocs
482%{_appdir}/htdocs/*.php
da8d6134 483%{_appdir}/htdocs/*.ico
67c819dc 484%{_appdir}/htdocs/mix-manifest.json
7bc9b641 485%{_appdir}/htdocs/ajax
cfc3bce6
ER
486%{_appdir}/htdocs/css
487%{_appdir}/htdocs/customer
67c819dc 488%{_appdir}/htdocs/fonts
cfc3bce6
ER
489%{_appdir}/htdocs/images
490%{_appdir}/htdocs/js
491%{_appdir}/htdocs/manage
492%{_appdir}/htdocs/reports
493%{_appdir}/htdocs/rpc
9748a8c3 494%{_appdir}/templates
847270fe 495
8be9fbff
ER
496%dir %{_appdir}/db
497%dir %{_appdir}/db/migrations
498%{_appdir}/db/migrations/*.php
5c4473bf
ER
499%dir %{_appdir}/db/seeds
500%{_appdir}/db/seeds/*.php
847270fe 501
8772b0d6 502%{_appdir}/res
e8b7cc70 503%{_appdir}/src
8772b0d6 504%{_appdir}/vendor
ae3e48e6
ER
505%dir %{_appdir}/lib
506%{_appdir}/lib/eventum
00e339ff 507
5132bae6
ER
508%dir %{_libdir}
509
73de38a1 510%{systemdtmpfilesdir}/%{name}.conf
5132bae6
ER
511
512%dir /var/lib/%{name}
e570944f
ER
513%dir %attr(730,root,http) /var/run/%{name}
514%dir %attr(730,root,http) /var/cache/%{name}
5c4473bf
ER
515%dir %attr(730,root,http) /var/cache/%{name}/doctrine
516%dir %attr(730,root,http) /var/cache/%{name}/doctrine/proxies
ab983aaa 517
89522a33 518# saved mail copies
e570944f
ER
519%attr(770,root,http) %dir /var/lib/%{name}/routed_emails
520%attr(770,root,http) %dir /var/lib/%{name}/routed_drafts
521%attr(770,root,http) %dir /var/lib/%{name}/routed_notes
ac6bab4c
ER
522# attachment storage
523%attr(770,root,http) %dir /var/lib/%{name}/storage
d2e501e8 524
ab983aaa
ER
525%files setup
526%defattr(644,root,root,755)
cfc3bce6 527%{_appdir}/htdocs/setup
0da8e1f2 528
d4a553ea 529%files doc
06ddb94b 530%defattr(644,root,root,755)
d4a553ea
ER
531%doc docs/*
532%{_examplesdir}/%{name}-%{version}
533
0da8e1f2
ER
534%files mail-queue
535%defattr(644,root,root,755)
ea084bcb
ER
536%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-mail-queue
537
538%files mail-download
539%defattr(644,root,root,755)
ea084bcb 540%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-mail-download
5cb2e61d 541
cd719538
ER
542%files reminder
543%defattr(644,root,root,755)
cd719538
ER
544%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-reminder
545
546%files monitor
547%defattr(644,root,root,755)
cd719538
ER
548%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-monitor
549
a6d2ad69
ER
550%files router-postfix
551%defattr(644,root,root,755)
410d72c7 552%attr(755,root,root) %{_libdir}/router-postfix
a6d2ad69 553
1cce3e61
ER
554%files sphinx
555%defattr(644,root,root,755)
556%{_webappdir}/sphinx.conf.php
7a906e31 557#%attr(750,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/sphinx/%{name}.conf
1cce3e61 558%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-sphinx
This page took 0.321437 seconds and 4 git commands to generate.