X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=eventum.spec;h=b13e748ec2f8e815a02413024bb1d1672bf3b3c3;hb=a7f7d13cf09f49a7924f63474621db3f6b658fc3;hp=7358874a0e64ef1d1fb5b2b9d8c0d1d26340407f;hpb=9de27aebb54a365775dd242c7441a92edc79b75d;p=packages%2Feventum.git diff --git a/eventum.spec b/eventum.spec index 7358874..b13e748 100644 --- a/eventum.spec +++ b/eventum.spec @@ -3,19 +3,19 @@ %bcond_with order # with experimental order patch %define rel 1 -%define subver 118 -%define githash eeac61d8 -%define php_min_version 5.6.0 +#define subver 37 +#define githash a8d4c81db +%define php_min_version 7.1.3 Summary: Eventum Issue / Bug tracking system Summary(pl.UTF-8): Eventum - system śledzenia spraw/błędów Name: eventum -Version: 3.5.6 +Version: 3.6.4 Release: %{?subver:1.%{subver}.%{?githash:g%{githash}.}}%{rel} License: GPL v2+ Group: Applications/WWW -#Source0: https://github.com/eventum/eventum/releases/download/v%{version}/%{name}-%{version}.tar.xz -Source0: https://github.com/eventum/eventum/releases/download/snapshot/%{name}-%{version}-%{subver}-g%{githash}.tar.xz -# Source0-md5: 6742324fa94655aeffa6dfe0fd1da652 +Source0: https://github.com/eventum/eventum/releases/download/v%{version}/%{name}-%{version}.tar.xz +# Source0-md5: 68bef5cfe7c0d6aadc16e49473892907 +#Source0: https://github.com/eventum/eventum/releases/download/snapshot/%{name}-%{version}-%{subver}-g%{githash}.tar.xz Source1: %{name}-apache.conf Source2: %{name}-mail-queue.cron Source3: %{name}-mail-download.cron @@ -52,6 +52,7 @@ Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/useradd Requires: fonts-TTF-RedHat-liberation Requires: php(core) >= %{php_min_version} +Requires: php(ds) Requires: php(filter) Requires: php(iconv) Requires: php(imap) @@ -69,12 +70,6 @@ Requires: php-ZendFramework-Mime >= 2.4 Requires: php-ZendFramework-ServiceManager >= 2.4 Requires: php-ZendFramework-Validator >= 2.4 Requires: php-monolog >= 1.17.2 -Requires: php-pear-Math_Stats -Requires: php-pear-Net_SMTP -Requires: php-pear-Net_Socket -Requires: php-pear-Net_URL -Requires: php-pear-PEAR-core -Requires: php-pear-Text_Diff Requires: php-psr-Log >= 1.0.0-2 Requires: phplot >= 5.8.0 Requires: webapps @@ -85,7 +80,6 @@ Requires: webserver(php) >= 4.2.0 Suggests: localedb Suggests: php(mcrypt) Suggests: php(openssl) -Suggests: php-pear-Net_POP3 Suggests: webserver(setenv) Provides: group(eventum) Provides: user(eventum) @@ -316,66 +310,22 @@ rm config/config.php rm htdocs/.htaccess.dist rm config/config.dist.php -# cleanup vendor. keep only needed libraries. -# (the rest are packaged with system packages) -mv vendor vendor.dist -vendor() { - local path dir - for path; do - dir=$(dirname $path) - test -d vendor/$dir || mkdir -p vendor/$dir - mv vendor.dist/$path vendor/$path - done -} -vendor autoload.php -vendor composer/autoload_{classmap,files,namespaces,real,psr4}.php -vendor composer/ClassLoader.php -vendor ircmaxell/{random-lib,security-lib} -vendor defuse/php-encryption -vendor willdurand/email-reply-parser -vendor theorchard/monolog-cascade -vendor malkusch/lock -vendor phpxmlrpc/phpxmlrpc -vendor robmorgan/phinx -vendor mnapoli/silly -vendor psr/container -vendor phlib/flysystem-pdo -vendor league/flysystem -vendor php-di/invoker -vendor symfony/config -vendor symfony/console -vendor symfony/contracts -vendor symfony/event-dispatcher -vendor symfony/filesystem -vendor symfony/http-foundation -vendor symfony/options-resolver -vendor symfony/serializer -vendor symfony/yaml -vendor symfony/ldap -vendor symfony/security-core -vendor symfony/security-csrf -vendor glen/filename-normalizer -vendor doctrine/annotations -vendor doctrine/cache -vendor doctrine/collections -vendor doctrine/common -vendor doctrine/dbal -vendor doctrine/inflector -vendor doctrine/instantiator -vendor doctrine/lexer -vendor doctrine/orm -vendor cebe/markdown -vendor enrise/urihelper -vendor cakephp/core -vendor cakephp/collection -vendor cakephp/utility -vendor cakephp/datasource -vendor cakephp/database -vendor cakephp/log -vendor cakephp/cache -vendor doctrine/persistence -vendor doctrine/reflection -vendor doctrine/event-manager +# cleanup libs taken from system, everything else gets bundled +rm -r vendor/fonts/liberation +rm -r vendor/monolog/monolog +rm -r vendor/php-gettext/php-gettext +rm -r vendor/phplot/phplot +rm -r vendor/psr/log +rm -r vendor/smarty-gettext/smarty-gettext +rm -r vendor/smarty/smarty +rm -r vendor/sphinx/php-sphinxapi +rm -r vendor/zendframework/zend-config +rm -r vendor/zendframework/zend-loader +rm -r vendor/zendframework/zend-mail +rm -r vendor/zendframework/zend-mime +rm -r vendor/zendframework/zend-servicemanager +rm -r vendor/zendframework/zend-stdlib +rm -r vendor/zendframework/zend-validator # remove backups from patching as we use globs to package files to buildroot find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v @@ -513,14 +463,14 @@ fi %attr(751,root,http) %dir %{_webappdir}/partner %attr(751,root,http) %dir %{_webappdir}/templates %attr(751,root,http) %dir %{_webappdir}/workflow -%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf -%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf -%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/config.php +%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/htpasswd %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/private_key.php %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/secret_key.php +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf %attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/setup.php -%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/htpasswd %dir %attr(731,root,http) /var/log/%{name} %attr(620,root,http) %ghost /var/log/%{name}/*