clarify Licenses

This commit is contained in:
Remi Collet 2012-11-09 09:31:19 +01:00
parent 824ffada49
commit 8c24cd5a53

101
php.spec
View File

@ -52,8 +52,11 @@
Summary: PHP scripting language for creating dynamic web sites Summary: PHP scripting language for creating dynamic web sites
Name: php Name: php
Version: 5.4.8 Version: 5.4.8
Release: 5%{?dist} Release: 6%{?dist}
License: PHP # All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
License: PHP and Zend and BSD
Group: Development/Languages Group: Development/Languages
URL: http://www.php.net/ URL: http://www.php.net/
@ -167,6 +170,10 @@ executing PHP scripts, /usr/bin/php, and the CGI interface.
%package fpm %package fpm
Group: Development/Languages Group: Development/Languages
Summary: PHP FastCGI Process Manager Summary: PHP FastCGI Process Manager
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM and fpm are licensed under BSD
License: PHP and Zend and BSD
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
BuildRequires: systemd-units BuildRequires: systemd-units
Requires: systemd-units Requires: systemd-units
@ -188,6 +195,10 @@ any size, especially busier sites.
%package common %package common
Group: Development/Languages Group: Development/Languages
Summary: Common files for PHP Summary: Common files for PHP
# All files licensed under PHP version 3.01, except
# fileinfo is licensed under PHP version 3.0
# regex, libmagic are licensed under BSD
License: PHP and BSD
# ABI/API check - Arch specific # ABI/API check - Arch specific
Provides: php-api = %{apiver}%{isasuffix}, php-zend-abi = %{zendver}%{isasuffix} Provides: php-api = %{apiver}%{isasuffix}, php-zend-abi = %{zendver}%{isasuffix}
Provides: php(api) = %{apiver}%{isasuffix}, php(zend-abi) = %{zendver}%{isasuffix} Provides: php(api) = %{apiver}%{isasuffix}, php(zend-abi) = %{zendver}%{isasuffix}
@ -259,6 +270,8 @@ need to install this package.
%package imap %package imap
Summary: A module for PHP applications that use IMAP Summary: A module for PHP applications that use IMAP
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Obsoletes: mod_php3-imap, stronghold-php-imap Obsoletes: mod_php3-imap, stronghold-php-imap
BuildRequires: krb5-devel, openssl-devel, libc-client-devel BuildRequires: krb5-devel, openssl-devel, libc-client-devel
@ -275,6 +288,8 @@ and the php package.
%package ldap %package ldap
Summary: A module for PHP applications that use LDAP Summary: A module for PHP applications that use LDAP
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Obsoletes: mod_php3-ldap, stronghold-php-ldap Obsoletes: mod_php3-ldap, stronghold-php-ldap
BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
@ -290,6 +305,8 @@ need to install this package in addition to the php package.
%package pdo %package pdo
Summary: A database access abstraction module for PHP applications Summary: A database access abstraction module for PHP applications
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo
# ABI/API check - Arch specific # ABI/API check - Arch specific
@ -306,6 +323,8 @@ databases.
%package mysql %package mysql
Summary: A module for PHP applications that use MySQL databases Summary: A module for PHP applications that use MySQL databases
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release} Requires: php-pdo%{?_isa} = %{version}-%{release}
Provides: php_database Provides: php_database
Provides: php-mysqli = %{version}-%{release} Provides: php-mysqli = %{version}-%{release}
@ -325,6 +344,8 @@ this package and the php package.
%package mysqlnd %package mysqlnd
Summary: A module for PHP applications that use MySQL databases Summary: A module for PHP applications that use MySQL databases
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release} Requires: php-pdo%{?_isa} = %{version}-%{release}
Provides: php_database Provides: php_database
Provides: php-mysql = %{version}-%{release} Provides: php-mysql = %{version}-%{release}
@ -345,6 +366,8 @@ This package use the MySQL Native Driver
%package pgsql %package pgsql
Summary: A PostgreSQL database module for PHP Summary: A PostgreSQL database module for PHP
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release} Requires: php-pdo%{?_isa} = %{version}-%{release}
Provides: php_database Provides: php_database
Provides: php-pdo_pgsql, php-pdo_pgsql%{?_isa} Provides: php-pdo_pgsql, php-pdo_pgsql%{?_isa}
@ -363,6 +386,8 @@ php package.
%package process %package process
Summary: Modules for PHP script using system process interfaces Summary: Modules for PHP script using system process interfaces
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Provides: php-posix, php-posix%{?_isa} Provides: php-posix, php-posix%{?_isa}
Provides: php-sysvsem, php-sysvsem%{?_isa} Provides: php-sysvsem, php-sysvsem%{?_isa}
@ -375,9 +400,12 @@ support to PHP using system interfaces for inter-process
communication. communication.
%package odbc %package odbc
Group: Development/Languages
Requires: php-pdo%{?_isa} = %{version}-%{release}
Summary: A module for PHP applications that use ODBC databases Summary: A module for PHP applications that use ODBC databases
Group: Development/Languages
# All files licensed under PHP version 3.01, except
# pdo_odbc is licensed under PHP version 3.0
License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release}
Provides: php_database Provides: php_database
Provides: php-pdo_odbc, php-pdo_odbc%{?_isa} Provides: php-pdo_odbc, php-pdo_odbc%{?_isa}
Obsoletes: stronghold-php-odbc Obsoletes: stronghold-php-odbc
@ -393,9 +421,11 @@ applications, you will need to install this package and the php
package. package.
%package soap %package soap
Group: Development/Languages
Requires: php-common%{?_isa} = %{version}-%{release}
Summary: A module for PHP applications that use the SOAP protocol Summary: A module for PHP applications that use the SOAP protocol
Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release}
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
%description soap %description soap
@ -405,6 +435,8 @@ support to PHP for using the SOAP web services protocol.
%package interbase %package interbase
Summary: A module for PHP applications that use Interbase/Firebird databases Summary: A module for PHP applications that use Interbase/Firebird databases
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
BuildRequires: firebird-devel BuildRequires: firebird-devel
Requires: php-pdo%{?_isa} = %{version}-%{release} Requires: php-pdo%{?_isa} = %{version}-%{release}
Provides: php_database Provides: php_database
@ -427,6 +459,8 @@ License.
%package snmp %package snmp
Summary: A module for PHP applications that query SNMP-managed devices Summary: A module for PHP applications that query SNMP-managed devices
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release}, net-snmp Requires: php-common%{?_isa} = %{version}-%{release}, net-snmp
BuildRequires: net-snmp-devel BuildRequires: net-snmp-devel
@ -439,6 +473,8 @@ will need to install this package and the php package.
%package xml %package xml
Summary: A module for PHP applications which use XML Summary: A module for PHP applications which use XML
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
Obsoletes: php-domxml, php-dom Obsoletes: php-domxml, php-dom
Provides: php-dom, php-dom%{?_isa} Provides: php-dom, php-dom%{?_isa}
@ -455,6 +491,9 @@ and performing XSL transformations on XML documents.
%package xmlrpc %package xmlrpc
Summary: A module for PHP applications which use the XML-RPC protocol Summary: A module for PHP applications which use the XML-RPC protocol
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01, except
# libXMLRPC is licensed under BSD
License: PHP and BSD
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
%description xmlrpc %description xmlrpc
@ -464,6 +503,11 @@ support for the XML-RPC protocol to PHP.
%package mbstring %package mbstring
Summary: A module for PHP applications which need multi-byte string handling Summary: A module for PHP applications which need multi-byte string handling
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01, except
# libmbfl is licensed under LGPLv2
# onigurama is licensed under BSD
# ucgendat is licensed under OpenLDAP
License: PHP and LGPLv2 and BSD and OpenLDAP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
%description mbstring %description mbstring
@ -473,6 +517,9 @@ support for multi-byte string handling to PHP.
%package gd %package gd
Summary: A module for PHP applications for using the gd graphics library Summary: A module for PHP applications for using the gd graphics library
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01, except
# libgd is licensed under BSD
License: PHP and BSD
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
# Required to build the bundled GD library # Required to build the bundled GD library
BuildRequires: libjpeg-devel, libpng-devel, freetype-devel BuildRequires: libjpeg-devel, libpng-devel, freetype-devel
@ -485,6 +532,9 @@ support for using the gd graphics library to PHP.
%package bcmath %package bcmath
Summary: A module for PHP applications for using the bcmath library Summary: A module for PHP applications for using the bcmath library
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01, except
# libbcmath is licensed under LGPLv2+
License: PHP and LGPLv2+
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
%description bcmath %description bcmath
@ -494,6 +544,8 @@ support for using the bcmath library to PHP.
%package dba %package dba
Summary: A database abstraction layer module for PHP applications Summary: A database abstraction layer module for PHP applications
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
%description dba %description dba
@ -503,6 +555,8 @@ support for using the DBA database abstraction layer to PHP.
%package mcrypt %package mcrypt
Summary: Standard PHP module provides mcrypt library support Summary: Standard PHP module provides mcrypt library support
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
BuildRequires: libmcrypt-devel BuildRequires: libmcrypt-devel
@ -513,6 +567,8 @@ support for using the mcrypt library to PHP.
%package tidy %package tidy
Summary: Standard PHP module provides tidy library support Summary: Standard PHP module provides tidy library support
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
BuildRequires: libtidy-devel BuildRequires: libtidy-devel
@ -523,6 +579,8 @@ support for using the tidy library to PHP.
%package mssql %package mssql
Summary: MSSQL database module for PHP Summary: MSSQL database module for PHP
Group: Development/Languages Group: Development/Languages
# All files licensed under PHP version 3.01
License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release} Requires: php-pdo%{?_isa} = %{version}-%{release}
BuildRequires: freetds-devel BuildRequires: freetds-devel
Provides: php-pdo_dblib, php-pdo_dblib%{?_isa} Provides: php-pdo_dblib, php-pdo_dblib%{?_isa}
@ -548,6 +606,8 @@ into applications to provide PHP scripting language support.
%package pspell %package pspell
Summary: A module for PHP applications for using pspell interfaces Summary: A module for PHP applications for using pspell interfaces
Group: System Environment/Libraries Group: System Environment/Libraries
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
BuildRequires: aspell-devel >= 0.50.0 BuildRequires: aspell-devel >= 0.50.0
@ -558,6 +618,8 @@ support for using the pspell library to PHP.
%package recode %package recode
Summary: A module for PHP applications for using the recode library Summary: A module for PHP applications for using the recode library
Group: System Environment/Libraries Group: System Environment/Libraries
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
BuildRequires: recode-devel BuildRequires: recode-devel
@ -568,6 +630,8 @@ support for using the recode library to PHP.
%package intl %package intl
Summary: Internationalization extension for PHP applications Summary: Internationalization extension for PHP applications
Group: System Environment/Libraries Group: System Environment/Libraries
# All files licensed under PHP version 3.01
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
BuildRequires: libicu-devel >= 3.6 BuildRequires: libicu-devel >= 3.6
@ -578,6 +642,8 @@ support for using the ICU library to PHP.
%package enchant %package enchant
Summary: Human Language and Character Encoding Support Summary: Human Language and Character Encoding Support
Group: System Environment/Libraries Group: System Environment/Libraries
# All files licensed under PHP version 3.0
License: PHP
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
BuildRequires: enchant-devel >= 1.2.4 BuildRequires: enchant-devel >= 1.2.4
@ -613,7 +679,15 @@ support for using the enchant library to PHP.
cp Zend/LICENSE Zend/ZEND_LICENSE cp Zend/LICENSE Zend/ZEND_LICENSE
cp TSRM/LICENSE TSRM_LICENSE cp TSRM/LICENSE TSRM_LICENSE
cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
cp ext/gd/libgd/README gd_README cp ext/gd/libgd/README libgd_README
cp ext/gd/libgd/COPYING libgd_COPYING
cp sapi/fpm/LICENSE fpm_LICENSE
cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE
cp ext/mbstring/oniguruma/COPYING oniguruma_COPYING
cp ext/mbstring/ucgendat/OPENLDAP_LICENSE ucgendat_LICENSE
cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE
cp ext/phar/LICENSE phar_LICENSE
cp ext/bcmath/libbcmath/COPYING.LIB libbcmath_COPYING
# Multiple builds for multiple SAPIs # Multiple builds for multiple SAPIs
mkdir build-cgi build-apache build-embedded build-zts build-ztscli \ mkdir build-cgi build-apache build-embedded build-zts build-ztscli \
@ -1245,6 +1319,8 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
%doc CODING_STANDARDS CREDITS EXTENSIONS LICENSE NEWS README* %doc CODING_STANDARDS CREDITS EXTENSIONS LICENSE NEWS README*
%doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT %doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
%doc libmagic_LICENSE
%doc phar_LICENSE
%doc php.ini-* %doc php.ini-*
%config(noreplace) %{_sysconfdir}/php.ini %config(noreplace) %{_sysconfdir}/php.ini
%dir %{_sysconfdir}/php.d %dir %{_sysconfdir}/php.d
@ -1272,6 +1348,7 @@ fi
%files fpm %files fpm
%defattr(-,root,root) %defattr(-,root,root)
%doc php-fpm.conf.default %doc php-fpm.conf.default
%doc fpm_LICENSE
%config(noreplace) %{_sysconfdir}/php-fpm.conf %config(noreplace) %{_sysconfdir}/php-fpm.conf
%config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf %config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/php-fpm %config(noreplace) %{_sysconfdir}/logrotate.d/php-fpm
@ -1315,11 +1392,16 @@ fi
%files xml -f files.xml %files xml -f files.xml
%files xmlrpc -f files.xmlrpc %files xmlrpc -f files.xmlrpc
%files mbstring -f files.mbstring %files mbstring -f files.mbstring
%doc libmbfl_LICENSE
%doc oniguruma_COPYING
%doc ucgendat_LICENSE
%files gd -f files.gd %files gd -f files.gd
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc gd_README %doc libgd_README
%doc libgd_COPYING
%files soap -f files.soap %files soap -f files.soap
%files bcmath -f files.bcmath %files bcmath -f files.bcmath
%doc libbcmath_COPYING
%files dba -f files.dba %files dba -f files.dba
%files pdo -f files.pdo %files pdo -f files.pdo
%files mcrypt -f files.mcrypt %files mcrypt -f files.mcrypt
@ -1335,6 +1417,9 @@ fi
%changelog %changelog
* Fri Nov 9 2012 Remi Collet <rcollet@redhat.com> 5.4.8-6
- clarify Licenses
* Tue Nov 6 2012 Remi Collet <rcollet@redhat.com> 5.4.8-5 * Tue Nov 6 2012 Remi Collet <rcollet@redhat.com> 5.4.8-5
- fix _httpd_mmn macro definition - fix _httpd_mmn macro definition