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