rpms/php-pecl-lzf/F-11 import.log, NONE, 1.1 php-pecl-lzf.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

topdog topdog at fedoraproject.org
Tue Jun 23 19:14:55 UTC 2009


Author: topdog

Update of /cvs/pkgs/rpms/php-pecl-lzf/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22982/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-pecl-lzf.spec 
Log Message:

* Tue Jun 23 2009 Andrew Colin Kissa <andrew at topdog.za.net> - 1.5.2-3
- Initial CVS commit




--- NEW FILE import.log ---
php-pecl-lzf-1_5_2-3_fc11:F-11:php-pecl-lzf-1.5.2-3.fc11.src.rpm:1245784416


--- NEW FILE php-pecl-lzf.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 pecl_name LZF

Name:		php-pecl-lzf
Version:	1.5.2
Release:	3%{?dist}
Summary:	Extension to handle LZF de/compression
Group:		Development/Languages
License:	PHP
URL:		http://pecl.php.net/package/%{pecl_name}
Source0:	http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	php-devel php-pear >= 1:1.4.0
Requires(post):	%{__pecl}
Requires(postun):	%{__pecl}
Provides:	php-pecl(lzf) = %{version}

%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

%description
This extension provides LZF compression and decompression using the liblzf
library

LZF is a very fast compression algorithm, ideal for saving space with a 
slight speed cost.

%prep
%setup -c -q
[ -f package2.xml ] || %{__mv} package.xml package2.xml
%{__mv} package2.xml %{pecl_name}-%{version}/%{pecl_name}.xml

%build
cd %{pecl_name}-%{version}
phpize
%configure
%{__make} %{?_smp_mflags}

%install
cd %{pecl_name}-%{version}
%{__rm} -rf %{buildroot}
%{__make} install INSTALL_ROOT=%{buildroot} INSTALL="install -p"

%{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d
%{__cat} > %{buildroot}%{_sysconfdir}/php.d/lzf.ini << 'EOF'
; Enable %{pecl_name} extension module
extension=lzf.so
EOF

%{__mkdir_p} %{buildroot}%{pecl_xmldir}
%{__install} -p -m 644 %{pecl_name}.xml %{buildroot}%{pecl_xmldir}/%{name}.xml


%clean
%{__rm} -rf %{buildroot}

%if 0%{?pecl_install:1}
%post
%{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
%endif


%if 0%{?pecl_uninstall:1}
%postun
if [ $1 -eq 0 ]; then
%{pecl_uninstall} %{pecl_name} >/dev/null || :
fi
%endif

%files
%defattr(-,root,root,-)
%doc %{pecl_name}-%{version}/CREDITS
%config(noreplace) %{_sysconfdir}/php.d/lzf.ini
%{php_extdir}/lzf.so
%{pecl_xmldir}/%{name}.xml

%changelog
* Mon Jun 22 2009 Andrew Colin Kissa <andrew at topdog.za.net> - 1.5.2-3
- Consistent use of macros

* Mon Jun 22 2009 Andrew Colin Kissa <andrew at topdog.za.net> - 1.5.2-2
- Fixes to the install to retain timestamps and other fixes raised in review

* Sun Jun 14 2009 Andrew Colin Kissa <andrew at topdog.za.net> - 1.5.2-1
- Initial RPM package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-pecl-lzf/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	23 Jun 2009 17:55:30 -0000	1.1
+++ .cvsignore	23 Jun 2009 19:14:24 -0000	1.2
@@ -0,0 +1 @@
+LZF-1.5.2.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-pecl-lzf/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	23 Jun 2009 17:55:30 -0000	1.1
+++ sources	23 Jun 2009 19:14:25 -0000	1.2
@@ -0,0 +1 @@
+d0313d93783cd11c8e038abfcf1b4f91  LZF-1.5.2.tgz




More information about the fedora-extras-commits mailing list