3 Summary: Allows you to access .NET assemblies from PHP
4 Summary(pl): Pozwala na dostêp do wstawek .NET w PHP
5 Name: php-pecl-%{_modname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{_modname}-%{version}.tgz
11 URL: http://pear.php.net/
12 BuildRequires: php-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _sysconfdir /etc/php
17 %define extensionsdir %{_libdir}/php
20 A C extension that interfaces with the mono library to allow access to
23 This class has in PEAR status: %{_status}.
26 Rozszerzenie w C, które jest interfejsem do biblioteki mono,
27 pozwalaj±cym na dostêp do wstawek w .NET.
29 Ta klasa ma w PEAR status: %{_status}.
35 cd %{_modname}-%{version}
41 CPPFLAGS="-DHAVE_CONFIG_H -I%{_prefix}/X11R6/include/X11/" \
42 CFLAGS_CLEAN="%{rpmcflags}"
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{extensionsdir}
48 install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
51 rm -rf $RPM_BUILD_ROOT
54 %{_sbindir}/php-module-install install %{_modname} %{_sysconfdir}/php.ini
57 if [ "$1" = "0" ]; then
58 %{_sbindir}/php-module-install remove %{_modname} %{_sysconfdir}/php.ini
62 %defattr(644,root,root,755)
63 %doc %{_modname}-%{version}/examples/{*.php,*.jpg,*.gif}
64 %attr(755,root,root) %{extensionsdir}/%{_modname}.so