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