Projects
Kolab:3.4:Updates
php-pear-Net-IDNA2
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 8
View file
php-pear-Net-IDNA2.spec
Changed
@@ -2,7 +2,13 @@ %global pear_name Net_IDNA2 Summary: PHP library for punycode encoding and decoding + +%if 0%{?suse_version} +Name: php5-pear-Net-IDNA2 +%else Name: php-pear-Net-IDNA2 +%endif + Version: 0.1.1 Release: 10%{?dist} License: LGPLv2+ @@ -10,13 +16,19 @@ URL: http://pear.php.net/package/Net_IDNA2/ Source0: http://download.pear.php.net/package/Net_IDNA2-%{version}.tgz BuildArch: noarch +%if 0%{?suse_version} +BuildRequires: php-pear +%else BuildRequires: php-pear(PEAR) >= 1.9.1 +%endif + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: php-common >= 5.3.0 Requires: php-pear(PEAR) Requires(post): %{__pear} Requires(preun): %{__pear} Provides: php-pear(%{pear_name}) = %{version} + %description This package helps you to encode and decode punycode strings easily in PHP. @@ -69,7 +81,14 @@ %{pear_phpdir}/Net/IDNA2 %{pear_phpdir}/Net/IDNA2.php %{pear_testdir}/%{pear_name} +%if 0%{?suse_version} +%dir %{pear_xmldir} +%endif %{pear_xmldir}/%{name}.xml +%if 0%{?rhel} > 6 || 0%{?fedora} > 18 +%{pear_metadir}/.registry/net_idna2.reg +%exclude %{pear_metadit} +%endif %changelog * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-10
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.