# remirepo spec file for php-symfony, from: # # Fedora spec file for php-symfony # # Copyright (c) 2013-2015 Shawn Iwinski # Remi Collet # # License: MIT # http://opensource.org/licenses/MIT # # Please preserve changelog entries # %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} %global github_owner symfony %global github_name symfony %global github_version 2.7.2 %global github_commit 969d709ad428076bf1084e386dc26dd904d9fb84 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global composer_vendor symfony %global composer_project symfony # "php": ">=5.3.9" %global php_min_ver 5.3.9 # "doctrine/annotations": "~1.0" # src/Symfony/Bundle/FrameworkBundle/composer.json # src/Symfony/Component/Routing/composer.json # src/Symfony/Component/Serializer/composer.json # src/Symfony/Component/Validator/composer.json %global doctrine_annotations_min_ver 1.0 %global doctrine_annotations_max_ver 2.0 # "doctrine/cache": "~1.0" # src/Symfony/Bundle/FrameworkBundle/composer.json # src/Symfony/Component/Serializer/composer.json # src/Symfony/Component/Validator/composer.json %global doctrine_cache_min_ver 1.0 %global doctrine_cache_max_ver 2.0 # "doctrine/common": "~2.3" %global doctrine_common_min_ver 2.3 %global doctrine_common_max_ver 3.0 # "doctrine/data-fixtures": "1.0.*" %global doctrine_datafixtures_min_ver 1.0.0 %global doctrine_datafixtures_max_ver 1.1.0 # "doctrine/dbal": "~2.2" %global doctrine_dbal_min_ver 2.2 %global doctrine_dbal_max_ver 3.0 # "doctrine/doctrine-bundle": "~1.2" %global doctrine_bundle_min_ver 1.2 %global doctrine_bundle_max_ver 2.0 # "doctrine/orm": "~2.2,>=2.2.3" %global doctrine_orm_min_ver 2.2.3 %global doctrine_orm_max_ver 3.0 # "egulias/email-validator": "~1.2" %global email_validator_min_ver 1.2 %global email_validator_max_ver 2.0 # "ircmaxell/password-compat": "~1.0" %global password_compat_min_ver 1.0 %global password_compat_max_ver 2.0 # "monolog/monolog": "~1.11" %global monolog_min_ver 1.11 %global monolog_max_ver 2.0 # "ocramius/proxy-manager": "~0.4|~1.0" %global proxy_manager_min_ver 1.0 %global proxy_manager_max_ver 2.0 # "psr/log": "~1.0" %global psrlog_min_ver 1.0 %global psrlog_max_ver 2.0 # "swiftmailer/swiftmailer": ">=4.2.0,<6.0-dev" # src/Symfony/Bridge/Swiftmailer/composer.json # NOTE: Max version ignored on purpose %global swiftmailer_min_ver 4.2.0 # "twig/twig": "~1.18" %global twig_min_ver 1.18 %global twig_max_ver 2.0 %if 0%{?fedora} < 21 && 0%{?rhel} < 7 # Build using "--with tests" to enable tests # Disabled by default with old PHPUnit version %global with_tests %{?_with_tests:1}%{!?_with_tests:0} %else # Build using "--without tests" to disable tests %global with_tests %{?_without_tests:0}%{!?_without_tests:1} %endif %{!?phpdir: %global phpdir %{_datadir}/php} %global symfony_dir %{phpdir}/Symfony %global pear_channel pear.symfony.com Name: php-%{composer_project} Version: %{github_version} Release: 3%{?dist} Summary: PHP framework for web projects Group: Development/Libraries License: MIT URL: http://symfony.com Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_short}.tar.gz # [HttpFoundation] [PSR-7] Allow to use resources as content body and to return # resources from string content # https://github.com/symfony/symfony/pull/15249 # https://github.com/symfony/psr-http-message-bridge/issues/8 Patch0: %{name}-pr15249.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Tests %if %{with_tests} ## composer.json BuildRequires: %{_bindir}/phpunit BuildRequires: php(language) >= %{php_min_ver} BuildRequires: php-composer(doctrine/annotations) >= %{doctrine_annotations_min_ver} BuildRequires: php-composer(doctrine/cache) >= %{doctrine_cache_min_ver} BuildRequires: php-composer(doctrine/common) >= %{doctrine_common_min_ver} BuildRequires: php-composer(doctrine/data-fixtures) >= %{doctrine_datafixtures_min_ver} BuildRequires: php-composer(doctrine/dbal) >= %{doctrine_dbal_min_ver} BuildRequires: php-composer(doctrine/doctrine-bundle) >= %{doctrine_bundle_min_ver} BuildRequires: php-composer(doctrine/orm) >= %{doctrine_orm_min_ver} BuildRequires: php-composer(egulias/email-validator) >= %{email_validator_min_ver} BuildRequires: php-composer(monolog/monolog) >= %{monolog_min_ver} BuildRequires: php-composer(ocramius/proxy-manager) >= %{proxy_manager_min_ver} BuildRequires: php-composer(psr/log) >= %{psrlog_min_ver} BuildRequires: php-composer(twig/twig) >= %{twig_min_ver} %if "%{php_version}" < "5.5" BuildRequires: php-password-compat >= %{password_compat_min_ver} %endif ## phpcompatinfo (computed from version 2.5.6) BuildRequires: php-ctype BuildRequires: php-curl BuildRequires: php-date BuildRequires: php-dom BuildRequires: php-fileinfo BuildRequires: php-filter BuildRequires: php-hash BuildRequires: php-iconv BuildRequires: php-intl BuildRequires: php-json BuildRequires: php-mbstring BuildRequires: php-openssl BuildRequires: php-pcntl BuildRequires: php-pcre BuildRequires: php-pdo BuildRequires: php-posix # php-cli instead of php-readline for EL-5 BuildRequires: php-cli BuildRequires: php-reflection BuildRequires: php-session BuildRequires: php-simplexml BuildRequires: php-sockets BuildRequires: php-spl %if 0%{?rhel} != 5 BuildRequires: php-sqlite3 %endif BuildRequires: php-tokenizer BuildRequires: php-xml %endif # Bridges Requires: php-composer(%{composer_vendor}/doctrine-bridge) = %{version} Requires: php-composer(%{composer_vendor}/monolog-bridge) = %{version} Requires: php-composer(%{composer_vendor}/phpunit-bridge) = %{version} Requires: php-composer(%{composer_vendor}/proxy-manager-bridge) = %{version} Requires: php-composer(%{composer_vendor}/swiftmailer-bridge) = %{version} Requires: php-composer(%{composer_vendor}/twig-bridge) = %{version} # Bundles Requires: php-composer(%{composer_vendor}/debug-bundle) = %{version} Requires: php-composer(%{composer_vendor}/framework-bundle) = %{version} Requires: php-composer(%{composer_vendor}/security-bundle) = %{version} Requires: php-composer(%{composer_vendor}/twig-bundle) = %{version} Requires: php-composer(%{composer_vendor}/web-profiler-bundle) = %{version} # Components Requires: php-composer(%{composer_vendor}/asset) = %{version} Requires: php-composer(%{composer_vendor}/browser-kit) = %{version} Requires: php-composer(%{composer_vendor}/class-loader) = %{version} Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/console) = %{version} Requires: php-composer(%{composer_vendor}/css-selector) = %{version} Requires: php-composer(%{composer_vendor}/debug) = %{version} Requires: php-composer(%{composer_vendor}/dependency-injection) = %{version} Requires: php-composer(%{composer_vendor}/dom-crawler) = %{version} Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version} Requires: php-composer(%{composer_vendor}/expression-language) = %{version} Requires: php-composer(%{composer_vendor}/filesystem) = %{version} Requires: php-composer(%{composer_vendor}/finder) = %{version} Requires: php-composer(%{composer_vendor}/form) = %{version} Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} Requires: php-composer(%{composer_vendor}/intl) = %{version} Requires: php-composer(%{composer_vendor}/locale) = %{version} Requires: php-composer(%{composer_vendor}/options-resolver) = %{version} Requires: php-composer(%{composer_vendor}/process) = %{version} Requires: php-composer(%{composer_vendor}/property-access) = %{version} Requires: php-composer(%{composer_vendor}/routing) = %{version} Requires: php-composer(%{composer_vendor}/security) = %{version} Requires: php-composer(%{composer_vendor}/serializer) = %{version} Requires: php-composer(%{composer_vendor}/stopwatch) = %{version} Requires: php-composer(%{composer_vendor}/templating) = %{version} Requires: php-composer(%{composer_vendor}/translation) = %{version} Requires: php-composer(%{composer_vendor}/validator) = %{version} Requires: php-composer(%{composer_vendor}/var-dumper) = %{version} Requires: php-composer(%{composer_vendor}/yaml) = %{version} # Composer Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} %description %{summary} # ############################################################################## %package common Summary: Symfony common files Group: Development/Libraries Requires: php(language) >= %{php_min_ver} # Autoloader Requires: %{name}-class-loader = %{version}-%{release} Obsoletes: php-channel-symfony2 %description common %{summary} # ------------------------------------------------------------------------------ %package doctrine-bridge Summary: Symfony Doctrine Bridge Group: Development/Libraries # composer.json Requires: php-composer(doctrine/common) >= %{doctrine_common_min_ver} Requires: php-composer(doctrine/common) < %{doctrine_common_max_ver} # composer.json: optional Requires: php-composer(%{composer_vendor}/form) = %{version} Requires: php-composer(%{composer_vendor}/validator) = %{version} Requires: php-composer(doctrine/data-fixtures) >= %{doctrine_datafixtures_min_ver} Requires: php-composer(doctrine/data-fixtures) < %{doctrine_datafixtures_max_ver} Requires: php-composer(doctrine/dbal) >= %{doctrine_dbal_min_ver} Requires: php-composer(doctrine/dbal) < %{doctrine_dbal_max_ver} Requires: php-composer(doctrine/orm) >= %{doctrine_orm_min_ver} Requires: php-composer(doctrine/orm) < %{doctrine_orm_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-date Requires: php-hash Requires: php-json Requires: php-mbstring Requires: php-pcre Requires: php-reflection Requires: php-session Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/doctrine-bridge) = %{version} # PEAR Provides: php-pear(%{pear_channel}/DoctrineBridge) = %{version} # Rename Obsoletes: %{name}-doctrinebridge < %{version} Provides: %{name}-doctrinebridge = %{version} %description doctrine-bridge Provides integration for Doctrine (http://www.doctrine-project.org/) with various Symfony components. Configuration reference: http://symfony.com/doc/current/reference/configuration/doctrine.html # ------------------------------------------------------------------------------ %package monolog-bridge Summary: Symfony Monolog Bridge Group: Development/Libraries # composer.json Requires: php-composer(monolog/monolog) >= %{monolog_min_ver} Requires: php-composer(monolog/monolog) < %{monolog_max_ver} # composer.json: optional Requires: php-composer(%{composer_vendor}/console) = %{version} Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version} Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre # Composer Provides: php-composer(%{composer_vendor}/monolog-bridge) = %{version} # PEAR Provides: php-pear(%{pear_channel}/MonologBridge) = %{version} # Rename Obsoletes: %{name}-monologbridge < %{version} Provides: %{name}-monologbridge = %{version} %description monolog-bridge Provides integration for Monolog (https://github.com/Seldaek/monolog) with various Symfony components. Configuration reference: http://symfony.com/doc/current/reference/configuration/monolog.html # ------------------------------------------------------------------------------ %package phpunit-bridge Summary: Symfony PHPUnit Bridge Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre Requires: php-posix # Composer Provides: php-composer(%{composer_vendor}/phpunit-bridge) = %{version} %description phpunit-bridge Provides utilities for PHPUnit, especially user deprecation notices management. It comes with the following features: * disable the garbage collector * auto-register class_exists to load Doctrine annotations * print a user deprecation notices summary at the end of the test suite. Optional: * php-symfony-debug: For tracking deprecated interfaces usages at runtime with DebugClassLoader # ------------------------------------------------------------------------------ %package proxy-manager-bridge Summary: Symfony ProxyManager Bridge Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/dependency-injection) = %{version} Requires: php-composer(ocramius/proxy-manager) >= %{proxy_manager_min_ver} Requires: php-composer(ocramius/proxy-manager) < %{proxy_manager_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-reflection Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/proxy-manager-bridge) = %{version} %description proxy-manager-bridge Provides integration for ProxyManager [1] with various Symfony components. [1] http://ocramius.github.io/ProxyManager/ # ------------------------------------------------------------------------------ %package swiftmailer-bridge Summary: Symfony Swiftmailer Bridge Group: Development/Libraries # composer.json Requires: php-swift-Swift >= %{swiftmailer_min_ver} # composer.json: optional Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} # phpcompatinfo (computed from version 2.7.1) # # Composer Provides: php-composer(%{composer_vendor}/swiftmailer-bridge) = %{version} # Rename Obsoletes: %{name}-swiftmailerbridge < %{version} Provides: %{name}-swiftmailerbridge = %{version} %description swiftmailer-bridge Provides integration for Swift Mailer (http://swiftmailer.org/) with various Symfony components. NOTE: Deprecated since version 2.4, to be removed in 3.0. Use SwiftmailerBundle instead. # ------------------------------------------------------------------------------ %package twig-bridge Summary: Symfony Twig Bridge Group: Development/Libraries # composer.json Requires: php-composer(twig/twig) >= %{twig_min_ver} Requires: php-composer(twig/twig) < %{twig_max_ver} # composer.json: optional Requires: php-composer(%{composer_vendor}/asset) = %{version} Requires: php-composer(%{composer_vendor}/expression-language) = %{version} Requires: php-composer(%{composer_vendor}/finder) = %{version} Requires: php-composer(%{composer_vendor}/form) = %{version} Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} Requires: php-composer(%{composer_vendor}/routing) = %{version} Requires: php-composer(%{composer_vendor}/security) = %{version} Requires: php-composer(%{composer_vendor}/stopwatch) = %{version} Requires: php-composer(%{composer_vendor}/templating) = %{version} Requires: php-composer(%{composer_vendor}/translation) = %{version} Requires: php-composer(%{composer_vendor}/var-dumper) = %{version} Requires: php-composer(%{composer_vendor}/yaml) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-json Requires: php-pcre Requires: php-reflection Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/twig-bridge) = %{version} # PEAR Provides: php-pear(%{pear_channel}/TwigBridge) = %{version} # Rename Obsoletes: %{name}-twigbridge < %{version} Provides: %{name}-twigbridge = %{version} %description twig-bridge Provides integration for Twig (http://twig.sensiolabs.org/) with various Symfony components. # ------------------------------------------------------------------------------ %package debug-bundle Summary: Symfony Debug Bundle Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} Requires: php-composer(%{composer_vendor}/twig-bridge) = %{version} Requires: php-composer(%{composer_vendor}/var-dumper) = %{version} # composer.json: optional Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/dependency-injection) = %{version} # phpcompatinfo (computed from version 2.7.1) # # Composer Provides: php-composer(%{composer_vendor}/debug-bundle) = %{version} %description debug-bundle %{summary}. # ------------------------------------------------------------------------------ %package framework-bundle Summary: Symfony Framework Bundle Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/asset) = %{version} Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/dependency-injection) = %{version} Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version} Requires: php-composer(%{composer_vendor}/filesystem) = %{version} Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} Requires: php-composer(%{composer_vendor}/routing) = %{version} Requires: php-composer(%{composer_vendor}/security-core) = %{version} Requires: php-composer(%{composer_vendor}/security-csrf) = %{version} Requires: php-composer(%{composer_vendor}/stopwatch) = %{version} Requires: php-composer(%{composer_vendor}/templating) = %{version} Requires: php-composer(%{composer_vendor}/translation) = %{version} Requires: php-composer(doctrine/annotations) >= %{doctrine_annotations_min_ver} Requires: php-composer(doctrine/annotations) < %{doctrine_annotations_max_ver} # composer.json: optional Requires: php-composer(%{composer_vendor}/console) = %{version} Requires: php-composer(%{composer_vendor}/finder) = %{version} Requires: php-composer(%{composer_vendor}/form) = %{version} Requires: php-composer(%{composer_vendor}/validator) = %{version} Requires: php-composer(%{composer_vendor}/yaml) = %{version} Requires: php-composer(doctrine/cache) >= %{doctrine_cache_min_ver} Requires: php-composer(doctrine/cache) < %{doctrine_cache_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-dom Requires: php-fileinfo Requires: php-filter Requires: php-hash Requires: php-json Requires: php-mbstring Requires: php-pcntl Requires: php-pcre Requires: php-posix Requires: php-reflection Requires: php-spl Requires: php-tokenizer # Composer Provides: php-composer(%{composer_vendor}/framework-bundle) = %{version} # Rename Obsoletes: %{name}-frameworkbundle < %{version} Provides: %{name}-frameworkbundle = %{version} %description framework-bundle The FrameworkBundle contains most of the "base" framework functionality and can be configured under the framework key in your application configuration. This includes settings related to sessions, translation, forms, validation, routing and more. Configuration reference: http://symfony.com/doc/current/reference/configuration/framework.html # ------------------------------------------------------------------------------ %package security-bundle Summary: Symfony Security Bundle Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} Requires: php-composer(%{composer_vendor}/security) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/security-bundle) = %{version} # Rename Obsoletes: %{name}-securitybundle < %{version} Provides: %{name}-securitybundle = %{version} %description security-bundle %{summary} # ------------------------------------------------------------------------------ %package twig-bundle Summary: Symfony Twig Bundle Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/asset) = %{version} Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} Requires: php-composer(%{composer_vendor}/twig-bridge) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-reflection Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/twig-bundle) = %{version} # Rename Obsoletes: %{name}-twigbundle < %{version} Provides: %{name}-twigbundle = %{version} %description twig-bundle %{summary} Configuration reference: http://symfony.com/doc/current/reference/configuration/twig.html # ------------------------------------------------------------------------------ %package web-profiler-bundle Summary: Symfony WebProfiler Bundle Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} Requires: php-composer(%{composer_vendor}/routing) = %{version} Requires: php-composer(%{composer_vendor}/twig-bridge) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/web-profiler-bundle) = %{version} # Rename Obsoletes: %{name}-webprofilerbundle < %{version} Provides: %{name}-webprofilerbundle = %{version} %description web-profiler-bundle %{summary} Configuration reference: http://symfony.com/doc/current/reference/configuration/web_profiler.html # ------------------------------------------------------------------------------ %package asset Summary: Symfony Asset Component Group: Development/Libraries # composer.json: optional Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-hash Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/asset) = %{version} %description asset The Asset component manages asset URLs. # ------------------------------------------------------------------------------ %package browser-kit Summary: Symfony BrowserKit Component Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/dom-crawler) = %{version} # composer.json: optional Requires: php-composer(%{composer_vendor}/process) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-date Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/browser-kit) = %{version} # PEAR Provides: php-pear(%{pear_channel}/BrowserKit) = %{version} # Rename Obsoletes: %{name}2-BrowserKit < %{version} Provides: %{name}2-BrowserKit = %{version} Obsoletes: %{name}-browserkit < %{version} Provides: %{name}-browserkit = %{version} %description browser-kit BrowserKit simulates the behavior of a web browser. The component only provide an abstract client and does not provide any "default" backend for the HTTP layer. # ------------------------------------------------------------------------------ %package class-loader Summary: Symfony ClassLoader Component URL: http://symfony.com/doc/current/components/class_loader/index.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-hash Requires: php-pcre Requires: php-reflection Requires: php-spl Requires: php-tokenizer # Composer Provides: php-composer(%{composer_vendor}/class-loader) = %{version} # PEAR Provides: php-pear(%{pear_channel}/ClassLoader) = %{version} # Rename Obsoletes: %{name}2-ClassLoader < %{version} Provides: %{name}2-ClassLoader = %{version} Obsoletes: %{name}-classloader < %{version} Provides: %{name}-classloader = %{version} %description class-loader The ClassLoader Component loads your project classes automatically if they follow some standard PHP conventions. Whenever you use an undefined class, PHP uses the autoloading mechanism to delegate the loading of a file defining the class. Symfony provides a "universal" autoloader, which is able to load classes from files that implement one of the following conventions: * The technical interoperability standards [1] for PHP 5.3 namespaces and class names * The PEAR naming convention [2] for classes If your classes and the third-party libraries you use for your project follow these standards, the Symfony autoloader is the only autoloader you will ever need. Optional: * APC (php-pecl-apcu) * XCache (php-xcache) [1] http://symfony.com/PSR0 [2] http://pear.php.net/manual/en/standards.php # ------------------------------------------------------------------------------ %package config Summary: Symfony Config Component URL: http://symfony.com/doc/current/components/config/index.html Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/filesystem) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-dom Requires: php-json Requires: php-libxml Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/config) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Config) = %{version} # Rename Obsoletes: %{name}2-Config < %{version} Provides: %{name}2-Config = %{version} %description config The Config Component provides several classes to help you find, load, combine, autofill and validate configuration values of any kind, whatever their source may be (Yaml, XML, INI files, or for instance a database). # ------------------------------------------------------------------------------ %package console Summary: Symfony Console Component URL: http://symfony.com/doc/current/components/console/index.html Group: Development/Libraries # composer.json: optional Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version} Requires: php-composer(%{composer_vendor}/process) = %{version} Requires: php-composer(psr/log) >= %{psrlog_min_ver} Requires: php-composer(psr/log) < %{psrlog_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-date Requires: php-dom Requires: php-json Requires: php-mbstring Requires: php-pcre Requires: php-posix # php-cli instead of php-readline for EL-5 Requires: php-cli Requires: php-reflection Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/console) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Console) = %{version} # Rename Obsoletes: %{name}2-Console < %{version} Provides: %{name}2-Console = %{version} %description console The Console component eases the creation of beautiful and testable command line interfaces. The Console component allows you to create command-line commands. Your console commands can be used for any recurring task, such as cronjobs, imports, or other batch jobs. # ------------------------------------------------------------------------------ %package css-selector Summary: Symfony CssSelector Component URL: http://symfony.com/doc/current/components/css_selector.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre # Composer Provides: php-composer(%{composer_vendor}/css-selector) = %{version} # PEAR Provides: php-pear(%{pear_channel}/CssSelector) = %{version} # Rename Obsoletes: %{name}2-CssSelector < %{version} Provides: %{name}2-CssSelector = %{version} Obsoletes: %{name}-cssselector < %{version} Provides: %{name}-cssselector = %{version} %description css-selector The CssSelector Component converts CSS selectors to XPath expressions. # ------------------------------------------------------------------------------ %package debug Summary: Symfony Debug Component URL: http://symfony.com/doc/current/components/debug/index.html Group: Development/Libraries # composer.json Requires: php-composer(psr/log) >= %{psrlog_min_ver} Requires: php-composer(psr/log) < %{psrlog_max_ver} # composer.json: optional Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre Requires: php-reflection Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/debug) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Debug) = %{version} # Rename Obsoletes: %{name}2-Debug < %{version} Provides: %{name}2-Debug = %{version} %description debug The Debug Component provides tools to ease debugging PHP code. Optional: * Xdebug (php-pecl-xdebug) # ------------------------------------------------------------------------------ %package dependency-injection Summary: Symfony DependencyInjection Component URL: http://symfony.com/doc/current/components/dependency_injection/index.html Group: Development/Libraries # composer.json: optional Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/yaml) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-dom Requires: php-hash Requires: php-pcre Requires: php-reflection Requires: php-simplexml Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/dependency-injection) = %{version} # PEAR Provides: php-pear(%{pear_channel}/DependencyInjection) = %{version} # Rename Obsoletes: %{name}2-DependencyInjection < %{version} Provides: %{name}2-DependencyInjection = %{version} Obsoletes: %{name}-dependencyinjection < %{version} Provides: %{name}-dependencyinjection = %{version} %description dependency-injection The Dependency Injection component allows you to standardize and centralize the way objects are constructed in your application. Optional: * Symfony ProxyManager Bridge (php-%{composer_vendor}-proxy-manager-bridge) Generate service proxies to lazy load them. # ------------------------------------------------------------------------------ %package dom-crawler Summary: Symfony DomCrawler Component URL: http://symfony.com/doc/current/components/dom_crawler.html Group: Development/Libraries # composer.json: optional Requires: php-composer(%{composer_vendor}/css-selector) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-dom Requires: php-libxml Requires: php-mbstring Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/dom-crawler) = %{version} # PEAR Provides: php-pear(%{pear_channel}/DomCrawler) = %{version} # Rename Obsoletes: %{name}2-DomCrawler < %{version} Provides: %{name}2-DomCrawler = %{version} Obsoletes: %{name}-domcrawler < %{version} Provides: %{name}-domcrawler = %{version} %description dom-crawler The DomCrawler Component eases DOM navigation for HTML and XML documents. # ------------------------------------------------------------------------------ %package event-dispatcher Summary: Symfony EventDispatcher Component URL: http://symfony.com/doc/current/components/event_dispatcher/index.html Group: Development/Libraries # composer.json: optional Requires: php-composer(%{composer_vendor}/dependency-injection) = %{version} Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre Requires: php-reflection Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/event-dispatcher) = %{version} # PEAR Provides: php-pear(%{pear_channel}/EventDispatcher) = %{version} # Rename Obsoletes: %{name}2-EventDispatcher < %{version} Provides: %{name}2-EventDispatcher = %{version} Obsoletes: %{name}-eventdispatcher < %{version} Provides: %{name}-eventdispatcher = %{version} %description event-dispatcher The Symfony Event Dispatcher component implements the Observer [1] pattern in a simple and effective way to make all these things possible and to make your projects truly extensible. [1] http://en.wikipedia.org/wiki/Observer_pattern # ------------------------------------------------------------------------------ %package expression-language Summary: Symfony ExpressionLanguage Component URL: http://symfony.com/doc/current/components/expression_language/index.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/expression-language) = %{version} # PEAR Provides: php-pear(%{pear_channel}/ExpressionLanguage) = %{version} # Rename Obsoletes: %{name}-expressionlanguage < %{version} Provides: %{name}-expressionlanguage = %{version} %description expression-language The ExpressionLanguage component provides an engine that can compile and evaluate expressions. An expression is a one-liner that returns a value (mostly, but not limited to, Booleans). # ------------------------------------------------------------------------------ %package filesystem Summary: Symfony Filesystem Component URL: http://symfony.com/doc/current/components/filesystem.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-hash Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/filesystem) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Filesystem) = %{version} # Rename Obsoletes: %{name}2-Filesystem < %{version} Provides: %{name}2-Filesystem = %{version} %description filesystem The Filesystem component provides basic utilities for the filesystem. # ------------------------------------------------------------------------------ %package finder Summary: Symfony Finder Component URL: http://symfony.com/doc/current/components/finder.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-date Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/finder) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Finder) = %{version} # Rename Obsoletes: %{name}2-Finder < %{version} Provides: %{name}2-Finder = %{version} %description finder The Finder Component finds files and directories via an intuitive fluent interface. # ------------------------------------------------------------------------------ %package form Summary: Symfony Form Component Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version} Requires: php-composer(%{composer_vendor}/intl) = %{version} Requires: php-composer(%{composer_vendor}/options-resolver) = %{version} Requires: php-composer(%{composer_vendor}/property-access) = %{version} # composer.json: optional Requires: php-composer(%{composer_vendor}/security-csrf) = %{version} Requires: php-composer(%{composer_vendor}/validator) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-date Requires: php-hash Requires: php-intl Requires: php-json Requires: php-mbstring Requires: php-pcre Requires: php-reflection Requires: php-session Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/form) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Form) = %{version} # Rename Obsoletes: %{name}2-Form < %{version} Provides: %{name}2-Form = %{version} %description form Form provides tools for defining forms, rendering and mapping request data to related models. Furthermore it provides integration with the Validation component. Optional: * Symfony Framework Bundle (php-%{composer_vendor}-framework-bundle) For templating with PHP. * Symfony Twig Bridge (php-%{composer_vendor}-twig-bridge) For templating with Twig. # ------------------------------------------------------------------------------ %package http-foundation Summary: Symfony HttpFoundation Component URL: http://symfony.com/doc/current/components/http_foundation/index.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-date Requires: php-fileinfo Requires: php-filter Requires: php-hash Requires: php-intl Requires: php-json Requires: php-pcre Requires: php-pdo Requires: php-session Requires: php-sockets Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/http-foundation) = %{version} # PEAR Provides: php-pear(%{pear_channel}/HttpFoundation) = %{version} # Rename Obsoletes: %{name}2-HttpFoundation < %{version} Provides: %{name}2-HttpFoundation = %{version} Obsoletes: %{name}-httpfoundation < %{version} Provides: %{name}-httpfoundation = %{version} %description http-foundation The HttpFoundation Component defines an object-oriented layer for the HTTP specification. In PHP, the request is represented by some global variables ($_GET, $_POST, $_FILES, $_COOKIE, $_SESSION, ...) and the response is generated by some functions (echo, header, setcookie, ...). The Symfony HttpFoundation component replaces these default PHP global variables and functions by an Object-Oriented layer. Optional: * Memcache (php-pecl-memcache) * Memcached (php-pecl-memcached) * Mongo (php-pecl-mongo) # ------------------------------------------------------------------------------ %package http-kernel Summary: Symfony HttpKernel Component URL: http://symfony.com/doc/current/components/http_kernel/index.html Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/debug) = %{version} Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version} Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} Requires: php-composer(psr/log) >= %{psrlog_min_ver} Requires: php-composer(psr/log) < %{psrlog_max_ver} # composer.json: optional Requires: php-composer(%{composer_vendor}/browser-kit) = %{version} Requires: php-composer(%{composer_vendor}/class-loader) = %{version} Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/console) = %{version} Requires: php-composer(%{composer_vendor}/dependency-injection) = %{version} Requires: php-composer(%{composer_vendor}/finder) = %{version} Requires: php-composer(%{composer_vendor}/var-dumper) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-date Requires: php-hash Requires: php-pcre Requires: php-pdo Requires: php-reflection Requires: php-session Requires: php-spl %if 0%{?rhel} != 5 Requires: php-sqlite3 %endif Requires: php-tokenizer # Composer Provides: php-composer(%{composer_vendor}/http-kernel) = %{version} # PEAR Provides: php-pear(%{pear_channel}/HttpKernel) = %{version} # Rename Obsoletes: %{name}2-HttpKernel < %{version} Provides: %{name}2-HttpKernel = %{version} Obsoletes: %{name}-httpkernel < %{version} Provides: %{name}-httpkernel = %{version} %description http-kernel The HttpKernel Component provides a structured process for converting a Request into a Response by making use of the event dispatcher. It's flexible enough to create a full-stack framework (Symfony), a micro-framework (Silex) or an advanced CMS system (Drupal). Configuration reference: http://symfony.com/doc/current/reference/configuration/kernel.html Optional: * APC (php-pecl-apcu) * Memcache (php-pecl-memcache) * Memcached (php-pecl-memcached) * Mongo (php-pecl-mongo) * Redis (php-pecl-redis) * Zend OPcache (php-opcache) # ------------------------------------------------------------------------------ %package intl Summary: Symfony Intl Component URL: http://symfony.com/doc/current/components/intl.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # composer.json: optional Requires: php-intl # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-date Requires: php-intl Requires: php-json Requires: php-pcre Requires: php-reflection Requires: php-simplexml Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/intl) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Intl) = %{version} # Rename Obsoletes: %{name}2-Intl < %{version} Provides: %{name}2-Intl = %{version} # ICU Obsoletes: php-symfony-icu %description intl A PHP replacement layer for the C intl extension [1] that also provides access to the localization data of the ICU library [2]. [1] http://www.php.net/manual/en/book.intl.php [2] http://site.icu-project.org/ # ------------------------------------------------------------------------------ %package locale Summary: Symfony Locale Component Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/intl) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-intl # Composer Provides: php-composer(%{composer_vendor}/locale) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Locale) = %{version} # Rename Obsoletes: %{name}2-Locale < %{version} Provides: %{name}2-Locale = %{version} %description locale Locale provides fallback code to handle cases when the intl extension is missing. The Locale component is deprecated since version 2.3 and will be removed in Symfony 3.0. You should use the more capable Intl component instead. # ------------------------------------------------------------------------------ %package options-resolver Summary: Symfony OptionsResolver Component URL: http://symfony.com/doc/current/components/options_resolver.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-reflection Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/options-resolver) = %{version} # PEAR Provides: php-pear(%{pear_channel}/OptionsResolver) = %{version} # Rename Obsoletes: %{name}2-OptionsResolver < %{version} Provides: %{name}2-OptionsResolver = %{version} Obsoletes: %{name}-optionsresolver < %{version} Provides: %{name}-optionsresolver = %{version} %description options-resolver The OptionsResolver Component helps you configure objects with option arrays. It supports default values, option constraints and lazy options. # ------------------------------------------------------------------------------ %package process Summary: Symfony Process Component URL: http://symfony.com/doc/current/components/process.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcntl Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/process) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Process) = %{version} # Rename Obsoletes: %{name}2-Process < %{version} Provides: %{name}2-Process = %{version} %description process The Process component executes commands in sub-processes. # ------------------------------------------------------------------------------ %package property-access Summary: Symfony PropertyAccess Component URL: http://symfony.com/doc/current/components/property_access/introduction.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-pcre Requires: php-reflection Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/property-access) = %{version} # PEAR Provides: php-pear(%{pear_channel}/PropertyAccess) = %{version} # Rename Obsoletes: %{name}2-PropertyAccess < %{version} Provides: %{name}2-PropertyAccess = %{version} Obsoletes: %{name}-propertyaccess < %{version} Provides: %{name}-propertyaccess = %{version} %description property-access The PropertyAccess component provides function to read and write from/to an object or array using a simple string notation. # ------------------------------------------------------------------------------ %package routing Summary: Symfony Routing Component URL: http://symfony.com/doc/current/components/routing/index.html Group: Development/Libraries # composer.json: optional Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/expression-language) = %{version} Requires: php-composer(%{composer_vendor}/yaml) = %{version} Requires: php-composer(doctrine/annotations) >= %{doctrine_annotations_min_ver} Requires: php-composer(doctrine/annotations) < %{doctrine_annotations_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre Requires: php-reflection Requires: php-spl Requires: php-tokenizer # Composer Provides: php-composer(%{composer_vendor}/routing) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Routing) = %{version} # Rename Obsoletes: %{name}2-Routing < %{version} Provides: %{name}2-Routing = %{version} %description routing The Routing Component maps an HTTP request to a set of configuration variables. # ------------------------------------------------------------------------------ %package security Summary: Symfony Security Component URL: http://symfony.com/doc/current/components/security/index.html Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version} Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} # composer.json: optional Requires: php-composer(%{composer_vendor}/class-loader) = %{version} Requires: php-composer(%{composer_vendor}/expression-language) = %{version} Requires: php-composer(%{composer_vendor}/finder) = %{version} Requires: php-composer(%{composer_vendor}/routing) = %{version} Requires: php-composer(%{composer_vendor}/validator) = %{version} Requires: php-composer(doctrine/dbal) >= %{doctrine_dbal_min_ver} Requires: php-composer(doctrine/dbal) < %{doctrine_dbal_max_ver} %if "%{php_version}" < "5.5" Requires: php-password-compat >= %{password_compat_min_ver} Requires: php-password-compat < %{password_compat_max_ver} %endif # phpcompatinfo (computed from version 2.7.1) Requires: php-date Requires: php-hash Requires: php-json Requires: php-mbstring Requires: php-openssl Requires: php-pcre Requires: php-reflection Requires: php-session Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/security) = %{version} Provides: php-composer(%{composer_vendor}/security-acl) = %{version} Provides: php-composer(%{composer_vendor}/security-core) = %{version} Provides: php-composer(%{composer_vendor}/security-csrf) = %{version} Provides: php-composer(%{composer_vendor}/security-http) = %{version} # Composer sub-packages Provides: %{name}-security-acl = %{version}-%{release} Provides: %{name}-security-core = %{version}-%{release} Provides: %{name}-security-csrf = %{version}-%{release} Provides: %{name}-security-http = %{version}-%{release} # PEAR Provides: php-pear(%{pear_channel}/Security) = %{version} # Rename Obsoletes: %{name}2-Security < %{version} Provides: %{name}2-Security = %{version} %description security The Security Component provides a complete security system for your web application. It ships with facilities for authenticating using HTTP basic or digest authentication, interactive form login or X.509 certificate login, but also allows you to implement your own authentication strategies. Furthermore, the component provides ways to authorize authenticated users based on their roles, and it contains an advanced ACL system. # ------------------------------------------------------------------------------ %package serializer Summary: Symfony Serializer Component URL: http://symfony.com/doc/current/components/serializer.html Group: Development/Libraries # composer.json: optional Requires: php-composer(%{composer_vendor}/yaml) = %{version} Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/property-access) = %{version} Requires: php-composer(doctrine/annotations) >= %{doctrine_annotations_min_ver} Requires: php-composer(doctrine/annotations) < %{doctrine_annotations_max_ver} Requires: php-composer(doctrine/cache) >= %{doctrine_cache_min_ver} Requires: php-composer(doctrine/cache) < %{doctrine_cache_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-dom Requires: php-json Requires: php-libxml Requires: php-pcre Requires: php-reflection Requires: php-simplexml Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/serializer) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Serializer) = %{version} # Rename Obsoletes: %{name}2-Serializer < %{version} Provides: %{name}2-Serializer = %{version} %description serializer The Serializer Component is meant to be used to turn objects into a specific format (XML, JSON, Yaml, ...) and the other way around. # ------------------------------------------------------------------------------ %package stopwatch Summary: Symfony Stopwatch Component URL: http://symfony.com/doc/current/components/stopwatch.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/stopwatch) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Stopwatch) = %{version} # Rename Obsoletes: %{name}2-Stopwatch < %{version} Provides: %{name}2-Stopwatch = %{version} %description stopwatch Stopwatch component provides a way to profile code. # ------------------------------------------------------------------------------ %package templating Summary: Symfony Templating Component URL: http://symfony.com/doc/current/components/templating.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # composer.json: optional Requires: php-composer(psr/log) >= %{psrlog_min_ver} Requires: php-composer(psr/log) < %{psrlog_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-hash Requires: php-iconv Requires: php-mbstring Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/templating) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Templating) = %{version} # Rename Obsoletes: %{name}2-Templating < %{version} Provides: %{name}2-Templating = %{version} %description templating Templating provides all the tools needed to build any kind of template system. It provides an infrastructure to load template files and optionally monitor them for changes. It also provides a concrete template engine implementation using PHP with additional tools for escaping and separating templates into blocks and layouts. # ------------------------------------------------------------------------------ %package translation Summary: Symfony Translation Component Group: Development/Libraries # composer.json: optional Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/yaml) = %{version} Requires: php-composer(psr/log) >= %{psrlog_min_ver} Requires: php-composer(psr/log) < %{psrlog_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-dom Requires: php-iconv Requires: php-intl Requires: php-json Requires: php-libxml Requires: php-mbstring Requires: php-pcre Requires: php-simplexml Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/translation) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Translation) = %{version} # Rename Obsoletes: %{name}2-Translation < %{version} Provides: %{name}2-Translation = %{version} %description translation Translation provides tools for loading translation files and generating translated strings from these including support for pluralization. # ------------------------------------------------------------------------------ %package validator Summary: Symfony Validator Component Group: Development/Libraries # composer.json Requires: php-composer(%{composer_vendor}/translation) = %{version} # composer.json: optional Requires: php-composer(%{composer_vendor}/config) = %{version} Requires: php-composer(%{composer_vendor}/expression-language) = %{version} Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} Requires: php-composer(%{composer_vendor}/intl) = %{version} Requires: php-composer(%{composer_vendor}/property-access) = %{version} Requires: php-composer(%{composer_vendor}/yaml) = %{version} Requires: php-composer(doctrine/annotations) >= %{doctrine_annotations_min_ver} Requires: php-composer(doctrine/annotations) < %{doctrine_annotations_max_ver} Requires: php-composer(doctrine/cache) >= %{doctrine_cache_min_ver} Requires: php-composer(doctrine/cache) < %{doctrine_cache_max_ver} Requires: php-composer(egulias/email-validator) >= %{email_validator_min_ver} Requires: php-composer(egulias/email-validator) < %{email_validator_max_ver} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-date Requires: php-filter Requires: php-iconv Requires: php-intl Requires: php-mbstring Requires: php-pcre Requires: php-reflection Requires: php-simplexml Requires: php-spl Requires: php-xml # Composer Provides: php-composer(%{composer_vendor}/validator) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Validator) = %{version} # Rename Obsoletes: %{name}2-Validator < %{version} Provides: %{name}2-Validator = %{version} %description validator This component is based on the JSR-303 Bean Validation specification and enables specifying validation rules for classes using XML, YAML, PHP or annotations, which can then be checked against instances of these classes. Optional: * APC (php-pecl-apcu) # ------------------------------------------------------------------------------ %package var-dumper Group: Development/Libraries Summary: Symfony mechanism for exploring and dumping PHP variables Requires: %{name}-common = %{version}-%{release} # composer.json: optional # ext-symfony_debug # phpcompatinfo (computed from version 2.7.1) Requires: php-curl Requires: php-dom Requires: php-gd Requires: php-iconv Requires: php-json Requires: php-mbstring Requires: php-pcre Requires: php-posix Requires: php-reflection Requires: php-spl Requires: php-xml # Composer Provides: php-composer(%{composer_vendor}/var-dumper) = %{version} %description var-dumper This component provides a mechanism that allows exploring then dumping any PHP variable. It handles scalars, objects and resources properly, taking hard and soft references into account. More than being immune to infinite recursion problems, it allows dumping where references link to each other. It explores recursive structures using a breadth-first algorithm. The component exposes all the parts involved in the different steps of cloning then dumping a PHP variable, while applying size limits and having specialized output formats and methods. Optional: * AMQP (php-pecl-amqp) * MySQL (php-mysql) Required for Symfony\Component\VarDumper\Caster\ResourceCaster::castMysqlLink() # ------------------------------------------------------------------------------ %package yaml Summary: Symfony Yaml Component URL: http://symfony.com/doc/current/components/yaml/index.html Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} # phpcompatinfo (computed from version 2.7.1) Requires: php-ctype Requires: php-date Requires: php-json Requires: php-mbstring Requires: php-pcre Requires: php-spl # Composer Provides: php-composer(%{composer_vendor}/yaml) = %{version} # PEAR Provides: php-pear(%{pear_channel}/Yaml) = %{version} # Rename Obsoletes: %{name}2-Yaml < %{version} Provides: %{name}2-Yaml = %{version} %description yaml The YAML Component loads and dumps YAML files. # ############################################################################## %prep %setup -qn %{github_name}-%{github_commit} %patch0 -p1 rm -f src/Symfony/Component/HttpFoundation/Request.php.orig : Remove unnecessary files find src -name '.git*' -delete : Create autoloader (cat <<'AUTOLOAD' register(); } if (!array_key_exists('Symfony\\', $fedoraClassLoader->getPrefixes())) { $fedoraClassLoader->addPrefix('Symfony\\', dirname(__DIR__)); } if (!interface_exists('SessionHandlerInterface', false) && file_exists(__DIR__ . '/Component/HttpFoundation/Resources/stubs/SessionHandlerInterface.php')) { require_once __DIR__ . '/Component/HttpFoundation/Resources/stubs/SessionHandlerInterface.php'; } if (file_exists('%{pear_phpdir}/Swift') && !array_key_exists('Swift_', $fedoraClassLoader->getPrefixes())) { $fedoraClassLoader->addPrefix('Swift_', '%{pear_phpdir}/Swift'); } $fedoraClassLoader->setUseIncludePath(true); return $fedoraClassLoader; AUTOLOAD ) | tee src/Symfony/autoload.php : Create autoloader softlinks for each bridge/bundle/component for PKG in src/Symfony/*/* do ln -s ../../autoload.php $PKG/autoload.php # PEAR compat ln -s ../../autoload.php $PKG/autoloader.php done %if %{with_tests} : Skip tests known to fail sed -e 's#function testItUsesTheConfiguredEntryPointWhenUsingUnknownCredentials#function SKIP_testItUsesTheConfiguredEntryPointWhenUsingUnknownCredentials#' \ -i src/Symfony/Bundle/SecurityBundle/Tests/Functional/FirewallEntryPointTest.php sed -e 's#function testHandleClassNotFound#function SKIP_testHandleClassNotFound#' \ -e 's#function testLegacyHandleClassNotFound#function SKIP_testLegacyHandleClassNotFound#' \ -i src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php sed -e 's#function testCopyForOriginUrlsAndExistingLocalFileDefaultsToNotCopy#function SKIP_testCopyForOriginUrlsAndExistingLocalFileDefaultsToNotCopy#' \ -i src/Symfony/Component/Filesystem/Tests/FilesystemTest.php sed -e 's#function getScript#function SKIP_getScript#' \ -i src/Symfony/Component/HttpKernel/Tests/Fixtures/TestClient.php sed -e 's#function testFormatWithTimezoneFromEnvironmentVariable#function SKIP_testFormatWithTimezoneFromEnvironmentVariable#' \ -i src/Symfony/Component/Intl/Tests/DateFormatter/Verification/IntlDateFormatterTest.php sed -e 's#function testTTYCommand#function SKIP_testTTYCommand#' \ -e 's#function testTTYCommandExitCode#function SKIP_testTTYCommandExitCode#' \ -i src/Symfony/Component/Process/Tests/AbstractProcessTest.php sed -e 's#function testTTYCommandExitCode#function SKIP_testTTYCommandExitCode#' \ -i src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php sed -e 's#function testSpecialVars56#function SKIP_testSpecialVars56#' \ -e 's#function testGlobalsNoExt#function SKIP_testGlobalsNoExt#' \ -e 's#function testBuggyRefs#function SKIP_testBuggyRefs#' \ -i src/Symfony/Component/VarDumper/Tests/CliDumperTest.php rm -f \ src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ProfilerTest.php \ src/Symfony/Bundle/SecurityBundle/Tests/Functional/CsrfFormLoginTest.php \ src/Symfony/Bundle/SecurityBundle/Tests/Functional/FormLoginTest.php \ src/Symfony/Bundle/SecurityBundle/Tests/Functional/LocalizedRoutesAsPathTest.php \ src/Symfony/Bundle/SecurityBundle/Tests/Functional/SecurityRoutingIntegrationTest.php \ src/Symfony/Bundle/SecurityBundle/Tests/Functional/SwitchUserTest.php \ src/Symfony/Component/Form/Tests/Extension/Csrf/CsrfProvider/LegacyDefaultCsrfProviderTest.php \ src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php \ src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/NativeSessionHandlerTest.php \ src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/NullSessionHandlerTest.php \ src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php \ src/Symfony/Component/HttpFoundation/Tests/Session/Storage/PhpBridgeSessionStorageTest.php \ src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/AbstractProxyTest.php \ src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/SessionHandlerProxyTest.php \ src/Symfony/Component/Security/Csrf/Tests/TokenStorage/NativeSessionTokenStorageTest.php %if 0%{?el7} sed -e 's#function testCreateFromChoicesSameChoices#function SKIP_testCreateFromChoicesSameChoices#' \ -e 's#function testCreateFromFlippedChoicesSameChoices#function SKIP_testCreateFromFlippedChoicesSameChoices#' \ -i src/Symfony/Component/Form/Tests/ChoiceList/Factory/CachingFactoryDecoratorTest.php %endif %endif %build # Empty build section, nothing required %install mkdir -p %{buildroot}%{symfony_dir} cp -rp src/Symfony/* %{buildroot}%{symfony_dir}/ # Symlink main package docs to common sub-package docs mkdir -p %{buildroot}%{_docdir} %if 0%{?fedora} >= 20 ln -s %{name}-common %{buildroot}%{_docdir}/%{name} %else ln -s %{name}-common-%{version} %{buildroot}%{_docdir}/%{name}-%{version} %endif %check %if %{with_tests} : Hack PHPUnit Autoloader -- use current symfony instead of system one if [ -d %{phpdir}/PHPUnit ]; then mkdir PHPUnit sed -e '/Symfony/s:\$vendorDir:"%{buildroot}%{phpdir}":' \ -e 's:path = dirname(__FILE__):path = "%{phpdir}/PHPUnit":' \ %{phpdir}/PHPUnit/Autoload.php > PHPUnit/Autoload.php fi : Modify PHPUnit config sed 's#./src#%{buildroot}%{phpdir}#' phpunit.xml.dist > phpunit.xml : Create tests bootstrap (cat <<'BOOTSTRAP' >>>>>>>>>>>>>>>>>>>>>> ${PKG}\n" %{_bindir}/phpunit \ --exclude-group benchmark,intl-data,tty \ --bootstrap bootstrap.php \ $PKG || RET=1 done exit $RET %else : Tests skipped %endif %{!?_licensedir:%global license %%doc} %files %defattr(-,root,root,-) %if 0%{?fedora} >= 20 %doc %{_docdir}/%{name} %else %doc %{_docdir}/%{name}-%{version} %endif # ############################################################################## %files common %defattr(-,root,root,-) %doc *.md composer.json %license LICENSE %dir %{symfony_dir} %{symfony_dir}/autoload.php %dir %{symfony_dir}/Bridge %dir %{symfony_dir}/Bundle %dir %{symfony_dir}/Component # ------------------------------------------------------------------------------ %files doctrine-bridge %defattr(-,root,root,-) %license src/Symfony/Bridge/Doctrine/LICENSE %doc src/Symfony/Bridge/Doctrine/*.md %doc src/Symfony/Bridge/Doctrine/composer.json %{symfony_dir}/Bridge/Doctrine %exclude %{symfony_dir}/Bridge/Doctrine/LICENSE %exclude %{symfony_dir}/Bridge/Doctrine/*.md %exclude %{symfony_dir}/Bridge/Doctrine/composer.json %exclude %{symfony_dir}/Bridge/Doctrine/phpunit.* %exclude %{symfony_dir}/Bridge/Doctrine/Tests # ------------------------------------------------------------------------------ %files monolog-bridge %defattr(-,root,root,-) %license src/Symfony/Bridge/Monolog/LICENSE %doc src/Symfony/Bridge/Monolog/*.md %doc src/Symfony/Bridge/Monolog/composer.json %{symfony_dir}/Bridge/Monolog %exclude %{symfony_dir}/Bridge/Monolog/LICENSE %exclude %{symfony_dir}/Bridge/Monolog/*.md %exclude %{symfony_dir}/Bridge/Monolog/composer.json %exclude %{symfony_dir}/Bridge/Monolog/phpunit.* %exclude %{symfony_dir}/Bridge/Monolog/Tests # ------------------------------------------------------------------------------ %files phpunit-bridge %defattr(-,root,root,-) %license src/Symfony/Bridge/PhpUnit/LICENSE %doc src/Symfony/Bridge/PhpUnit/*.md %doc src/Symfony/Bridge/PhpUnit/composer.json %{symfony_dir}/Bridge/PhpUnit %exclude %{symfony_dir}/Bridge/PhpUnit/LICENSE %exclude %{symfony_dir}/Bridge/PhpUnit/*.md %exclude %{symfony_dir}/Bridge/PhpUnit/composer.json %exclude %{symfony_dir}/Bridge/PhpUnit/phpunit.* #%%exclude %%{symfony_dir}/Bridge/PhpUnit/Tests # ------------------------------------------------------------------------------ %files proxy-manager-bridge %defattr(-,root,root,-) %license src/Symfony/Bridge/ProxyManager/LICENSE %doc src/Symfony/Bridge/ProxyManager/*.md %doc src/Symfony/Bridge/ProxyManager/composer.json %{symfony_dir}/Bridge/ProxyManager %exclude %{symfony_dir}/Bridge/ProxyManager/LICENSE %exclude %{symfony_dir}/Bridge/ProxyManager/*.md %exclude %{symfony_dir}/Bridge/ProxyManager/composer.json %exclude %{symfony_dir}/Bridge/ProxyManager/phpunit.* %exclude %{symfony_dir}/Bridge/ProxyManager/Tests # ------------------------------------------------------------------------------ %files swiftmailer-bridge %defattr(-,root,root,-) %license src/Symfony/Bridge/Swiftmailer/LICENSE %doc src/Symfony/Bridge/Swiftmailer/*.md %doc src/Symfony/Bridge/Swiftmailer/composer.json %{symfony_dir}/Bridge/Swiftmailer %exclude %{symfony_dir}/Bridge/Swiftmailer/LICENSE %exclude %{symfony_dir}/Bridge/Swiftmailer/*.md %exclude %{symfony_dir}/Bridge/Swiftmailer/composer.json #%%exclude %%{symfony_dir}/Bridge/Swiftmailer/phpunit.* #%%exclude %%{symfony_dir}/Bridge/Swiftmailer/Tests # ------------------------------------------------------------------------------ %files twig-bridge %defattr(-,root,root,-) %license src/Symfony/Bridge/Twig/LICENSE %doc src/Symfony/Bridge/Twig/*.md %doc src/Symfony/Bridge/Twig/composer.json %{symfony_dir}/Bridge/Twig %exclude %{symfony_dir}/Bridge/Twig/LICENSE %exclude %{symfony_dir}/Bridge/Twig/*.md %exclude %{symfony_dir}/Bridge/Twig/composer.json %exclude %{symfony_dir}/Bridge/Twig/phpunit.* %exclude %{symfony_dir}/Bridge/Twig/Tests # ------------------------------------------------------------------------------ %files debug-bundle %defattr(-,root,root,-) #%%doc src/Symfony/Bundle/DebugBundle/*.md %doc src/Symfony/Bundle/DebugBundle/composer.json %license src/Symfony/Bundle/DebugBundle/Resources/meta/LICENSE %{symfony_dir}/Bundle/DebugBundle #%%exclude %%{symfony_dir}/Bundle/DebugBundle/*.md %exclude %{symfony_dir}/Bundle/DebugBundle/composer.json %exclude %{symfony_dir}/Bundle/DebugBundle/phpunit.* %exclude %{symfony_dir}/Bundle/DebugBundle/Tests %exclude %{symfony_dir}/Bundle/DebugBundle/Resources/meta/LICENSE # ------------------------------------------------------------------------------ %files framework-bundle %defattr(-,root,root,-) %doc src/Symfony/Bundle/FrameworkBundle/*.md %doc src/Symfony/Bundle/FrameworkBundle/composer.json %license src/Symfony/Bundle/FrameworkBundle/Resources/meta/LICENSE %{symfony_dir}/Bundle/FrameworkBundle %exclude %{symfony_dir}/Bundle/FrameworkBundle/*.md %exclude %{symfony_dir}/Bundle/FrameworkBundle/composer.json %exclude %{symfony_dir}/Bundle/FrameworkBundle/phpunit.* %exclude %{symfony_dir}/Bundle/FrameworkBundle/Tests %exclude %{symfony_dir}/Bundle/FrameworkBundle/Resources/meta/LICENSE # ------------------------------------------------------------------------------ %files security-bundle %defattr(-,root,root,-) %doc src/Symfony/Bundle/SecurityBundle/*.md %doc src/Symfony/Bundle/SecurityBundle/composer.json %license src/Symfony/Bundle/SecurityBundle/Resources/meta/LICENSE %{symfony_dir}/Bundle/SecurityBundle %exclude %{symfony_dir}/Bundle/SecurityBundle/*.md %exclude %{symfony_dir}/Bundle/SecurityBundle/composer.json %exclude %{symfony_dir}/Bundle/SecurityBundle/phpunit.* %exclude %{symfony_dir}/Bundle/SecurityBundle/Tests %exclude %{symfony_dir}/Bundle/SecurityBundle/Resources/meta/LICENSE # ------------------------------------------------------------------------------ %files twig-bundle %defattr(-,root,root,-) %doc src/Symfony/Bundle/TwigBundle/*.md %doc src/Symfony/Bundle/TwigBundle/composer.json %license src/Symfony/Bundle/TwigBundle/Resources/meta/LICENSE %{symfony_dir}/Bundle/TwigBundle %exclude %{symfony_dir}/Bundle/TwigBundle/*.md %exclude %{symfony_dir}/Bundle/TwigBundle/composer.json %exclude %{symfony_dir}/Bundle/TwigBundle/phpunit.* %exclude %{symfony_dir}/Bundle/TwigBundle/Tests %exclude %{symfony_dir}/Bundle/TwigBundle/Resources/meta/LICENSE # ------------------------------------------------------------------------------ %files web-profiler-bundle %defattr(-,root,root,-) %doc src/Symfony/Bundle/WebProfilerBundle/*.md %doc src/Symfony/Bundle/WebProfilerBundle/composer.json %license src/Symfony/Bundle/WebProfilerBundle/Resources/ICONS_LICENSE.txt %license src/Symfony/Bundle/WebProfilerBundle/Resources/meta/LICENSE %{symfony_dir}/Bundle/WebProfilerBundle %exclude %{symfony_dir}/Bundle/WebProfilerBundle/*.md %exclude %{symfony_dir}/Bundle/WebProfilerBundle/composer.json %exclude %{symfony_dir}/Bundle/WebProfilerBundle/phpunit.* %exclude %{symfony_dir}/Bundle/WebProfilerBundle/Tests %exclude %{symfony_dir}/Bundle/WebProfilerBundle/Resources/ICONS_LICENSE.txt %exclude %{symfony_dir}/Bundle/WebProfilerBundle/Resources/meta/LICENSE # ------------------------------------------------------------------------------ %files asset %defattr(-,root,root,-) %license src/Symfony/Component/Asset/LICENSE %doc src/Symfony/Component/Asset/*.md %doc src/Symfony/Component/Asset/composer.json %{symfony_dir}/Component/Asset %exclude %{symfony_dir}/Component/Asset/LICENSE %exclude %{symfony_dir}/Component/Asset/*.md %exclude %{symfony_dir}/Component/Asset/composer.json %exclude %{symfony_dir}/Component/Asset/phpunit.* %exclude %{symfony_dir}/Component/Asset/Tests # ------------------------------------------------------------------------------ %files browser-kit %defattr(-,root,root,-) %license src/Symfony/Component/BrowserKit/LICENSE %doc src/Symfony/Component/BrowserKit/*.md %doc src/Symfony/Component/BrowserKit/composer.json %{symfony_dir}/Component/BrowserKit %exclude %{symfony_dir}/Component/BrowserKit/LICENSE %exclude %{symfony_dir}/Component/BrowserKit/*.md %exclude %{symfony_dir}/Component/BrowserKit/composer.json %exclude %{symfony_dir}/Component/BrowserKit/phpunit.* %exclude %{symfony_dir}/Component/BrowserKit/Tests # ------------------------------------------------------------------------------ %files class-loader %defattr(-,root,root,-) %license src/Symfony/Component/ClassLoader/LICENSE %doc src/Symfony/Component/ClassLoader/*.md %doc src/Symfony/Component/ClassLoader/composer.json %{symfony_dir}/Component/ClassLoader %exclude %{symfony_dir}/Component/ClassLoader/LICENSE %exclude %{symfony_dir}/Component/ClassLoader/*.md %exclude %{symfony_dir}/Component/ClassLoader/composer.json %exclude %{symfony_dir}/Component/ClassLoader/phpunit.* %exclude %{symfony_dir}/Component/ClassLoader/Tests # ------------------------------------------------------------------------------ %files config %defattr(-,root,root,-) %license src/Symfony/Component/Config/LICENSE %doc src/Symfony/Component/Config/*.md %doc src/Symfony/Component/Config/composer.json %{symfony_dir}/Component/Config %exclude %{symfony_dir}/Component/Config/LICENSE %exclude %{symfony_dir}/Component/Config/*.md %exclude %{symfony_dir}/Component/Config/composer.json %exclude %{symfony_dir}/Component/Config/phpunit.* %exclude %{symfony_dir}/Component/Config/Tests # ------------------------------------------------------------------------------ %files console %defattr(-,root,root,-) %license src/Symfony/Component/Console/LICENSE %doc src/Symfony/Component/Console/*.md %doc src/Symfony/Component/Console/composer.json %{symfony_dir}/Component/Console %exclude %{symfony_dir}/Component/Console/LICENSE %exclude %{symfony_dir}/Component/Console/*.md %exclude %{symfony_dir}/Component/Console/composer.json %exclude %{symfony_dir}/Component/Console/phpunit.* %exclude %{symfony_dir}/Component/Console/Tests # ------------------------------------------------------------------------------ %files css-selector %defattr(-,root,root,-) %license src/Symfony/Component/CssSelector/LICENSE %doc src/Symfony/Component/CssSelector/*.md %doc src/Symfony/Component/CssSelector/composer.json %{symfony_dir}/Component/CssSelector %exclude %{symfony_dir}/Component/CssSelector/LICENSE %exclude %{symfony_dir}/Component/CssSelector/*.md %exclude %{symfony_dir}/Component/CssSelector/composer.json %exclude %{symfony_dir}/Component/CssSelector/phpunit.* %exclude %{symfony_dir}/Component/CssSelector/Tests # ------------------------------------------------------------------------------ %files debug %defattr(-,root,root,-) %license src/Symfony/Component/Debug/LICENSE %doc src/Symfony/Component/Debug/*.md %doc src/Symfony/Component/Debug/composer.json %{symfony_dir}/Component/Debug %exclude %{symfony_dir}/Component/Debug/LICENSE %exclude %{symfony_dir}/Component/Debug/*.md %exclude %{symfony_dir}/Component/Debug/composer.json %exclude %{symfony_dir}/Component/Debug/phpunit.* %exclude %{symfony_dir}/Component/Debug/Tests %exclude %{symfony_dir}/Component/Debug/Resources/ext # ------------------------------------------------------------------------------ %files dependency-injection %defattr(-,root,root,-) %license src/Symfony/Component/DependencyInjection/LICENSE %doc src/Symfony/Component/DependencyInjection/*.md %doc src/Symfony/Component/DependencyInjection/composer.json %{symfony_dir}/Component/DependencyInjection %exclude %{symfony_dir}/Component/DependencyInjection/LICENSE %exclude %{symfony_dir}/Component/DependencyInjection/*.md %exclude %{symfony_dir}/Component/DependencyInjection/composer.json %exclude %{symfony_dir}/Component/DependencyInjection/phpunit.* %exclude %{symfony_dir}/Component/DependencyInjection/Tests # ------------------------------------------------------------------------------ %files dom-crawler %defattr(-,root,root,-) %license src/Symfony/Component/DomCrawler/LICENSE %doc src/Symfony/Component/DomCrawler/*.md %doc src/Symfony/Component/DomCrawler/composer.json %{symfony_dir}/Component/DomCrawler %exclude %{symfony_dir}/Component/DomCrawler/LICENSE %exclude %{symfony_dir}/Component/DomCrawler/*.md %exclude %{symfony_dir}/Component/DomCrawler/composer.json %exclude %{symfony_dir}/Component/DomCrawler/phpunit.* %exclude %{symfony_dir}/Component/DomCrawler/Tests # ------------------------------------------------------------------------------ %files event-dispatcher %defattr(-,root,root,-) %license src/Symfony/Component/EventDispatcher/LICENSE %doc src/Symfony/Component/EventDispatcher/*.md %doc src/Symfony/Component/EventDispatcher/composer.json %{symfony_dir}/Component/EventDispatcher %exclude %{symfony_dir}/Component/EventDispatcher/LICENSE %exclude %{symfony_dir}/Component/EventDispatcher/*.md %exclude %{symfony_dir}/Component/EventDispatcher/composer.json %exclude %{symfony_dir}/Component/EventDispatcher/phpunit.* %exclude %{symfony_dir}/Component/EventDispatcher/Tests # ------------------------------------------------------------------------------ %files expression-language %defattr(-,root,root,-) %license src/Symfony/Component/ExpressionLanguage/LICENSE %doc src/Symfony/Component/ExpressionLanguage/*.md %doc src/Symfony/Component/ExpressionLanguage/composer.json %{symfony_dir}/Component/ExpressionLanguage %exclude %{symfony_dir}/Component/ExpressionLanguage/LICENSE %exclude %{symfony_dir}/Component/ExpressionLanguage/*.md %exclude %{symfony_dir}/Component/ExpressionLanguage/composer.json %exclude %{symfony_dir}/Component/ExpressionLanguage/phpunit.* %exclude %{symfony_dir}/Component/ExpressionLanguage/Tests # ------------------------------------------------------------------------------ %files filesystem %defattr(-,root,root,-) %license src/Symfony/Component/Filesystem/LICENSE %doc src/Symfony/Component/Filesystem/*.md %doc src/Symfony/Component/Filesystem/composer.json %{symfony_dir}/Component/Filesystem %exclude %{symfony_dir}/Component/Filesystem/LICENSE %exclude %{symfony_dir}/Component/Filesystem/*.md %exclude %{symfony_dir}/Component/Filesystem/composer.json %exclude %{symfony_dir}/Component/Filesystem/phpunit.* %exclude %{symfony_dir}/Component/Filesystem/Tests # ------------------------------------------------------------------------------ %files finder %defattr(-,root,root,-) %license src/Symfony/Component/Finder/LICENSE %doc src/Symfony/Component/Finder/*.md %doc src/Symfony/Component/Finder/composer.json %{symfony_dir}/Component/Finder %exclude %{symfony_dir}/Component/Finder/LICENSE %exclude %{symfony_dir}/Component/Finder/*.md %exclude %{symfony_dir}/Component/Finder/composer.json %exclude %{symfony_dir}/Component/Finder/phpunit.* %exclude %{symfony_dir}/Component/Finder/Tests # ------------------------------------------------------------------------------ %files form %defattr(-,root,root,-) %license src/Symfony/Component/Form/LICENSE %doc src/Symfony/Component/Form/*.md %doc src/Symfony/Component/Form/composer.json %{symfony_dir}/Component/Form %exclude %{symfony_dir}/Component/Form/LICENSE %exclude %{symfony_dir}/Component/Form/*.md %exclude %{symfony_dir}/Component/Form/composer.json %exclude %{symfony_dir}/Component/Form/phpunit.* %exclude %{symfony_dir}/Component/Form/Tests # ------------------------------------------------------------------------------ %files http-foundation %defattr(-,root,root,-) %license src/Symfony/Component/HttpFoundation/LICENSE %doc src/Symfony/Component/HttpFoundation/*.md %doc src/Symfony/Component/HttpFoundation/composer.json %{symfony_dir}/Component/HttpFoundation %exclude %{symfony_dir}/Component/HttpFoundation/LICENSE %exclude %{symfony_dir}/Component/HttpFoundation/*.md %exclude %{symfony_dir}/Component/HttpFoundation/composer.json %exclude %{symfony_dir}/Component/HttpFoundation/phpunit.* %exclude %{symfony_dir}/Component/HttpFoundation/Tests # ------------------------------------------------------------------------------ %files http-kernel %defattr(-,root,root,-) %license src/Symfony/Component/HttpKernel/LICENSE %doc src/Symfony/Component/HttpKernel/*.md %doc src/Symfony/Component/HttpKernel/composer.json %{symfony_dir}/Component/HttpKernel %exclude %{symfony_dir}/Component/HttpKernel/LICENSE %exclude %{symfony_dir}/Component/HttpKernel/*.md %exclude %{symfony_dir}/Component/HttpKernel/composer.json %exclude %{symfony_dir}/Component/HttpKernel/phpunit.* %exclude %{symfony_dir}/Component/HttpKernel/Tests # ------------------------------------------------------------------------------ %files intl %defattr(-,root,root,-) %license src/Symfony/Component/Intl/LICENSE %doc src/Symfony/Component/Intl/*.md %doc src/Symfony/Component/Intl/composer.json %{symfony_dir}/Component/Intl %exclude %{symfony_dir}/Component/Intl/LICENSE %exclude %{symfony_dir}/Component/Intl/*.md %exclude %{symfony_dir}/Component/Intl/composer.json %exclude %{symfony_dir}/Component/Intl/phpunit.* %exclude %{symfony_dir}/Component/Intl/Tests # ------------------------------------------------------------------------------ %files locale %defattr(-,root,root,-) %license src/Symfony/Component/Locale/LICENSE %doc src/Symfony/Component/Locale/*.md %doc src/Symfony/Component/Locale/composer.json %{symfony_dir}/Component/Locale %exclude %{symfony_dir}/Component/Locale/LICENSE %exclude %{symfony_dir}/Component/Locale/*.md %exclude %{symfony_dir}/Component/Locale/composer.json %exclude %{symfony_dir}/Component/Locale/phpunit.* %exclude %{symfony_dir}/Component/Locale/Tests # ------------------------------------------------------------------------------ %files options-resolver %defattr(-,root,root,-) %license src/Symfony/Component/OptionsResolver/LICENSE %doc src/Symfony/Component/OptionsResolver/*.md %doc src/Symfony/Component/OptionsResolver/composer.json %{symfony_dir}/Component/OptionsResolver %exclude %{symfony_dir}/Component/OptionsResolver/LICENSE %exclude %{symfony_dir}/Component/OptionsResolver/*.md %exclude %{symfony_dir}/Component/OptionsResolver/composer.json %exclude %{symfony_dir}/Component/OptionsResolver/phpunit.* %exclude %{symfony_dir}/Component/OptionsResolver/Tests # ------------------------------------------------------------------------------ %files process %defattr(-,root,root,-) %license src/Symfony/Component/Process/LICENSE %doc src/Symfony/Component/Process/*.md %doc src/Symfony/Component/Process/composer.json %{symfony_dir}/Component/Process %exclude %{symfony_dir}/Component/Process/LICENSE %exclude %{symfony_dir}/Component/Process/*.md %exclude %{symfony_dir}/Component/Process/composer.json %exclude %{symfony_dir}/Component/Process/phpunit.* %exclude %{symfony_dir}/Component/Process/Tests # ------------------------------------------------------------------------------ %files property-access %defattr(-,root,root,-) %license src/Symfony/Component/PropertyAccess/LICENSE %doc src/Symfony/Component/PropertyAccess/*.md %doc src/Symfony/Component/PropertyAccess/composer.json %{symfony_dir}/Component/PropertyAccess %exclude %{symfony_dir}/Component/PropertyAccess/LICENSE %exclude %{symfony_dir}/Component/PropertyAccess/*.md %exclude %{symfony_dir}/Component/PropertyAccess/composer.json %exclude %{symfony_dir}/Component/PropertyAccess/phpunit.* %exclude %{symfony_dir}/Component/PropertyAccess/Tests # ------------------------------------------------------------------------------ %files routing %defattr(-,root,root,-) %license src/Symfony/Component/Routing/LICENSE %doc src/Symfony/Component/Routing/*.md %doc src/Symfony/Component/Routing/composer.json %{symfony_dir}/Component/Routing %exclude %{symfony_dir}/Component/Routing/LICENSE %exclude %{symfony_dir}/Component/Routing/*.md %exclude %{symfony_dir}/Component/Routing/composer.json %exclude %{symfony_dir}/Component/Routing/phpunit.* %exclude %{symfony_dir}/Component/Routing/Tests # ------------------------------------------------------------------------------ %files security %defattr(-,root,root,-) %license src/Symfony/Component/Security/LICENSE %doc src/Symfony/Component/Security/*.md %doc src/Symfony/Component/Security/composer.json %{symfony_dir}/Component/Security %exclude %{symfony_dir}/Component/Security/LICENSE %exclude %{symfony_dir}/Component/Security/*.md %exclude %{symfony_dir}/Component/Security/composer.json %exclude %{symfony_dir}/Component/Security/phpunit.* %exclude %{symfony_dir}/Component/Security/*/phpunit.* %exclude %{symfony_dir}/Component/Security/Tests %exclude %{symfony_dir}/Component/Security/*/Tests %exclude %{symfony_dir}/Component/Security/*/LICENSE %exclude %{symfony_dir}/Component/Security/*/*.md %exclude %{symfony_dir}/Component/Security/*/composer.json # ------------------------------------------------------------------------------ %files serializer %defattr(-,root,root,-) %license src/Symfony/Component/Serializer/LICENSE %doc src/Symfony/Component/Serializer/*.md %doc src/Symfony/Component/Serializer/composer.json %{symfony_dir}/Component/Serializer %exclude %{symfony_dir}/Component/Serializer/LICENSE %exclude %{symfony_dir}/Component/Serializer/*.md %exclude %{symfony_dir}/Component/Serializer/composer.json %exclude %{symfony_dir}/Component/Serializer/phpunit.* %exclude %{symfony_dir}/Component/Serializer/Tests # ------------------------------------------------------------------------------ %files stopwatch %defattr(-,root,root,-) %license src/Symfony/Component/Stopwatch/LICENSE %doc src/Symfony/Component/Stopwatch/*.md %doc src/Symfony/Component/Stopwatch/composer.json %{symfony_dir}/Component/Stopwatch %exclude %{symfony_dir}/Component/Stopwatch/LICENSE %exclude %{symfony_dir}/Component/Stopwatch/*.md %exclude %{symfony_dir}/Component/Stopwatch/composer.json %exclude %{symfony_dir}/Component/Stopwatch/phpunit.* %exclude %{symfony_dir}/Component/Stopwatch/Tests # ------------------------------------------------------------------------------ %files templating %defattr(-,root,root,-) %license src/Symfony/Component/Templating/LICENSE %doc src/Symfony/Component/Templating/*.md %doc src/Symfony/Component/Templating/composer.json %{symfony_dir}/Component/Templating %exclude %{symfony_dir}/Component/Templating/LICENSE %exclude %{symfony_dir}/Component/Templating/*.md %exclude %{symfony_dir}/Component/Templating/composer.json %exclude %{symfony_dir}/Component/Templating/phpunit.* %exclude %{symfony_dir}/Component/Templating/Tests # ------------------------------------------------------------------------------ %files translation %defattr(-,root,root,-) %license src/Symfony/Component/Translation/LICENSE %doc src/Symfony/Component/Translation/*.md %doc src/Symfony/Component/Translation/composer.json %{symfony_dir}/Component/Translation %exclude %{symfony_dir}/Component/Translation/LICENSE %exclude %{symfony_dir}/Component/Translation/*.md %exclude %{symfony_dir}/Component/Translation/composer.json %exclude %{symfony_dir}/Component/Translation/phpunit.* %exclude %{symfony_dir}/Component/Translation/Tests # ------------------------------------------------------------------------------ %files validator %defattr(-,root,root,-) %license src/Symfony/Component/Validator/LICENSE %doc src/Symfony/Component/Validator/*.md %doc src/Symfony/Component/Validator/composer.json %{symfony_dir}/Component/Validator %exclude %{symfony_dir}/Component/Validator/LICENSE %exclude %{symfony_dir}/Component/Validator/*.md %exclude %{symfony_dir}/Component/Validator/composer.json %exclude %{symfony_dir}/Component/Validator/phpunit.* %exclude %{symfony_dir}/Component/Validator/Tests # ------------------------------------------------------------------------------ %files var-dumper %defattr(-,root,root,-) %license src/Symfony/Component/VarDumper/LICENSE %doc src/Symfony/Component/VarDumper/*.md %doc src/Symfony/Component/VarDumper/composer.json %{symfony_dir}/Component/VarDumper %exclude %{symfony_dir}/Component/VarDumper/LICENSE %exclude %{symfony_dir}/Component/VarDumper/*.md %exclude %{symfony_dir}/Component/VarDumper/composer.json %exclude %{symfony_dir}/Component/VarDumper/phpunit.* %exclude %{symfony_dir}/Component/VarDumper/Tests # ------------------------------------------------------------------------------ %files yaml %defattr(-,root,root,-) %license src/Symfony/Component/Yaml/LICENSE %doc src/Symfony/Component/Yaml/*.md %doc src/Symfony/Component/Yaml/composer.json %{symfony_dir}/Component/Yaml %exclude %{symfony_dir}/Component/Yaml/LICENSE %exclude %{symfony_dir}/Component/Yaml/*.md %exclude %{symfony_dir}/Component/Yaml/composer.json %exclude %{symfony_dir}/Component/Yaml/phpunit.* %exclude %{symfony_dir}/Component/Yaml/Tests # ############################################################################## %changelog * Mon Jul 21 2015 Shawn Iwinski - 2.7.2-3 - Added patch for symfony/psr-http-message-bridge - Removed php-mysql dependency from var-dumper * Mon Jul 13 2015 Remi Collet - 2.7.2-2.1 - drop dependency on sqlite3 on EL-5 * Mon Jul 13 2015 Shawn Iwinski - 2.7.2-1 - Updated to 2.7.2 (RHBZ #1242664) * Sun Jul 05 2015 Shawn Iwinski - 2.7.1-2 - Remove optional bridge and bundle dependencies in dependency-injection and form components. Add optional text to descriptions. * Sat Jul 4 2015 Remi Collet - 2.7.1-2 - dependency-injection: drop option dependency on proxy-manager-bridge * Sat Jun 27 2015 Shawn Iwinski - 2.7.1-1 - Updated to 2.7.1 (RHBZ #1171055) - Added autoloaders * Wed May 27 2015 Remi Collet - 2.5.12-1 - Update to 2.5.12 - security fix for CVE-2015-4050 * Thu Apr 2 2015 Remi Collet - 2.5.11-1 - Update to 2.5.11 - security fix for CVE-2015-2308 and CVE-2015-2309 * Wed Mar 18 2015 Remi Collet - 2.5.10-1 - Update to 2.5.10 * Mon Dec 15 2014 Remi Collet - 2.5.8-1 - Update to 2.5.8 * Thu Nov 20 2014 Shawn Iwinski - 2.5.7-1 - Updated to 2.5.7 (BZ #1166396) - Added php-composer(egulias/email-validator) dependency * Sun Nov 02 2014 Shawn Iwinski - 2.5.6-2 - Exclude "intl-data" test group instead of removing test files * Sun Nov 02 2014 Shawn Iwinski - 2.5.6-1 - Updated to 2.5.6 (BZ #1157502) - "php-twig-Twig" dependency updated to "php-composer(twig/twig)" - Obsoleted php-symfony-icu (data now in intl component) * Mon Sep 29 2014 Remi Collet - 2.5.5-1 - update to 2.5.5 - hack PHPUnit autoloader to not use old system symfony - don't skip any Yaml test * Wed Sep 03 2014 Shawn Iwinski - 2.5.4-1 - Updated to 2.5.4 (CVE-2014-6072, CVE-2014-5245, CVE-2014-4931, CVE-2014-6061, CVE-2014-5244, BZ #1138285) - Removed test files from PropertyAccess and Stopwatch components - Updated skipped tests * Tue Aug 12 2014 Remi Collet - 2.5.3-1 - update to 2.5.3 - fix test bootstrap for PHPUnit 4.2 * Sat Jul 19 2014 Remi Collet - 2.5.2-2 - fix license handling * Fri Jul 18 2014 Shawn Iwinski - 2.5.2-1 - Updated to 2.5.2 (BZ #1100720) - Added php-composer() virtual provides - Updated most dependencies to use available php-composer virtual provides - php-password-compat conditional changed from "0%%{?el6}%%{?el7}" to ""%%{php_version}" < "5.5"" * Sun May 4 2014 Remi Collet 2.4.4-1 - backport 2.4.4 for remi repo * Wed Apr 30 2014 Shawn Iwinski - 2.4.4-1 - Updated to 2.4.4 (BZ #1038134) - Updated Doctrine dependencies - Sub-pkg phpcompatinfo without Tests directory since they are not pkged * Mon Feb 17 2014 Shawn Iwinski - 2.4.2-1 - Updated to 2.4.2 (BZ #1038134) - Re-enabled tests - Added expressionlanguage component sub-pkg - Added provides for security component composer sub-pkgs * Mon Jan 6 2014 Remi Collet 2.3.9-1 - backport 2.3.9 for remi repo * Sun Jan 05 2014 Shawn Iwinski 2.3.9-1 - Updated to 2.3.9 - Conditional %%{?dist} - Minor bash cosmetic changes - Skip additional test relying on external resources - Skip additional el6 test * Tue Dec 17 2013 Remi Collet 2.3.8-1 - Updated to 2.3.8 * Sat Dec 14 2013 Remi Collet 2.3.7-4 - fix PEAR compatibility: add missing "autoloader.php" * Wed Nov 27 2013 Remi Collet 2.3.7-3 - sync with rawhide, build for remi repo * Tue Nov 26 2013 Shawn Iwinski 2.3.7-3 - Fixed several summaries and descriptions ("Symfony2" => "Symfony") * Sat Nov 23 2013 Remi Collet 2.3.7-2 - backport stuff for remi repo * Fri Nov 22 2013 Shawn Iwinski 2.3.7-2 - Renamed from "php-symfony2" to "php-symfony" - Updated main pkg summary - Removed dependency on common sub-pkg for sub-pkgs that require other sub-pkgs - Common sub-pkg obsoletes php-channel-symfony2 - Fixed swiftmailerbridge sub-pkg dependency - Updated %%check to use PHPUnit's "--include-path" option * Sun Nov 17 2013 Shawn Iwinski 2.3.7-1 - Updated to 2.3.7 - Separated icu pkg - Added php-password-compat requires for el6 (PHP < 5.5.0) - common sub-pkg now owns %%{symfony_dir}/{Bridge,Bundle,Component} - Fixed classloader URL * Wed Nov 06 2013 Shawn Iwinski 2.3.6-2 - Updated tests' autoloader - Individual pkg tests instead of one - Skip specific tests - Exclude tty and benchmark test groups - Fix main package doc symlink * Mon Oct 21 2013 Shawn Iwinski 2.3.6-1 - Updated to 2.3.6 - Renamed sub-packages to lowercase * Sat Jul 13 2013 Shawn Iwinski 2.3.1-1 - Initial package