]>
Commit | Line | Data |
---|---|---|
756a5b19 PG |
1 | # TODO: |
2 | # - separate 3 subpackages: common files, administration and client frontend | |
405bb2f0 | 3 | # - all otrs-var into /var/lib/otrs |
405bb2f0 | 4 | # - write not so brain-damage init-script... |
aa38fa84 | 5 | # VERIFY .... rpm -qp .../foo.rpm --provides |
30acb9b9 | 6 | %include /usr/lib/rpm/macros.perl |
a75d132d | 7 | Summary: The Open Ticket Request System |
fe000612 | 8 | Summary(pl.UTF-8): Open Ticket Request System - otwarty system zgłaszania żądań |
b969a28c | 9 | Name: otrs |
87cd8ae1 | 10 | Version: 3.2.1 |
303f4824 | 11 | Release: 0.1 |
7b650d10 | 12 | Epoch: 1 |
a75d132d | 13 | License: GPL |
756a5b19 | 14 | Group: Applications/Databases |
c4a59ff9 | 15 | Source0: http://ftp.otrs.org/pub/otrs/%{name}-%{version}.tar.bz2 |
87cd8ae1 | 16 | # Source0-md5: 9f096d37d6c4842680962676ef32a2f7 |
29f09d92 | 17 | Source1: %{name}-logrotate |
7953fab2 | 18 | Source2: %{name}.sysconfig |
982bf1ba | 19 | Patch0: %{name}-paths.patch |
18e6c046 | 20 | URL: http://otrs.org/ |
d75a1c6b | 21 | BuildRequires: rpm-perlprov |
d1636bf5 | 22 | BuildRequires: rpmbuild(macros) >= 1.654 |
7b7b3cfb ER |
23 | Requires(pre): /bin/id |
24 | Requires(pre): /usr/sbin/useradd | |
25 | Requires(pre): /usr/sbin/usermod | |
a3192507 | 26 | Requires: apache(mod_perl) |
4af4f090 | 27 | Requires: perl-Crypt-PasswdMD5 |
a6670e84 SP |
28 | Requires: perl-DBD-mysql |
29 | Requires: perl-DBI | |
4af4f090 | 30 | Requires: perl-Text-CSV |
d75a1c6b | 31 | Requires: perl-YAML-LibYAML |
a75d132d JB |
32 | Requires: procmail |
33 | Requires: smtpdaemon | |
a6670e84 SP |
34 | Requires: webapps |
35 | Requires: webserver = apache | |
d75a1c6b SP |
36 | Suggests: perl-Crypt-SSLeay |
37 | Suggests: perl-JSON-XS | |
a6670e84 | 38 | Suggests: perl-PDF-API2 |
48e45220 | 39 | Conflicts: logrotate < 3.7-4 |
970b7f40 | 40 | BuildArch: noarch |
b969a28c | 41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
d1636bf5 | 43 | %define _noautoreq_perl Kernel::.* |
30acb9b9 | 44 | %define _noautoprovfiles %{otrsdir}/Kernel/cpan-lib/ |
e3d6acfe | 45 | |
704d2abb | 46 | %define otrsdir %{_datadir}/otrs |
a75d132d | 47 | %define otrsuser otrs |
a3192507 ER |
48 | %define _webapps /etc/webapps |
49 | %define _webapp %{name} | |
a75d132d | 50 | |
b969a28c | 51 | %description |
52 | OTRS is an Open source Ticket Request System with many features to | |
53 | manage customer telephone calls and e-mails. It is distributed under | |
54 | the GNU General Public License (GPL) and tested on Linux, Solaris, | |
a75d132d | 55 | AIX, FreeBSD and MacOS X. Do you receive many e-mails and want to |
b969a28c | 56 | answer them with a team of agents? You're going to love the OTRS! |
57 | ||
58 | Feature list: | |
a75d132d JB |
59 | - web-interface: easy and logical to use, with agent, admin and |
60 | customer views, themes support, multi language support, customizable | |
61 | templates, attachments support | |
62 | - email-interface with MIME attachments support, dispatching mail via | |
63 | address or x-header, autoresponders for customers, notifications to | |
64 | the agent | |
65 | - tickets with customizable views, locking, replying, autoresponders, | |
af73f40d SP |
66 | history, ability to add notes, email bouncing/forwarding, priorities, |
67 | time accounting, content full-text search | |
a75d132d JB |
68 | - system with creation and configuration of user accounts, groups, |
69 | standard responses, signatures, notifications for administrators and | |
70 | problem reporters, deadlines for trouble tickets, settable ticket | |
af73f40d SP |
71 | number format, different levels of permissions/access-rights, central |
72 | database (MySQL, PostgreSQL, ...), user authentication against | |
73 | database or LDAP directory, easy addons and frontends development. | |
a75d132d | 74 | |
5b76df72 JR |
75 | %description -l pl.UTF-8 |
76 | OTRS (Open source Ticket Request System) to wolnodostępny system | |
77 | zgłaszania żądań z wieloma możliwościami zarządzania telefonami i | |
78 | e-mailami od klientów. Jest rozpowszechniany na Powszechnej Licencji | |
a75d132d | 79 | Publicznej GNU (GPL) i testowany na Linuksie, Solarisie, AIX-ie, |
5b76df72 JR |
80 | FreeBSD i MacOS X. Jeśli otrzymujemy wiele e-maili i chcemy odpowiadać |
81 | na nie poprzez zespół agentów, to OTRS może się okazać bardzo dobrym | |
82 | narzędziem. | |
a75d132d | 83 | |
5b76df72 JR |
84 | Lista możliwości: |
85 | - interfejs WWW: łatwy i logiczny w użyciu, z widokami dla agentów, | |
86 | administratorów i klientów, obsługą motywów, obsługą wielu języków, | |
87 | modyfikowalnymi szablonami, obsługą załączników | |
88 | - interfejs e-mailowy z obsługą załączników MIME, obsługą poczty w | |
89 | zależności od adresu lub x-nagłówków, autoresponderami dla klientów, | |
90 | powiadomieniami dla agentów | |
a75d132d | 91 | - bilety z konfigurowalnymi widokami, blokowaniem, odpowiadaniem, |
5b76df72 | 92 | autoresponderami, historią, możliwością dodawania notatek, |
af73f40d | 93 | odbijaniem/przekierowywaniem poczty, priorytetami, rozliczaniem czasu, |
5b76df72 JR |
94 | pełnotekstowym przeszukiwaniem zawartości |
95 | - system z tworzeniem i konfiguracją kont użytkowników, grup, | |
a75d132d | 96 | standardowych odpowiedzi, sygnaturek, powiadomieniami dla |
5b76df72 JR |
97 | administratorów i zgłaszających problemy, ostatecznymi terminami dla |
98 | problematycznych biletów, ustawialnym formatem numerowania biletów, | |
99 | różnymi poziomami uprawnień/praw dostępu, centralną bazą danych | |
100 | (MySQL, PostgreSQL...), uwierzytelnianiem użytkowników przy użyciu | |
101 | bazy danych lub katalogu LDAP, łatwym tworzeniem dodatków i | |
102 | frontendów. | |
b969a28c | 103 | |
756a5b19 PG |
104 | %package scripts |
105 | Summary: OTRS scripts | |
fe000612 | 106 | Summary(pl.UTF-8): Skrypty dla OTRS |
756a5b19 | 107 | Group: Applications/Databases |
bbec2477 | 108 | Requires: %{name} = %{epoch}:%{version}-%{release} |
756a5b19 PG |
109 | |
110 | %description scripts | |
111 | Various scripts for OTRS. | |
112 | ||
5b76df72 JR |
113 | %description scripts -l pl.UTF-8 |
114 | Różne skrypty dla OTRS. | |
756a5b19 | 115 | |
b969a28c | 116 | %prep |
f97d6029 | 117 | %setup -q |
07b1006c | 118 | %patch0 -p1 |
b969a28c | 119 | |
b969a28c | 120 | # copy config file |
8494d87e | 121 | cp Kernel/Config/GenericAgent.pm.dist Kernel/Config/GenericAgent.pm |
b969a28c | 122 | cd Kernel/Config/ && for foo in *.dist; do cp $foo `basename $foo .dist`; done && cd ../../ |
b969a28c | 123 | |
fc167e25 PG |
124 | # Remove regular CPAN libs - only HTML/Safe.pm has to stay, I can't find it... |
125 | rm -Rf Kernel/cpan-lib/{Authen,Date,Email,IO,MIME,Mail,XML,auto} | |
126 | # Remove junk: | |
34e37eb5 | 127 | rm -Rf doc/manual/*/sgml/ |
128 | rm -Rf doc/manual/de/ | |
a3192507 ER |
129 | |
130 | %install | |
131 | rm -rf $RPM_BUILD_ROOT | |
14be7800 | 132 | install -d $RPM_BUILD_ROOT/etc/{cron.d,logrotate.d,rc.d/init.d,sysconfig,%{name}/Config,logrotate.d} \ |
b5287fc5 | 133 | $RPM_BUILD_ROOT{/var/log/{,archive/}%{name},%{_bindir},%{otrsdir}} \ |
a3192507 ER |
134 | $RPM_BUILD_ROOT/var/lib/%{name}/{article,pics/stats} \ |
135 | $RPM_BUILD_ROOT%{_webapps}/%{_webapp} | |
136 | ||
fc167e25 | 137 | # copy files |
a75d132d | 138 | cp -R . $RPM_BUILD_ROOT%{otrsdir} |
7b650d10 | 139 | |
14be7800 SP |
140 | # copy all crontab dist files |
141 | for foo in var/cron/*.dist; do mv $foo $RPM_BUILD_ROOT/etc/cron.d/otrs.`basename $foo` ; done | |
142 | ||
7b650d10 | 143 | # install init-Script & apache2 config |
fc203a04 | 144 | install scripts/redhat-rcotrs $RPM_BUILD_ROOT/etc/rc.d/init.d/otrs |
7953fab2 | 145 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/otrs |
c312bc64 SP |
146 | |
147 | install scripts/apache2-httpd.include.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf | |
ed750868 | 148 | |
29f09d92 | 149 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} |
b7a6bdf0 | 150 | |
b1bf26f4 | 151 | # logs in proper place: |
64ecb0cb PG |
152 | touch $RPM_BUILD_ROOT/var/log/%{name}/TicketCounter.log |
153 | touch $RPM_BUILD_ROOT/var/log/%{name}/otrs.log | |
8e7e62a2 | 154 | |
b1bf26f4 | 155 | # move configs into proper place... |
982bf1ba | 156 | mv -f $RPM_BUILD_ROOT%{otrsdir}/.procmailrc.dist $RPM_BUILD_ROOT/etc/%{name}/procmailrc |
157 | mv -f $RPM_BUILD_ROOT%{otrsdir}/.fetchmailrc.dist $RPM_BUILD_ROOT/etc/%{name}/fetchmailrc | |
158 | mv -f $RPM_BUILD_ROOT%{otrsdir}/.mailfilter.dist $RPM_BUILD_ROOT/etc/%{name}/mailfilter | |
159 | mv -f $RPM_BUILD_ROOT%{otrsdir}/Kernel/Config.pm.dist $RPM_BUILD_ROOT/etc/%{name}/Config.pm | |
b7a6bdf0 | 160 | mv -f $RPM_BUILD_ROOT%{otrsdir}/Kernel/Config/GenericAgent.pm $RPM_BUILD_ROOT/etc/%{name} |
a3192507 ER |
161 | # save dist versions |
162 | # TODO: drop .dist and rely on rpm %config(noreplace) feature | |
982bf1ba | 163 | install $RPM_BUILD_ROOT/etc/%{name}/procmailrc $RPM_BUILD_ROOT/etc/%{name}/procmailrc.dist |
164 | install $RPM_BUILD_ROOT/etc/%{name}/fetchmailrc $RPM_BUILD_ROOT/etc/%{name}/fetchmailrc.dist | |
165 | install $RPM_BUILD_ROOT/etc/%{name}/mailfilter $RPM_BUILD_ROOT/etc/%{name}/mailfilter.dist | |
166 | install $RPM_BUILD_ROOT/etc/%{name}/Config.pm $RPM_BUILD_ROOT/etc/%{name}/Config.pm.dist | |
167 | install $RPM_BUILD_ROOT/etc/%{name}/GenericAgent.pm $RPM_BUILD_ROOT/etc/%{name}/GenericAgent.pm.dist | |
c86d5583 | 168 | # File for on-line configuration: |
c312bc64 SP |
169 | touch $RPM_BUILD_ROOT/etc/%{name}/ZZZAAuto.pm |
170 | ln -sf ../../../../../../etc/otrs/ZZZAAuto.pm $RPM_BUILD_ROOT%{otrsdir}/Kernel/Config/Files/ZZZAAuto.pm | |
a3192507 | 171 | # link to proper places |
fa3332da | 172 | ln -sf ../../../etc/otrs/procmailrc $RPM_BUILD_ROOT%{otrsdir}/.procmailrc |
173 | ln -sf ../../../etc/otrs/fetchmailrc $RPM_BUILD_ROOT%{otrsdir}/.fetchmailrc | |
174 | ln -sf ../../../etc/otrs/mailfilter $RPM_BUILD_ROOT%{otrsdir}/.mailfilter | |
175 | ln -sf ../../../../etc/otrs/Config.pm $RPM_BUILD_ROOT%{otrsdir}/Kernel/Config.pm | |
b7a6bdf0 | 176 | ln -sf ../../../../../etc/otrs/GenericAgent.pm $RPM_BUILD_ROOT%{otrsdir}/Kernel/Config/GenericAgent.pm |
b1bf26f4 | 177 | |
ac54b2a5 | 178 | # Cleanup junk: |
756a5b19 | 179 | rm -f $RPM_BUILD_ROOT%{otrsdir}/scripts/apache* $RPM_BUILD_ROOT%{otrsdir}/scripts/redhat* $RPM_BUILD_ROOT%{otrsdir}/scripts/suse* |
8ef214db | 180 | rm -rf $RPM_BUILD_ROOT%{otrsdir}/scripts/auto* $RPM_BUILD_ROOT%{otrsdir}/scripts/test |
8fbf142c | 181 | rm -rf $RPM_BUILD_ROOT%{otrsdir}/doc |
756a5b19 | 182 | |
ac54b2a5 PG |
183 | # Needed for apache2: |
184 | install scripts/apache2-perl-startup.pl $RPM_BUILD_ROOT%{otrsdir}/scripts/apache2-perl-startup | |
185 | ||
a75d132d JB |
186 | %clean |
187 | rm -rf $RPM_BUILD_ROOT | |
188 | ||
90b961b2 | 189 | %pre |
982bf1ba | 190 | %useradd -u 31 -d %{otrsdir} -s /bin/false -g http -c 'OTRS System user' %{otrsuser} |
7b7b3cfb ER |
191 | |
192 | # TODO move to trigger? | |
193 | # update home dir | |
194 | /usr/sbin/usermod -d %{otrsdir} %{otrsuser} | |
b969a28c | 195 | |
90b961b2 | 196 | %post |
a3192507 ER |
197 | if [ "$1" = 0 ]; then |
198 | # note | |
199 | %banner -e %{name} <<EOF | |
200 | [install the OTRS database] | |
201 | Use a webbrowser and open this link: http://`hostname -f`/otrs/installer.pl | |
202 | EOF | |
203 | fi | |
204 | ||
a3192507 ER |
205 | %triggerin -- apache < 2.2.0, apache-base |
206 | %webapp_register httpd %{_webapp} | |
207 | ||
208 | %triggerun -- apache < 2.2.0, apache-base | |
209 | %webapp_unregister httpd %{_webapp} | |
210 | ||
211 | %triggerpostun -- %{name} < 1:2.0.4-0.5 | |
212 | # nuke very-old config location (this mostly for Ra) | |
213 | if [ -f /etc/httpd/httpd.conf ]; then | |
214 | sed -i -e "/^Include.*%{name}.conf/d" /etc/httpd/httpd.conf | |
215 | fi | |
216 | ||
a3192507 ER |
217 | # apache2 config |
218 | if [ -f /etc/httpd/httpd.conf/88_otrs.conf.rpmsave ]; then | |
219 | cp -f %{_webapps}/%{_webapp}/httpd.conf{,.rpmnew} | |
220 | mv -f /etc/httpd/httpd.conf/88_otrs.conf.rpmsave %{_webapps}/%{_webapp}/httpd.conf | |
00bb43aa | 221 | fi |
090d279b | 222 | |
a3192507 ER |
223 | /usr/sbin/webapp register httpd %{_webapp} |
224 | %service -q httpd reload | |
b969a28c | 225 | |
b969a28c | 226 | %files |
227 | %defattr(644,root,root,755) | |
5d0044e1 | 228 | %doc ARCHIVE CHANGES COPYING COPYING-Third-Party CREDITS doc/ README README.database README.webserver RELEASE UPGRADING |
b7a6bdf0 | 229 | %doc scripts/test Kernel/Config/GenericAgent.pm.examples |
d6beb69e | 230 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/otrs |
af73f40d SP |
231 | %attr(751,otrs,http) %dir %{_sysconfdir}/%{name} |
232 | %attr(751,otrs,http) %dir %{_sysconfdir}/%{name}/Config/ | |
d6beb69e ER |
233 | %attr(644,otrs,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/procmailrc |
234 | %attr(710,otrs,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/fetchmailrc | |
235 | %attr(600,otrs,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/mailfilter | |
c312bc64 | 236 | %attr(660,otrs,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/Config.pm |
d6beb69e | 237 | %attr(640,otrs,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/GenericAgent.pm |
c312bc64 | 238 | %attr(660,otrs,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ZZZAAuto.pm |
982bf1ba | 239 | %attr(640,otrs,http) %{_sysconfdir}/%{name}/*.dist |
14be7800 | 240 | %attr(644,otrs,http) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/* |
b7a6bdf0 | 241 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
d6beb69e | 242 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name} |
90b961b2 | 243 | %attr(755,otrs,http) %dir %{otrsdir} |
a75d132d | 244 | %{otrsdir}/RELEASE |
b1bf26f4 PG |
245 | %{otrsdir}/.procmailrc |
246 | %{otrsdir}/.fetchmailrc | |
247 | %{otrsdir}/.mailfilter | |
a75d132d | 248 | %dir %{otrsdir}/Kernel |
a75d132d | 249 | %dir %{otrsdir}/Kernel/Config |
a75d132d | 250 | %{otrsdir}/Kernel/Config/Defaults.pm |
82750617 | 251 | %{otrsdir}/Kernel/Config/GenericAgent.pm |
ccf8ecca | 252 | %dir %{otrsdir}/Kernel/Config/Files |
982bf1ba | 253 | %{otrsdir}/Kernel/Config/Files/*.xml |
5d0044e1 SP |
254 | %dir %{otrsdir}/Kernel/GenericInterface |
255 | %{otrsdir}/Kernel/GenericInterface/*.pm | |
256 | %dir %{otrsdir}/Kernel/GenericInterface/Event | |
257 | %dir %{otrsdir}/Kernel/GenericInterface/Invoker | |
258 | %dir %{otrsdir}/Kernel/GenericInterface/Invoker/Test | |
259 | %dir %{otrsdir}/Kernel/GenericInterface/Mapping | |
260 | %dir %{otrsdir}/Kernel/GenericInterface/Operation | |
261 | %dir %{otrsdir}/Kernel/GenericInterface/Operation/Session | |
262 | %dir %{otrsdir}/Kernel/GenericInterface/Operation/Test | |
263 | %dir %{otrsdir}/Kernel/GenericInterface/Operation/Ticket | |
264 | %dir %{otrsdir}/Kernel/GenericInterface/Transport | |
265 | %dir %{otrsdir}/Kernel/GenericInterface/Transport/HTTP | |
b2ff648f | 266 | %{otrsdir}/Kernel/*.pm |
0b3bd806 PG |
267 | %{otrsdir}/Kernel/*/*/*.pm |
268 | %{otrsdir}/Kernel/*/*/*/*.pm | |
a75d132d | 269 | %dir %{otrsdir}/Kernel/Language |
b1bf26f4 | 270 | %{otrsdir}/Kernel/Language/*.pm |
59e7d60b | 271 | %dir %{otrsdir}/Kernel/Modules |
b2ff648f | 272 | %{otrsdir}/Kernel/Modules/*.pm |
a75d132d JB |
273 | %dir %{otrsdir}/Kernel/Output |
274 | %dir %{otrsdir}/Kernel/Output/HTML | |
a75d132d | 275 | %dir %{otrsdir}/Kernel/Output/HTML/Standard |
90b961b2 | 276 | %attr(644,otrs,http) %config(noreplace) %{otrsdir}/Kernel/Output/HTML/Standard/*.dtl |
8ade7ee9 | 277 | %dir %{otrsdir}/Kernel/Output/HTML/Standard/ProcessManagement |
87cd8ae1 | 278 | %attr(644,otrs,http) %config(noreplace) %{otrsdir}/Kernel/Output/HTML/Standard/ProcessManagement/*.dtl |
5d0044e1 SP |
279 | %dir %{otrsdir}/Kernel/Scheduler |
280 | %{otrsdir}/Kernel/Scheduler/*.pm | |
281 | %dir %{otrsdir}/Kernel/Scheduler/TaskHandler | |
704926f3 | 282 | %dir %{otrsdir}/Kernel/System |
0b3bd806 PG |
283 | %{otrsdir}/Kernel/System/*.pm |
284 | %dir %{otrsdir}/Kernel/System/Auth | |
2e760c8f | 285 | %dir %{otrsdir}/Kernel/System/Auth/Sync |
0b3bd806 | 286 | %dir %{otrsdir}/Kernel/System/AuthSession |
ccf8ecca | 287 | %dir %{otrsdir}/Kernel/System/Cache |
0b3bd806 PG |
288 | %dir %{otrsdir}/Kernel/System/Crypt |
289 | %dir %{otrsdir}/Kernel/System/CustomerAuth | |
290 | %dir %{otrsdir}/Kernel/System/CustomerUser | |
291 | %dir %{otrsdir}/Kernel/System/CustomerUser/Preferences | |
9c710178 | 292 | %dir %{otrsdir}/Kernel/System/DB |
5d0044e1 SP |
293 | %dir %{otrsdir}/Kernel/System/DynamicField |
294 | %dir %{otrsdir}/Kernel/System/DynamicField/Backend | |
295 | %dir %{otrsdir}/Kernel/System/DynamicField/ObjectType | |
0b3bd806 PG |
296 | %dir %{otrsdir}/Kernel/System/Email |
297 | %dir %{otrsdir}/Kernel/System/GenericAgent | |
5d0044e1 SP |
298 | %dir %{otrsdir}/Kernel/System/GenericInterface |
299 | %dir %{otrsdir}/Kernel/System/LinkObject | |
0b3bd806 | 300 | %dir %{otrsdir}/Kernel/System/Log |
2e760c8f | 301 | %dir %{otrsdir}/Kernel/System/MailAccount |
0b3bd806 PG |
302 | %dir %{otrsdir}/Kernel/System/PostMaster |
303 | %dir %{otrsdir}/Kernel/System/PostMaster/LoopProtection | |
304 | %dir %{otrsdir}/Kernel/System/PostMaster/Filter | |
87cd8ae1 SP |
305 | %dir %{otrsdir}/Kernel/System/ProcessManagement |
306 | %dir %{otrsdir}/Kernel/System/ProcessManagement/DB | |
307 | %dir %{otrsdir}/Kernel/System/ProcessManagement/DB/Process | |
308 | %{otrsdir}/Kernel/System/ProcessManagement/DB/Process/State.pm | |
309 | %dir %{otrsdir}/Kernel/System/ProcessManagement/TransitionAction | |
310 | %dir %{otrsdir}/Kernel/System/ProcessManagement/TransitionValidation | |
2e760c8f | 311 | %dir %{otrsdir}/Kernel/System/Queue |
5d0044e1 | 312 | %dir %{otrsdir}/Kernel/System/Scheduler |
2e760c8f SP |
313 | %dir %{otrsdir}/Kernel/System/SLA |
314 | %dir %{otrsdir}/Kernel/System/Service | |
0b3bd806 | 315 | %dir %{otrsdir}/Kernel/System/Stats |
2e760c8f | 316 | %dir %{otrsdir}/Kernel/System/Stats/Static |
ccf8ecca | 317 | %dir %{otrsdir}/Kernel/System/Stats/Dynamic |
86f5272d | 318 | %dir %{otrsdir}/Kernel/System/SysConfig |
0b3bd806 | 319 | %dir %{otrsdir}/Kernel/System/Ticket |
2e760c8f SP |
320 | %dir %{otrsdir}/Kernel/System/Ticket/Acl |
321 | %dir %{otrsdir}/Kernel/System/Ticket/ArticleSearchIndex | |
0b3bd806 | 322 | %dir %{otrsdir}/Kernel/System/Ticket/CustomerPermission |
ccf8ecca | 323 | %dir %{otrsdir}/Kernel/System/Ticket/Event |
0b3bd806 PG |
324 | %dir %{otrsdir}/Kernel/System/Ticket/Permission |
325 | %dir %{otrsdir}/Kernel/System/Ticket/IndexAccelerator | |
326 | %dir %{otrsdir}/Kernel/System/Ticket/Number | |
86f5272d | 327 | %dir %{otrsdir}/Kernel/System/UnitTest |
0b3bd806 PG |
328 | %dir %{otrsdir}/Kernel/System/User |
329 | %dir %{otrsdir}/Kernel/System/User/Preferences | |
9c710178 | 330 | %dir %{otrsdir}/Kernel/System/Web |
ccf8ecca | 331 | %dir %{otrsdir}/Kernel/System/Web/UploadCache |
86f5272d | 332 | %dir %{otrsdir}/Kernel/System/VirtualFS |
bbec2477 | 333 | %dir %{otrsdir}/Kernel/cpan-lib |
8f81fd95 | 334 | %{otrsdir}/Kernel/cpan-lib/*.pm |
ccf8ecca | 335 | %dir %{otrsdir}/Kernel/cpan-lib/Algorithm |
2e760c8f SP |
336 | %dir %{otrsdir}/Kernel/cpan-lib/Apache |
337 | %dir %{otrsdir}/Kernel/cpan-lib/Apache2 | |
86f5272d | 338 | %dir %{otrsdir}/Kernel/cpan-lib/CGI |
5d0044e1 SP |
339 | %dir %{otrsdir}/Kernel/cpan-lib/Class |
340 | %dir %{otrsdir}/Kernel/cpan-lib/Class/Inspector | |
ccf8ecca | 341 | %dir %{otrsdir}/Kernel/cpan-lib/Crypt |
86f5272d SP |
342 | %dir %{otrsdir}/Kernel/cpan-lib/CSS |
343 | %dir %{otrsdir}/Kernel/cpan-lib/Digest | |
344 | %dir %{otrsdir}/Kernel/cpan-lib/Digest/SHA | |
5d0044e1 | 345 | %dir %{otrsdir}/Kernel/cpan-lib/Encode |
ccf8ecca | 346 | %dir %{otrsdir}/Kernel/cpan-lib/File |
5d0044e1 SP |
347 | %dir %{otrsdir}/Kernel/cpan-lib/HTTP |
348 | %dir %{otrsdir}/Kernel/cpan-lib/HTTP/Headers | |
349 | %dir %{otrsdir}/Kernel/cpan-lib/HTTP/Request | |
86f5272d SP |
350 | %dir %{otrsdir}/Kernel/cpan-lib/JSON |
351 | %dir %{otrsdir}/Kernel/cpan-lib/JSON/PP | |
352 | %dir %{otrsdir}/Kernel/cpan-lib/JSON/backportPP | |
353 | %dir %{otrsdir}/Kernel/cpan-lib/JavaScript | |
5d0044e1 SP |
354 | %dir %{otrsdir}/Kernel/cpan-lib/LWP |
355 | %dir %{otrsdir}/Kernel/cpan-lib/LWP/Authen | |
356 | %dir %{otrsdir}/Kernel/cpan-lib/LWP/Protocol | |
357 | %dir %{otrsdir}/Kernel/cpan-lib/Locale | |
358 | %dir %{otrsdir}/Kernel/cpan-lib/Locale/Codes | |
359 | %dir %{otrsdir}/Kernel/cpan-lib/Mozilla | |
360 | %dir %{otrsdir}/Kernel/cpan-lib/Mozilla/CA | |
361 | %{otrsdir}/Kernel/cpan-lib/Mozilla/CA/cacert.pem | |
2e760c8f SP |
362 | %dir %{otrsdir}/Kernel/cpan-lib/Net |
363 | %dir %{otrsdir}/Kernel/cpan-lib/Net/IMAP | |
8f81fd95 SP |
364 | %dir %{otrsdir}/Kernel/cpan-lib/Net/IMAP/Simple |
365 | %{otrsdir}/Kernel/cpan-lib/Net/IMAP/Simple/*.pm | |
2e760c8f SP |
366 | %dir %{otrsdir}/Kernel/cpan-lib/Net/POP3 |
367 | %dir %{otrsdir}/Kernel/cpan-lib/Net/SMTP | |
8f81fd95 SP |
368 | %dir %{otrsdir}/Kernel/cpan-lib/Net/SMTP/TLS |
369 | %{otrsdir}/Kernel/cpan-lib/Net/SMTP/TLS/*.pm | |
5d0044e1 | 370 | %dir %{otrsdir}/Kernel/cpan-lib/Proc |
59e7d60b | 371 | %{otrsdir}/Kernel/cpan-lib/Proc/Daemon.pod |
5d0044e1 SP |
372 | %dir %{otrsdir}/Kernel/cpan-lib/SOAP |
373 | %dir %{otrsdir}/Kernel/cpan-lib/SOAP/Lite | |
374 | %dir %{otrsdir}/Kernel/cpan-lib/SOAP/Lite/Deserializer | |
375 | %{otrsdir}/Kernel/cpan-lib/SOAP/Lite/Deserializer/*.pm | |
376 | %dir %{otrsdir}/Kernel/cpan-lib/SOAP/Transport | |
ccf8ecca | 377 | %dir %{otrsdir}/Kernel/cpan-lib/Text |
378 | %dir %{otrsdir}/Kernel/cpan-lib/Text/Diff | |
5d0044e1 SP |
379 | %dir %{otrsdir}/Kernel/cpan-lib/URI |
380 | %dir %{otrsdir}/Kernel/cpan-lib/URI/file | |
381 | %dir %{otrsdir}/Kernel/cpan-lib/URI/urn | |
382 | %dir %{otrsdir}/Kernel/cpan-lib/YAML | |
383 | %dir %{otrsdir}/Kernel/cpan-lib/YAML/Dumper | |
384 | %dir %{otrsdir}/Kernel/cpan-lib/YAML/Loader | |
0b3bd806 | 385 | %dir %{otrsdir}/bin |
8494d87e | 386 | %attr(700,otrs,root) %{otrsdir}/bin/*.sh |
387 | %attr(700,otrs,root) %{otrsdir}/bin/otrs.* | |
0b3bd806 PG |
388 | %dir %{otrsdir}/bin/cgi-bin/ |
389 | %attr(750,root,http) %{otrsdir}/bin/cgi-bin/*.pl | |
982bf1ba | 390 | %dir %{otrsdir}/bin/fcgi-bin/ |
704926f3 | 391 | %attr(750,root,http) %{otrsdir}/bin/fcgi-bin/*.pl |
0b3bd806 PG |
392 | %{otrsdir}/INSTALL |
393 | %dir %{otrsdir}/scripts | |
394 | %dir %{otrsdir}/scripts/database | |
395 | %{otrsdir}/scripts/*.sql | |
396 | %{otrsdir}/scripts/apache2-perl-startup | |
397 | %{otrsdir}/scripts/database/* | |
fa69eb5a | 398 | %attr(751,otrs,http) %dir /var/log/%{name} |
71062ed7 | 399 | %attr(751,otrs,http) %dir /var/log/archive/%{name} |
d6beb69e ER |
400 | %attr(664,otrs,http) %config(noreplace) %verify(not md5 mtime size) /var/log/otrs/otrs.log |
401 | %attr(664,otrs,http) %config(noreplace) %verify(not md5 mtime size) /var/log/otrs/TicketCounter.log | |
fa69eb5a PG |
402 | # This entries should be changed into links and proper trigger to move data: |
403 | %attr(751,otrs,http) %dir %{otrsdir}/var/ | |
c312bc64 | 404 | %{otrsdir}/var/*.png |
14be7800 | 405 | %attr(755,otrs,http) %dir /etc/cron.d |
90b961b2 | 406 | %attr(2775,otrs,http) %{otrsdir}/var/article |
c312bc64 | 407 | %attr(755,otrs,http) %{otrsdir}/var/fonts |
90b961b2 | 408 | %attr(755,otrs,http) %{otrsdir}/var/httpd |
90b961b2 | 409 | %attr(755,otrs,http) %{otrsdir}/var/sessions |
410 | %attr(755,otrs,http) %{otrsdir}/var/spool | |
704926f3 | 411 | %attr(755,otrs,http) %{otrsdir}/var/stats |
90b961b2 | 412 | %attr(2775,otrs,http) %{otrsdir}/var/tmp |
fa69eb5a PG |
413 | # attempt to move to /var/lib: |
414 | %attr(751,otrs,http) %dir /var/lib/%{name} | |
415 | %attr(2775,otrs,http) %dir /var/lib/%{name}/article | |
fa69eb5a PG |
416 | %attr(751,otrs,http) %dir /var/lib/%{name}/pics |
417 | %attr(751,otrs,http) %dir /var/lib/%{name}/pics/stats | |
a75d132d | 418 | |
a3192507 | 419 | %dir %attr(750,root,http) %{_webapps}/%{_webapp} |
a3192507 | 420 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf |
756a5b19 PG |
421 | |
422 | %files scripts | |
423 | %defattr(644,root,root,755) | |
756a5b19 | 424 | %attr(700,otrs,http) %{otrsdir}/scripts/*.pl |
756a5b19 | 425 | %attr(700,otrs,http) %{otrsdir}/scripts/tools/*.pl |
0b3bd806 | 426 | %{otrsdir}/scripts/*.pm |
0b3bd806 | 427 | %dir %{otrsdir}/scripts/tools |