]> git.pld-linux.org Git - packages/eventum.git/blame - eventum.spec
Up to 3.9.12
[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
7669597a 12Version: 3.9.12
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
7669597a 17# Source0-md5: d562163c1662fc755729c595eb61ebfe
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
a6d2ad69
ER
242
243%description router-postfix
244This package provides way of routing notes and emails back to Eventum
245via Postfix.
246
e1bb3563 247The Postfix configuration instructions you can find from
1bc78cb2 248<https://github.com/eventum/eventum/blob/v%{version}/docs/wiki/System-Admin/Setting-up-email-routing-with-postfix.md>
e1bb3563 249
d8cfa9f0
JR
250%description router-postfix -l pl.UTF-8
251Ten pakiet udostępnia metodę przekazywania notatek i listów do Eventum
995fa554
JB
252przez Postfiksa.
253
d8cfa9f0 254Opis konfiguracji Postfiksa można znaleźć pod adresem
1bc78cb2 255<https://github.com/eventum/eventum/blob/v%{version}/docs/wiki/System-Admin/Setting-up-email-routing-with-postfix.md>
a659c698 256
1cce3e61
ER
257%package sphinx
258Summary: Eventum Sphinx Search
259Group: Applications/WWW
260Requires: %{name} = %{version}-%{release}
261Requires: crondaemon
262Requires: sphinx
263
264%description sphinx
265Sphinx search integration for Eventum.
266
267This package contains the cron job.
268
bb01d732 269%prep
4b01e826 270%setup -q -n %{name}-%{version}%{?githash:-%{subver}-g%{githash}}
5b165428 271
fa6167ba
ER
272mv docs/examples .
273
9487d524 274# bug fixes / features
4f627938 275%{?with_order:%patch2 -p1}
7a906e31
ER
276#%patch3 -p0
277#%patch4 -p1
7a906e31 278%{?with_order:cp -p %{SOURCE16} htdocs/images}
a6016bab 279#%patch200 -p1
ac27ba92 280
1cce3e61
ER
281# produce default sphinx config
282# must be run before paths.patch
7a906e31 283%if 0
1cce3e61
ER
284cat <<'EOF' > config/config.php
285<?php
286define('APP_SQL_DBTYPE', 'mysql');
287define('APP_SQL_DBHOST', 'localhost:/var/lib/mysql/mysql.sock');
288define('APP_SQL_DBPORT', 3306);
289define('APP_SQL_DBNAME', 'eventum');
290define('APP_SQL_DBUSER', 'mysql');
291define('APP_SQL_DBPASS', '');
292define('APP_TABLE_PREFIX', 'eventum_');
293EOF
294php config/sphinx.conf.php > config/sphinx.conf
54b9a2df 295rm config/config.php
7a906e31 296%endif
1cce3e61 297
ac27ba92
ER
298# packaging
299%patch100 -p1
ac27ba92 300%patch107 -p1
3ca19d87 301%patch108 -p1
0b3b58dd 302
54b9a2df
ER
303rm htdocs/.htaccess.dist
304
1df90ad2
ER
305# cleanup libs taken from system, everything else gets bundled
306rm -r vendor/fonts/liberation
307rm -r vendor/monolog/monolog
1df90ad2
ER
308rm -r vendor/phplot/phplot
309rm -r vendor/psr/log
310rm -r vendor/smarty-gettext/smarty-gettext
311rm -r vendor/smarty/smarty
312rm -r vendor/sphinx/php-sphinxapi
c3fd3767 313
9c8b19cb
ER
314%{__sed} -i '1s|^#!.*php\b|#!/usr/bin/php|' config/sphinx.conf.php bin/*.php
315
5b165428 316# remove backups from patching as we use globs to package files to buildroot
73c437a6 317find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
085e39c0 318
465c3ab7 319%build
ae3e48e6 320%{__make} -C localization
465c3ab7 321
bb01d732
ER
322%install
323rm -rf $RPM_BUILD_ROOT
cfc3bce6 324install -d \
6e3be5a3 325 $RPM_BUILD_ROOT{%{_webappdir}/{custom_field,templates,workflow},%{_sysconfdir},%{_bindir},%{_sbindir},%{_libdir}} \
2b135b34 326 $RPM_BUILD_ROOT/etc/{rc.d/init.d,cron.d,logrotate.d,sysconfig} \
64359d1c 327 $RPM_BUILD_ROOT/var/{run,lib,spool}/%{name} \
685fc383 328 $RPM_BUILD_ROOT/var/log/{archive/,}%{name} \
ac6bab4c 329 $RPM_BUILD_ROOT/var/lib/%{name}/{routed_{emails,drafts,notes},storage} \
5c4473bf 330 $RPM_BUILD_ROOT/var/cache/%{name}/doctrine/proxies \
73de38a1 331 $RPM_BUILD_ROOT%{systemdtmpfilesdir}
cfc3bce6 332
9de27aeb 333%{__make} install-eventum install-localization \
ae3e48e6 334 sysconfdir=%{_webappdir} \
7a906e31 335 localedir=%{_localedir} \
ae3e48e6 336 DESTDIR=$RPM_BUILD_ROOT
da8d6134 337
60ba10e2 338ln -s --relative $RPM_BUILD_ROOT{%{_webappdir},%{_appdir}/config}
37f06e5c 339
bcb86d50 340cp -a vendor $RPM_BUILD_ROOT%{_appdir}
3ca19d87 341
29e8ea7c
ER
342# unsupported locale
343%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ht
344
fa6167ba
ER
345install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
346cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
347
ae3e48e6 348%{?with_order:cp -a htdocs/ajax $RPM_BUILD_ROOT%{_appdir}/htdocs}
9cdc5027 349
f399f1c0 350touch $RPM_BUILD_ROOT%{_webappdir}/htpasswd
1b5aae0f 351cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
87ca28ca 352cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1b5aae0f 353cp -p %{SOURCE15} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1cce3e61
ER
354
355install -d $RPM_BUILD_ROOT/etc/sphinx
7a906e31 356#cp -p config/sphinx.conf $RPM_BUILD_ROOT/etc/sphinx/%{name}.conf
858c6f2a 357cp -p config/sphinx.conf.php $RPM_BUILD_ROOT%{_webappdir}
ae3e48e6 358
1b5aae0f
ER
359cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/%{name}-mail-queue
360cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/%{name}-mail-download
361cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/%{name}-reminder
362cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/cron.d/%{name}-monitor
1cce3e61 363cp -p %{SOURCE10} $RPM_BUILD_ROOT/etc/cron.d/%{name}-sphinx
ae3e48e6 364
1b5aae0f 365cp -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
2b135b34 366
410d72c7 367# postfix router
858c6f2a 368install -p %{SOURCE13} $RPM_BUILD_ROOT%{_libdir}/router-postfix
a6d2ad69 369
92bc2f5d 370cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
cc613bc9 371
600d96a0 372%find_lang %{name}
c1e74aa1 373
bb01d732
ER
374%clean
375rm -rf $RPM_BUILD_ROOT
376
01b84746 377%pre
5132bae6
ER
378%groupadd -g 146 %{name}
379%useradd -u 146 -d /var/lib/%{name} -g %{name} -c "Eventum User" %{name}
01b84746
ER
380%addusertogroup http %{name}
381
82121306 382%post
686306de
ER
383# create empty ghost files
384# these permissions ensure the logs are write only
385for a in \
386 errors.log login_attempts.log \
2df0528f 387 eventum.log \
7b26fd71 388 auth.log cli.log \
686306de
ER
389; do
390 test -f /var/log/%{name}/$a && continue
391 install -m 0620 -o root -g http /dev/null /var/log/%{name}/$a
08196fe2
ER
392done
393
00358bba 394# run database update if configured
9913db86 395test -s %{_webappdir}/setup.php && \
db2ce4e2 396sudo -H -u http -- %{_appdir}/bin/upgrade.php || :
847270fe 397
da8d6134 398# nuke Smarty templates cache after upgrade
b452fa5d 399rm -f /var/cache/eventum/smarty/*.php
da8d6134 400
4a751c1a
ER
401# Restart webserver on upgrade to get .mo translations reloaded.
402# actually php engines "php-fcgi" and "php-fpm" needed only, apache is restarted anyway via webapp trigger.
114241d7
ER
403%php_webserver_restart
404
5132bae6 405%postun
01b84746 406if [ "$1" = "0" ]; then
a6d2ad69 407 %userremove %{name}
1f52d1fe 408 %groupremove %{name}
a6d2ad69
ER
409fi
410
94bd779f 411%post setup
9913db86
ER
412chmod 660 %{_webappdir}/{setup,private_key,secret_key}.php
413chown root:http %{_webappdir}/{setup,private_key,secret_key}.php
94bd779f
ER
414
415%postun setup
9913db86
ER
416if [ "$1" = "0" ] && [ -f %{_webappdir}/setup.php ]; then
417 chmod 640 %{_webappdir}/{setup,private_key,secret_key}.php
418 chown root:http %{_webappdir}/{setup,private_key,secret_key}.php
94bd779f
ER
419fi
420
09f58a75 421%triggerin -- apache1 < 1.3.37-3, apache1-base
bdf85dc8 422%webapp_register apache %{_webapp}
1d760108 423
09f58a75 424%triggerun -- apache1 < 1.3.37-3, apache1-base
bdf85dc8 425%webapp_unregister apache %{_webapp}
1d760108 426
87ca28ca 427%triggerin -- apache < 2.2.0, apache-base
bdf85dc8 428%webapp_register httpd %{_webapp}
1d760108 429
87ca28ca 430%triggerun -- apache < 2.2.0, apache-base
bdf85dc8 431%webapp_unregister httpd %{_webapp}
1d760108 432
f399f1c0
ER
433%triggerin -- lighttpd
434%webapp_register lighttpd %{_webapp}
435
436%triggerun -- lighttpd
437%webapp_unregister lighttpd %{_webapp}
438
600d96a0 439%files -f %{name}.lang
bb01d732 440%defattr(644,root,root,755)
371b276a 441%attr(771,root,http) %dir %{_webappdir}
f7d1e520 442%attr(751,root,http) %dir %{_webappdir}/crm
e9a24d52 443%attr(751,root,http) %dir %{_webappdir}/custom_field
f7d1e520 444%attr(751,root,http) %dir %{_webappdir}/partner
e9a24d52 445%attr(751,root,http) %dir %{_webappdir}/templates
94cd239c 446%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/htpasswd
e570944f 447%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/private_key.php
dee89c38 448%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/secret_key.php
94cd239c
ER
449%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
450%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
451%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
e570944f 452%attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/setup.php
d2e501e8 453
7e9ea0b3 454%dir %attr(731,root,http) /var/log/%{name}
e570944f 455%attr(620,root,http) %ghost /var/log/%{name}/*
3c6aa7a9 456%dir %attr(750,root,root) /var/log/archive/%{name}
8fd047ac 457%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
35f9d6a3 458
5132bae6 459%dir %{_appdir}
37f06e5c
ER
460%{_appdir}/config
461
7a906e31 462%dir %{_appdir}/bin
e4872067 463%attr(755,root,root) %{_appdir}/bin/check_reminders.php
59b9fac1 464%attr(755,root,root) %{_appdir}/bin/console.php
e4872067 465%attr(755,root,root) %{_appdir}/bin/download_emails.php
f2c60f9c 466%attr(755,root,root) %{_appdir}/bin/export-issues.php
acff2f42 467%attr(755,root,root) %{_appdir}/bin/extension.php
bd0576dd 468%attr(755,root,root) %{_appdir}/bin/ldapsync.php
c316a9af 469%attr(755,root,root) %{_appdir}/bin/migrate_storage_adapter.php
e4872067 470%attr(755,root,root) %{_appdir}/bin/monitor.php
7a906e31 471%attr(755,root,root) %{_appdir}/bin/process_all_emails.php
e4872067
ER
472%attr(755,root,root) %{_appdir}/bin/process_mail_queue.php
473%attr(755,root,root) %{_appdir}/bin/truncate_mail_queue.php
6453eaf6 474%attr(755,root,root) %{_appdir}/bin/upgrade.php
7a906e31 475
4b01e826 476%{_appdir}/autoload.php
ae3e48e6 477%{_appdir}/init.php
1beb4932 478%{_appdir}/phinx.php
cfc3bce6
ER
479%dir %{_appdir}/htdocs
480%{_appdir}/htdocs/*.php
da8d6134 481%{_appdir}/htdocs/*.ico
67c819dc 482%{_appdir}/htdocs/mix-manifest.json
7bc9b641 483%{_appdir}/htdocs/ajax
cfc3bce6
ER
484%{_appdir}/htdocs/css
485%{_appdir}/htdocs/customer
67c819dc 486%{_appdir}/htdocs/fonts
cfc3bce6
ER
487%{_appdir}/htdocs/images
488%{_appdir}/htdocs/js
489%{_appdir}/htdocs/manage
490%{_appdir}/htdocs/reports
491%{_appdir}/htdocs/rpc
9748a8c3 492%{_appdir}/templates
847270fe 493
8be9fbff
ER
494%dir %{_appdir}/db
495%dir %{_appdir}/db/migrations
496%{_appdir}/db/migrations/*.php
5c4473bf
ER
497%dir %{_appdir}/db/seeds
498%{_appdir}/db/seeds/*.php
847270fe 499
8772b0d6 500%{_appdir}/res
e8b7cc70 501%{_appdir}/src
8772b0d6 502%{_appdir}/vendor
ae3e48e6
ER
503%dir %{_appdir}/lib
504%{_appdir}/lib/eventum
00e339ff 505
5132bae6
ER
506%dir %{_libdir}
507
73de38a1 508%{systemdtmpfilesdir}/%{name}.conf
5132bae6
ER
509
510%dir /var/lib/%{name}
e570944f 511%dir %attr(730,root,http) /var/run/%{name}
64359d1c 512%dir %attr(730,root,http) /var/spool/%{name}
e570944f 513%dir %attr(730,root,http) /var/cache/%{name}
5c4473bf
ER
514%dir %attr(730,root,http) /var/cache/%{name}/doctrine
515%dir %attr(730,root,http) /var/cache/%{name}/doctrine/proxies
ab983aaa 516
89522a33 517# saved mail copies
e570944f
ER
518%attr(770,root,http) %dir /var/lib/%{name}/routed_emails
519%attr(770,root,http) %dir /var/lib/%{name}/routed_drafts
520%attr(770,root,http) %dir /var/lib/%{name}/routed_notes
ac6bab4c
ER
521# attachment storage
522%attr(770,root,http) %dir /var/lib/%{name}/storage
d2e501e8 523
ab983aaa
ER
524%files setup
525%defattr(644,root,root,755)
cfc3bce6 526%{_appdir}/htdocs/setup
0da8e1f2 527
d4a553ea 528%files doc
06ddb94b 529%defattr(644,root,root,755)
d4a553ea
ER
530%doc docs/*
531%{_examplesdir}/%{name}-%{version}
532
0da8e1f2
ER
533%files mail-queue
534%defattr(644,root,root,755)
ea084bcb
ER
535%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-mail-queue
536
537%files mail-download
538%defattr(644,root,root,755)
ea084bcb 539%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-mail-download
5cb2e61d 540
cd719538
ER
541%files reminder
542%defattr(644,root,root,755)
cd719538
ER
543%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-reminder
544
545%files monitor
546%defattr(644,root,root,755)
cd719538
ER
547%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-monitor
548
a6d2ad69
ER
549%files router-postfix
550%defattr(644,root,root,755)
410d72c7 551%attr(755,root,root) %{_libdir}/router-postfix
a6d2ad69 552
1cce3e61
ER
553%files sphinx
554%defattr(644,root,root,755)
555%{_webappdir}/sphinx.conf.php
7a906e31 556#%attr(750,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/sphinx/%{name}.conf
1cce3e61 557%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-sphinx
This page took 0.321027 seconds and 4 git commands to generate.