Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
php5-pear-Horde_Memcache
php5-pear-Horde_Memcache.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-pear-Horde_Memcache.spec of Package php5-pear-Horde_Memcache
# # spec file for package php5-pear-Horde_Memcache # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define peardir %(pear config-get php_dir 2> /dev/null || echo %{_datadir}/pear) %define xmldir /var/lib/pear Summary: PEAR: Horde Memcache API Name: php5-pear-Horde_Memcache Version: 1.0.3 Release: 1 License: LGPLv3 Group: Development/Libraries/PHP Source0: http://pear.horde.org/get/Horde_Memcache-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://pear.horde.org/package/Horde_Memcache BuildRequires: php5-pear >= 1.4.7 Requires: php5-pear-Horde_Exception < 2.0.0, php5-pear >= 1.7.0 Conflicts: php5-pear-Horde_Exception = 2.0.0 BuildRequires: php5-pear-channel-horde Requires: php5-pear-channel-horde BuildArch: noarch %description The Horde_Memcache library provides an API to access a memcache installation in Horde code. %prep %setup -c -T pear -v -c pearrc \ -d php_dir=%{peardir} \ -d doc_dir=%{_docdir}%{name} \ -d bin_dir=%{_bindir} \ -d data_dir=%{peardir}/data \ -d test_dir=%{peardir}/tests \ -d ext_dir=%{_libdir} \ -s %build %install pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0} # Clean up unnecessary files rm -rf pearrc rm -rf {%{buildroot}%{peardir}/.channels,%{buildroot}%{peardir}/.filemap,%{buildroot}%{peardir}/.lock,%{buildroot}%{peardir}/.depdb,%{buildroot}%{peardir}/.registry,%{buildroot}%{peardir}/.depdblock} # Install XML package description mkdir -p %{buildroot}%{xmldir} tar -xzf %{SOURCE0} package.xml cp -p package.xml %{buildroot}%{xmldir}/Horde_Memcache.xml %clean rm -rf %{buildroot} %post pear install --nodeps --soft --force --register-only %{xmldir}/Horde_Memcache.xml %postun if [ "$1" -eq "0" ]; then pear uninstall --nodeps --ignore-errors --register-only pear.horde.org/Horde_Memcache fi %files %defattr(-,root,root) %{peardir}/* %{xmldir}/Horde_Memcache.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor