Re: Packaging exactimage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 01/11/2012 21:50, Sebastian Dyroff a écrit :

> I wanted to ask for help on the php early

Quick notes

First, php-exactimage will be a better name (under the php namespace)

Read : http://fedoraproject.org/wiki/Packaging:PHP

- ABI check (ensure compatiblity between PHP and module)

Requires:      php(zend-abi) = %{php_zend_api}
Requires:      php(api) = %{php_core_api}

- ExactImage.php

Don't need this file (could add it in %doc)

- ExactImage.ini

Please add this file, minimal content could be

    ; Enable ExactImage extension module
    extension=ExactImage.so

So:

%file -n php-exactimage
%doc objdir/api/php/ExactImage.php
%config(noreplace) %{_sysconfdir}/php.d/ExactImage.ini
%{php_extdir}/ExactImage.so

Filter for private shared
%{?filter_provides_in: %filter_provides_in %{php_extdir}/.*\.so$}


There is no test provided, but, at least a minimum test to ensure that
extension is loadable

%check
php -n \
    -d extension_dir=objdir/api/php \
    -d extension=ExactImage.so -m \
    | grep ExactImage


Outside of PHP, it seems each module (perl, python, php) are built using
the static library (api.a). Really need to share this one, I think.

Regards,
Remi.

_______________________________________________
php-devel mailing list
php-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/php-devel



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora KDE]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux