Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
php5-pear-date
php5-pear-date.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-pear-date.spec of Package php5-pear-date
# # spec file for package php5-pear-date (Version 1.4.7) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: php5-pear-date %define peardir %(pear config-get php_dir 2> /dev/null) %define xmldir /var/lib/pear Summary: PEAR date and time zone classes Version: 1.4.7 Release: 24 License: BSD 3-Clause Group: Development/Libraries/PHP Source0: http://pear.php.net/get/Date-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://pear.php.net/package/Date BuildRequires: php5-pear PreReq: php5-pear Provides: php-pear-date BuildArch: noarch %description Generic PEAR classes for representation and manipulation of dates, times and time zones without the need of timestamps, which is a huge limitation for php programs. Includes time zone data, time zone conversions and many date/time conversions. It does not rely on 32-bit system date stamps, so you can display calendars and compare dates that date pre 1970 and post 2038. This package also provides a class to convert date strings between Gregorian and Human calendar formats. Authors: -------- Pierre-Alain Joye Alan Knowles <alan@akbkhome.com> Baba Buehler <baba@babaz.com> Monte Ohrt <monte@ohrt.com> %prep %setup -c -T pear -v -c pearrc \ -d php_dir=%{peardir} \ -d doc_dir=/docs \ -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 --offline --nodeps --packagingroot %{buildroot} %{SOURCE0} # Clean up unnecessary files %{__rm} pearrc %{__rm} %{buildroot}/%{peardir}/.filemap %{__rm} %{buildroot}/%{peardir}/.lock %{__rm} -rf %{buildroot}/%{peardir}/.registry %{__rm} -rf %{buildroot}%{peardir}/.channels %{__rm} %{buildroot}%{peardir}/.depdb %{__rm} %{buildroot}%{peardir}/.depdblock %{__mv} %{buildroot}/docs . # Install XML package description %{__mkdir_p} %{buildroot}%{xmldir} %{__tar} -xzf %{SOURCE0} package.xml %{__cp} -p package.xml %{buildroot}%{xmldir}/Date.xml %clean %{__rm} -rf %{buildroot} %post pear install --offline --nodeps --soft --force --register-only %{xmldir}/Date.xml %postun if [ "$1" -eq "0" ]; then pear uninstall --offline --nodeps --ignore-errors --register-only pear.php.net/Date fi %files %defattr(-,root,root) %doc docs/Date/* %{peardir}/* %{xmldir}/Date.xml %changelog * Fri Oct 12 2007 - crrodriguez@suse.de - ensure this package does not phone home any longer [#214338] * Fri Aug 17 2007 - crrodriguez@suse.de - add missing Provide php-pear-date * Mon Aug 06 2007 - crrodriguez@suse.de - updated to version 1.4.7 - use the new PEAR package format. * Thu Oct 26 2006 - anosek@suse.cz - fixed: pear is pulling packages from the network during autobuild [#214347] * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Thu Jan 19 2006 - mmarek@suse.de - fix filelist, remove temporary files created by pear installer - unify php5-pear-*.spec files - increase php's memory_limit during installation (parsing xml needs more than default 8M sometimes) * Mon Jan 16 2006 - mmarek@suse.cz - created package to satisfy horde dependencies
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