Correct PHP file locations
This commit is contained in:
parent
3bd8b88b45
commit
04fe679d8e
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: libkolabxml
|
Name: libkolabxml
|
||||||
Version: 0.4.0
|
Version: 0.4.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Kolab XML format collection parser library
|
Summary: Kolab XML format collection parser library
|
||||||
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -118,6 +118,14 @@ pushd build
|
|||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/%{_datadir}/php
|
||||||
|
mv %{buildroot}/%{php_extdir}/kolabformat.php %{buildroot}/%{_datadir}/php/kolabformat.php
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/%{php_inidir}/
|
||||||
|
cat >%{buildroot}/%{php_inidir}/kolabformat.ini <<EOF
|
||||||
|
extension=kolabformat.so
|
||||||
|
EOF
|
||||||
|
|
||||||
#%check
|
#%check
|
||||||
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/c++/build/lib
|
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/c++/build/lib
|
||||||
#export PYTHON_PATH=$PYTHON_PATH:%{builddir}/%{name}-%{version}/
|
#export PYTHON_PATH=$PYTHON_PATH:%{builddir}/%{name}-%{version}/
|
||||||
@ -139,7 +147,8 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files -n php-kolabformat
|
%files -n php-kolabformat
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{php_extdir}/kolabformat.php
|
%{php_inidir}/kolabformat.ini
|
||||||
|
%{_datadir}/php/kolabformat.php
|
||||||
%{php_extdir}/kolabformat.so
|
%{php_extdir}/kolabformat.so
|
||||||
|
|
||||||
%files -n python-kolabformat
|
%files -n python-kolabformat
|
||||||
@ -148,6 +157,9 @@ rm -rf %{buildroot}
|
|||||||
%{python_sitearch}/_kolabformat.so
|
%{python_sitearch}/_kolabformat.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 9 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.4.0-3
|
||||||
|
- Fix PHP kolabformat module packaging
|
||||||
|
|
||||||
* Wed May 2 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.4.0-2
|
* Wed May 2 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.4.0-2
|
||||||
- New version
|
- New version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user