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

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

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


Revision 1.2 - (show annotations) (download)
Wed Apr 9 13:51:51 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines
Error occurred while calculating annotation data.
Add Id to top of spec

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

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