/[smeserver]/rpms/pear-date/sme7/pear-date.spec
ViewVC logotype

Annotation of /rpms/pear-date/sme7/pear-date.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 16:44:14 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: pear-date-1_4_3-4_el4_sme
Import on branch sme7 of package pear-date-1.4.3-4.el4.sme.src.rpm

1 slords 1.1 Summary: PEAR Date and Time Zone Classes for PHP
2     %define name pear-date
3     %define version 1.4.3
4     %define release 4
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}%{?dist}
8     License: PHP License
9     Group: Applications/Web
10     Source0: Date-%{version}.tgz
11     Url: http://pear.php.net/package/Date
12     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-%(id -u -n)-buildroot
13     BuildArchitectures: noarch
14     Requires: php
15    
16     %description
17     Generic classes for representation and manipulation of
18     dates, times and time zones without the need of timestamps,
19     which is a huge limitation for php programs. Includes time zone data,
20     time zone conversions and many date/time conversions.
21     It does not rely on 32-bit system date stamps, so
22     you can display calendars and compare dates that date
23     pre 1970 and post 2038. This package also provides a class
24     to convert date strings between Gregorian and Human calendar formats.
25    
26    
27     %prep
28     %setup -q -n Date-%{version}
29    
30     %build
31    
32     %clean
33     rm -rf $RPM_BUILD_ROOT
34    
35     %install
36     rm -rf $RPM_BUILD_ROOT
37     mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/Date
38     cp -rp Date* $RPM_BUILD_ROOT/usr/share/pear-addons/
39     cp -rp TODO tests $RPM_BUILD_ROOT/usr/share/pear-addons/Date
40     mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/test/Date
41     cp -rp tests $RPM_BUILD_ROOT/usr/share/pear-addons/test/Date
42    
43     %files
44     %defattr(-,root,root)
45     %dir /usr/share/pear-addons/
46     /usr/share/pear-addons/*
47    
48     %changelog
49     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
50     - Clean up spec so package can be built by koji/plague
51    
52     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
53     - Update to new release naming. No functional changes.
54     - Make Packager generic
55    
56     * Mon May 09 2005 Charlie Brady <charlieb@e-smith.com> 1.4.3-03es
57     - Move class files into the right place.
58    
59     * Wed May 04 2005 Charlie Brady <charlieb@e-smith.com> 1.4.3-02es
60     - Fix URL header.
61    
62     * Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 1.4.3-01es
63     - Initial

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed