]> git.pld-linux.org Git - packages/eventum.git/blame - eventum.spec
Up to 3.8.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
8890ece7 8%define php_min_version 7.1.3
c96aabf5 9Summary: Eventum Issue / Bug tracking system
9f49cf47 10Summary(pl.UTF-8): Eventum - system śledzenia spraw/błędów
bb01d732 11Name: eventum
09658a75 12Version: 3.8.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
09658a75 17# Source0-md5: 797c51594ae8fe5aa63f842aa8b225de
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 305rm htdocs/.htaccess.dist
dee89c38 306rm config/config.dist.php
54b9a2df 307
1df90ad2
ER
308# cleanup libs taken from system, everything else gets bundled
309rm -r vendor/fonts/liberation
310rm -r vendor/monolog/monolog
1df90ad2
ER
311rm -r vendor/phplot/phplot
312rm -r vendor/psr/log
313rm -r vendor/smarty-gettext/smarty-gettext
314rm -r vendor/smarty/smarty
315rm -r vendor/sphinx/php-sphinxapi
c3fd3767 316
9c8b19cb
ER
317%{__sed} -i '1s|^#!.*php\b|#!/usr/bin/php|' config/sphinx.conf.php bin/*.php
318
5b165428 319# remove backups from patching as we use globs to package files to buildroot
73c437a6 320find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
085e39c0 321
465c3ab7 322%build
ae3e48e6 323%{__make} -C localization
465c3ab7 324
bb01d732
ER
325%install
326rm -rf $RPM_BUILD_ROOT
cfc3bce6 327install -d \
6e3be5a3 328 $RPM_BUILD_ROOT{%{_webappdir}/{custom_field,templates,workflow},%{_sysconfdir},%{_bindir},%{_sbindir},%{_libdir}} \
2b135b34 329 $RPM_BUILD_ROOT/etc/{rc.d/init.d,cron.d,logrotate.d,sysconfig} \
5c4473bf 330 $RPM_BUILD_ROOT/var/{run,lib}/%{name} \
685fc383 331 $RPM_BUILD_ROOT/var/log/{archive/,}%{name} \
ac6bab4c 332 $RPM_BUILD_ROOT/var/lib/%{name}/{routed_{emails,drafts,notes},storage} \
5c4473bf 333 $RPM_BUILD_ROOT/var/cache/%{name}/doctrine/proxies \
73de38a1 334 $RPM_BUILD_ROOT%{systemdtmpfilesdir}
cfc3bce6 335
9de27aeb 336%{__make} install-eventum install-localization \
ae3e48e6 337 sysconfdir=%{_webappdir} \
7a906e31 338 localedir=%{_localedir} \
ae3e48e6 339 DESTDIR=$RPM_BUILD_ROOT
da8d6134 340
dd5b687f 341ln -s %{_webappdir} $RPM_BUILD_ROOT%{_appdir}/config
37f06e5c 342
bcb86d50 343cp -a vendor $RPM_BUILD_ROOT%{_appdir}
3ca19d87 344
29e8ea7c
ER
345# unsupported locale
346%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ht
347
fa6167ba
ER
348install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
349cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
350
ae3e48e6 351%{?with_order:cp -a htdocs/ajax $RPM_BUILD_ROOT%{_appdir}/htdocs}
9cdc5027 352
f399f1c0 353touch $RPM_BUILD_ROOT%{_webappdir}/htpasswd
1b5aae0f 354cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
87ca28ca 355cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1b5aae0f 356cp -p %{SOURCE15} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1cce3e61
ER
357
358install -d $RPM_BUILD_ROOT/etc/sphinx
7a906e31 359#cp -p config/sphinx.conf $RPM_BUILD_ROOT/etc/sphinx/%{name}.conf
858c6f2a 360cp -p config/sphinx.conf.php $RPM_BUILD_ROOT%{_webappdir}
ae3e48e6 361
1b5aae0f
ER
362cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/%{name}-mail-queue
363cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/%{name}-mail-download
364cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/cron.d/%{name}-reminder
365cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/cron.d/%{name}-monitor
1cce3e61 366cp -p %{SOURCE10} $RPM_BUILD_ROOT/etc/cron.d/%{name}-sphinx
ae3e48e6 367
1b5aae0f 368cp -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
2b135b34 369
410d72c7 370# postfix router
858c6f2a 371install -p %{SOURCE13} $RPM_BUILD_ROOT%{_libdir}/router-postfix
a6d2ad69 372
92bc2f5d 373cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
cc613bc9 374
600d96a0 375%find_lang %{name}
c1e74aa1 376
bb01d732
ER
377%clean
378rm -rf $RPM_BUILD_ROOT
379
01b84746 380%pre
5132bae6
ER
381%groupadd -g 146 %{name}
382%useradd -u 146 -d /var/lib/%{name} -g %{name} -c "Eventum User" %{name}
01b84746
ER
383%addusertogroup http %{name}
384
82121306 385%post
686306de
ER
386# create empty ghost files
387# these permissions ensure the logs are write only
388for a in \
389 errors.log login_attempts.log \
2df0528f 390 eventum.log \
7b26fd71 391 auth.log cli.log \
686306de
ER
392; do
393 test -f /var/log/%{name}/$a && continue
394 install -m 0620 -o root -g http /dev/null /var/log/%{name}/$a
08196fe2
ER
395done
396
00358bba
ER
397# run database update if configured
398test -s %{_webappdir}/config.php && \
db2ce4e2 399sudo -H -u http -- %{_appdir}/bin/upgrade.php || :
847270fe 400
da8d6134
ER
401# nuke Smarty templates cache after upgrade
402rm -f /var/cache/eventum/*.php
403
4a751c1a
ER
404# Restart webserver on upgrade to get .mo translations reloaded.
405# actually php engines "php-fcgi" and "php-fpm" needed only, apache is restarted anyway via webapp trigger.
114241d7
ER
406%php_webserver_restart
407
82121306
ER
408%preun
409if [ "$1" = "0" ]; then
dfe0f6d6
ER
410 # nuke cache
411 rm -f /var/cache/eventum/*.php 2>/dev/null || :
412fi
cfc3bce6 413
5132bae6 414%postun
01b84746 415if [ "$1" = "0" ]; then
a6d2ad69 416 %userremove %{name}
1f52d1fe 417 %groupremove %{name}
a6d2ad69
ER
418fi
419
94bd779f 420%post setup
dee89c38
ER
421chmod 660 %{_webappdir}/{config,private_key,secret_key}.php
422chown root:http %{_webappdir}/{config,private_key,secret_key}.php
94bd779f
ER
423
424%postun setup
b4fe195b 425if [ "$1" = "0" ] && [ -f %{_webappdir}/config.php ]; then
dee89c38
ER
426 chmod 640 %{_webappdir}/{config,private_key,secret_key}.php
427 chown root:http %{_webappdir}/{config,private_key,secret_key}.php
94bd779f
ER
428fi
429
09f58a75 430%triggerin -- apache1 < 1.3.37-3, apache1-base
bdf85dc8 431%webapp_register apache %{_webapp}
1d760108 432
09f58a75 433%triggerun -- apache1 < 1.3.37-3, apache1-base
bdf85dc8 434%webapp_unregister apache %{_webapp}
1d760108 435
87ca28ca 436%triggerin -- apache < 2.2.0, apache-base
bdf85dc8 437%webapp_register httpd %{_webapp}
1d760108 438
87ca28ca 439%triggerun -- apache < 2.2.0, apache-base
bdf85dc8 440%webapp_unregister httpd %{_webapp}
1d760108 441
f399f1c0
ER
442%triggerin -- lighttpd
443%webapp_register lighttpd %{_webapp}
444
445%triggerun -- lighttpd
446%webapp_unregister lighttpd %{_webapp}
447
600d96a0 448%files -f %{name}.lang
bb01d732 449%defattr(644,root,root,755)
371b276a 450%attr(771,root,http) %dir %{_webappdir}
f7d1e520 451%attr(751,root,http) %dir %{_webappdir}/crm
e9a24d52 452%attr(751,root,http) %dir %{_webappdir}/custom_field
f7d1e520 453%attr(751,root,http) %dir %{_webappdir}/partner
e9a24d52 454%attr(751,root,http) %dir %{_webappdir}/templates
e570944f 455%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/config.php
94cd239c 456%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/htpasswd
e570944f 457%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/private_key.php
dee89c38 458%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/secret_key.php
94cd239c
ER
459%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
460%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
461%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
e570944f 462%attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/setup.php
d2e501e8 463
7e9ea0b3 464%dir %attr(731,root,http) /var/log/%{name}
e570944f 465%attr(620,root,http) %ghost /var/log/%{name}/*
3c6aa7a9 466%dir %attr(750,root,root) /var/log/archive/%{name}
8fd047ac 467%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
35f9d6a3 468
5132bae6 469%dir %{_appdir}
37f06e5c
ER
470%{_appdir}/config
471
7a906e31 472%dir %{_appdir}/bin
59b9fac1 473%attr(755,root,root) %{_appdir}/bin/console.php
f2c60f9c 474%attr(755,root,root) %{_appdir}/bin/export-issues.php
acff2f42 475%attr(755,root,root) %{_appdir}/bin/extension.php
bd0576dd 476%attr(755,root,root) %{_appdir}/bin/ldapsync.php
c316a9af 477%attr(755,root,root) %{_appdir}/bin/migrate_storage_adapter.php
7a906e31 478%attr(755,root,root) %{_appdir}/bin/process_all_emails.php
6453eaf6 479%attr(755,root,root) %{_appdir}/bin/upgrade.php
7a906e31 480
4b01e826 481%{_appdir}/autoload.php
1beb4932 482%{_appdir}/globals.php
ae3e48e6 483%{_appdir}/init.php
1beb4932 484%{_appdir}/phinx.php
cfc3bce6
ER
485%dir %{_appdir}/htdocs
486%{_appdir}/htdocs/*.php
da8d6134 487%{_appdir}/htdocs/*.ico
67c819dc 488%{_appdir}/htdocs/mix-manifest.json
7bc9b641 489%{_appdir}/htdocs/ajax
cfc3bce6
ER
490%{_appdir}/htdocs/css
491%{_appdir}/htdocs/customer
67c819dc 492%{_appdir}/htdocs/fonts
cfc3bce6
ER
493%{_appdir}/htdocs/images
494%{_appdir}/htdocs/js
495%{_appdir}/htdocs/manage
496%{_appdir}/htdocs/reports
497%{_appdir}/htdocs/rpc
9748a8c3 498%{_appdir}/templates
847270fe 499
8be9fbff
ER
500%dir %{_appdir}/db
501%dir %{_appdir}/db/migrations
502%{_appdir}/db/migrations/*.php
5c4473bf
ER
503%dir %{_appdir}/db/seeds
504%{_appdir}/db/seeds/*.php
847270fe 505
8772b0d6 506%{_appdir}/res
e8b7cc70 507%{_appdir}/src
8772b0d6 508%{_appdir}/vendor
ae3e48e6
ER
509%dir %{_appdir}/lib
510%{_appdir}/lib/eventum
36395687
ER
511%exclude %{_appdir}/src/Console/Command/MailDownloadCommand.php
512%exclude %{_appdir}/src/Console/Command/MailQueueProcessCommand.php
513%exclude %{_appdir}/src/Console/Command/MailQueueTruncateCommand.php
514%exclude %{_appdir}/src/Console/Command/MonitorCommand.php
515%exclude %{_appdir}/src/Console/Command/ReminderCheckCommand.php
00e339ff 516
5132bae6
ER
517%dir %{_libdir}
518
73de38a1 519%{systemdtmpfilesdir}/%{name}.conf
5132bae6
ER
520
521%dir /var/lib/%{name}
e570944f
ER
522%dir %attr(730,root,http) /var/run/%{name}
523%dir %attr(730,root,http) /var/cache/%{name}
5c4473bf
ER
524%dir %attr(730,root,http) /var/cache/%{name}/doctrine
525%dir %attr(730,root,http) /var/cache/%{name}/doctrine/proxies
ab983aaa 526
89522a33 527# saved mail copies
e570944f
ER
528%attr(770,root,http) %dir /var/lib/%{name}/routed_emails
529%attr(770,root,http) %dir /var/lib/%{name}/routed_drafts
530%attr(770,root,http) %dir /var/lib/%{name}/routed_notes
ac6bab4c
ER
531# attachment storage
532%attr(770,root,http) %dir /var/lib/%{name}/storage
d2e501e8 533
ab983aaa
ER
534%files setup
535%defattr(644,root,root,755)
cfc3bce6 536%{_appdir}/htdocs/setup
0da8e1f2 537
d4a553ea 538%files doc
06ddb94b 539%defattr(644,root,root,755)
d4a553ea
ER
540%doc docs/*
541%{_examplesdir}/%{name}-%{version}
542
0da8e1f2
ER
543%files mail-queue
544%defattr(644,root,root,755)
36395687
ER
545%{_appdir}/src/Console/Command/MailQueueProcessCommand.php
546%{_appdir}/src/Console/Command/MailQueueTruncateCommand.php
7a906e31 547%attr(755,root,root) %{_appdir}/bin/process_mail_queue.php
f56655e1 548%attr(755,root,root) %{_appdir}/bin/truncate_mail_queue.php
ea084bcb
ER
549%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-mail-queue
550
551%files mail-download
552%defattr(644,root,root,755)
36395687 553%{_appdir}/src/Console/Command/MailDownloadCommand.php
7a906e31 554%attr(755,root,root) %{_appdir}/bin/download_emails.php
ea084bcb 555%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-mail-download
5cb2e61d 556
cd719538
ER
557%files reminder
558%defattr(644,root,root,755)
36395687 559%{_appdir}/src/Console/Command/ReminderCheckCommand.php
7a906e31 560%attr(755,root,root) %{_appdir}/bin/check_reminders.php
cd719538
ER
561%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-reminder
562
563%files monitor
564%defattr(644,root,root,755)
36395687 565%{_appdir}/src/Console/Command/MonitorCommand.php
7a906e31 566%attr(755,root,root) %{_appdir}/bin/monitor.php
cd719538
ER
567%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-monitor
568
a6d2ad69
ER
569%files router-postfix
570%defattr(644,root,root,755)
410d72c7 571%attr(755,root,root) %{_libdir}/router-postfix
a6d2ad69 572
1cce3e61
ER
573%files sphinx
574%defattr(644,root,root,755)
575%{_webappdir}/sphinx.conf.php
7a906e31 576#%attr(750,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/sphinx/%{name}.conf
1cce3e61 577%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}-sphinx
This page took 0.238945 seconds and 4 git commands to generate.