rpms/php-pecl-gmagick/EL-5 gmagick.ini, NONE, 1.1 import.log, NONE, 1.1 php-pecl-gmagick.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Pavel Alexeev hubbitus at fedoraproject.org
Wed Nov 4 08:49:20 UTC 2009


Author: hubbitus

Update of /cvs/pkgs/rpms/php-pecl-gmagick/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14692/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	gmagick.ini import.log php-pecl-gmagick.spec 
Log Message:
Initial import php-pecl-gmagick into Fedora.


--- NEW FILE gmagick.ini ---
; Enable gmagick extension module
extension=gmagick.so


--- NEW FILE import.log ---
php-pecl-gmagick-1_0_2b1-3_fc11:EL-5:php-pecl-gmagick-1.0.2b1-3.fc11.src.rpm:1257324425


--- NEW FILE php-pecl-gmagick.spec ---
%global	php_apiver  %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
%{!?__pecl:		%{expand:	%%global __pecl	%{_bindir}/pecl}}
%{!?php_extdir:	%{expand:	%%global php_extdir	%(php-config --extension-dir)}}

%define	peclName	gmagick

Summary:		Provides a wrapper to the GraphicsMagick library
Name:		php-pecl-%peclName
Version:		1.0.2b1
Release:		3%{?dist}
License:		PHP
Group:		Development/Libraries
Source0:		http://pecl.php.net/get/%peclName-%{version}.tgz
Source1:		%peclName.ini
# It is for EPEL too, so BuildRoot stil needed
BuildRoot:	%{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
URL:			http://pecl.php.net/package/%peclName
BuildRequires:	php-pear >= 1.4.7
BuildRequires: php-devel >= 5.1.3, GraphicsMagick-devel >= 1.2.6
Requires(post):	%{__pecl}
Requires(postun):	%{__pecl}
%if %{?php_zend_api}0
Requires:		php(zend-abi) = %{php_zend_api}
Requires:		php(api) = %{php_core_api}
%else
Requires:		php-api = %{php_apiver}
%endif
Provides:		php-pecl(%peclName) = %{version}

%description
%peclName is a php extension to create, modify and obtain meta information of
images using the GraphicsMagick API.

%prep
%setup -qc

%build
cd %peclName-%{version}
phpize
%{configure} --with-%peclName
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

cd %peclName-%{version}

make install \
	INSTALL_ROOT=%{buildroot}

# Install XML package description
install -m 0755 -d %{buildroot}%{pecl_xmldir}
install -m 0664 ../package.xml %{buildroot}%{pecl_xmldir}/%peclName.xml
install -d %{buildroot}%{_sysconfdir}/php.d/
install -m 0664 %{SOURCE1} %{buildroot}%{_sysconfdir}/php.d/%peclName.ini

chmod 0644 README

%clean
rm -rf %{buildroot}

%post
%if 0%{?pecl_install:1}
%{pecl_install} %{pecl_xmldir}/%peclName.xml
%endif

%postun
%if 0%{?pecl_uninstall:1}
if [ "$1" -eq "0" ]; then
	%{pecl_uninstall} %peclName
fi
%endif

%files
%defattr(-,root,root,-)
%doc %peclName-%{version}/{README,LICENSE}
%{_libdir}/php/modules/%peclName.so
%{pecl_xmldir}/%peclName.xml
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.d/%peclName.ini

%changelog
* Tue Nov 3 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 1.0.2b1-3
- Fedora Review started, thanks to Andrew Colin Kissa.
- Remove macros %%{__make} in favour to plain make.
- Add %%{?_smp_mflags} to make.

* Mon Oct 12 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 1.0.2b1-2
- New version 1.0.2b1 - author include license text by my request. Thank you Vito Chin.
- Include LICENSE.

* Fri Oct 2 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 1.0.1b1-1
- Initial release.
- License text absent, but I ask Vito Chin by email to add it into tarball.

Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-pecl-gmagick/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	3 Nov 2009 19:11:26 -0000	1.1
+++ .cvsignore	4 Nov 2009 08:49:20 -0000	1.2
@@ -0,0 +1 @@
+gmagick-1.0.2b1.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-pecl-gmagick/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	3 Nov 2009 19:11:26 -0000	1.1
+++ sources	4 Nov 2009 08:49:20 -0000	1.2
@@ -0,0 +1 @@
+8c6bdcca0464febbb4eb7b8935854c19  gmagick-1.0.2b1.tgz




More information about the fedora-extras-commits mailing list