Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
php5-pear-Horde_Core
php5-pear-Horde_Core.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-pear-Horde_Core.spec of Package php5-pear-Horde_Core
# # spec file for package php5-pear-Horde_Core # # Copyright (c) 2013 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 %define hordedir /usr/share/php5/PEAR/www/horde Summary: Horde Core Framework libraries License: LGPL-2.1 Group: Development/Libraries/PHP Name: php5-pear-Horde_Core Version: 2.1.4 Release: 0 Source0: http://pear.horde.org/get/Horde_Core-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://pear.horde.org/package/Horde_Core Requires: php >= 5.3.3 BuildRequires: php >= 5.3.3 BuildRequires: php-pear >= 1.4.7 Requires: php5-pear-Horde_ActiveSync >= 2.0.0 Requires: php5-pear-Horde_Alarm >= 2.0.0 Requires: php5-pear-Horde_Auth >= 2.0.0 Requires: php5-pear-Horde_Autoloader >= 2.0.0 Requires: php5-pear-Horde_Browser >= 2.0.0 Requires: php5-pear-Horde_Cache >= 2.0.0 Requires: php5-pear-Horde_Cli >= 2.0.0 Requires: php5-pear-Horde_Compress >= 2.0.0 Requires: php5-pear-Horde_Controller >= 2.0.0 Requires: php5-pear-Horde_Data >= 2.0.0 Requires: php5-pear-Horde_Date >= 2.0.0 Requires: php5-pear-Horde_Exception >= 2.0.0 Requires: php5-pear-Horde_Group >= 2.0.0 Requires: php5-pear-Horde_History >= 2.0.0 Requires: php5-pear-Horde_Http >= 2.0.0 Requires: php5-pear-Horde_Injector >= 2.0.0 Suggests: php5-pear-Horde_Icalendar >= 2.0.0 Suggests: php5-pear-Horde_Ldap >= 2.0.0 Requires: php5-pear-Horde_Lock >= 2.0.0 Requires: php5-pear-Horde_Log >= 2.0.0 Requires: php5-pear-Horde_LoginTasks >= 2.0.0 Suggests: php5-pear-Horde_Mail >= 2.0.0 Requires: php5-pear-Horde_Mime >= 2.0.0 Requires: php5-pear-Horde_Mime_Viewer >= 2.0.0 Suggests: php5-pear-Horde_Nls >= 2.0.0 Requires: php-pear >= 1.7.0 Requires: php5-pear-Horde_Notification >= 2.0.0 Requires: php5-pear-Horde_Perms >= 2.0.0 Requires: php5-pear-Horde_Prefs >= 2.0.0 Requires: php5-pear-Horde_Secret >= 2.0.0 Requires: php5-pear-Horde_Serialize >= 1.0.0 Requires: php5-pear-Horde_SessionHandler >= 2.0.0 Requires: php5-pear-Horde_Share >= 2.0.0 Requires: php5-pear-Horde_Support >= 2.0.0 Requires: php5-pear-Horde_Template >= 2.0.0 Requires: php5-pear-Horde_Token >= 2.0.0 Requires: php5-pear-Horde_Translation >= 2.0.0 Requires: php5-pear-Horde_Url >= 2.0.0 Requires: php5-pear-Horde_Util >= 2.0.0 Requires: php5-pear-Horde_View >= 2.0.0 BuildRequires: php5-pear-Horde_Role >= 1.0.0 BuildRequires: php5-pear-channel-horde Requires: php-json Requires: php5-pear-Horde_Role Requires: php5-pear-channel-horde BuildArch: noarch %define pear_name Horde_Core %define pear_sname horde_core # Fix for renaming (package convention) Provides: pear-%{pear_sname} = %{version} Provides: php-pear-%{pear_sname} = %{version} Provides: php5-pear-%{pear_sname} = %{version} Obsoletes: pear-%{pear_sname} < %{version} Obsoletes: php-pear-%{pear_sname} < %{version} Obsoletes: php5-pear-%{pear_sname} < %{version} %description These classes provide the core functionality of the Horde Application Framework. %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} \ -d horde_dir=%{hordedir} \ -s %build %install pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0} %find_lang %{pear_name} # Clean up unnecessary files 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_Core.xml %clean rm -rf %{buildroot} %post pear install --nodeps --soft --force --register-only %{xmldir}/Horde_Core.xml %postun if [ "$1" -eq "0" ]; then pear uninstall --nodeps --ignore-errors --register-only pear.horde.org/Horde_Core fi %files -f %{pear_name}.lang %defattr(644,root,root,755) %{peardir}/* %dir /usr/share/php5/PEAR/data %{xmldir}/Horde_Core.xml %{hordedir}/js/* %dir %{hordedir}/js %doc %{_docdir}/%{name} %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