3 Summary: idn - binding to the GNU libidn
4 Summary(pl): idn - wi±zanie do GNU libidn
9 Group: Development/Languages/PHP
10 Source0: http://pecl.php.net/get/%{_modname}-%{version}.tgz
11 # Source0-md5: ef8635ec22348325a76abd2abddca4a1
12 URL: http://pecl.php.net/package/idn/
13 BuildRequires: libidn-devel
14 BuildRequires: libtool
15 BuildRequires: php-devel
17 Obsoletes: php-pear-idn
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _sysconfdir /etc/php
21 %define extensionsdir %{_libdir}/php
24 Binding to the GNU libidn for using Internationalized Domain Names.
26 In PECL status of this package is: %{_status}.
29 Wi±zanie do GNU libidn do u¿ywania umiêdzynarodowionych nazw domen
30 (Internationalized Domain Names).
32 To rozszerzenie ma w PECL status: %{_status}.
38 cd %{_modname}-%{version}
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{extensionsdir}
47 install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
50 rm -rf $RPM_BUILD_ROOT
53 %{_sbindir}/php-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
56 if [ "$1" = "0" ]; then
57 %{_sbindir}/php-module-install remove %{_modname} %{_sysconfdir}/php-cgi.ini
61 %defattr(644,root,root,755)
62 %doc %{_modname}-%{version}/CREDITS
63 %attr(755,root,root) %{extensionsdir}/%{_modname}.so