[packages/php-pear-Date_HumanDiff: 1/2] new, version 0.4.0
glen
glen at pld-linux.org
Sat Sep 14 02:07:05 CEST 2013
commit ef6cef901aebdf1f67cbd57b5bcdfd5aced89542
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Sep 14 03:05:22 2013 +0300
new, version 0.4.0
created with pear make-rpm-spec
php-pear-Date_HumanDiff.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
---
diff --git a/php-pear-Date_HumanDiff.spec b/php-pear-Date_HumanDiff.spec
new file mode 100644
index 0000000..62eea6b
--- /dev/null
+++ b/php-pear-Date_HumanDiff.spec
@@ -0,0 +1,55 @@
+%define status alpha
+%define pearname Date_HumanDiff
+%include /usr/lib/rpm/macros.php
+Summary: %{pearname} - Generate textual time differences that are easily understandable by humans
+Name: php-pear-Date_HumanDiff
+Version: 0.4.0
+Release: 1
+License: LGPL
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: c7442bc2bb8e10167ac2350048875448
+URL: http://pear.php.net/package/Date_HumanDiff/
+BuildRequires: php-packagexml2cl
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.610
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Generate textual time differences that are easily understandable by
+humans ("5 minutes ago"). The package supports minutes, hours, days,
+weeks, months and years. A time difference of 65 seconds gets
+converted to "a minute ago".
+
+In PEAR status of this package is: %{status}.
+
+%prep
+%pear_package_setup
+
+%build
+packagexml2cl package.xml > ChangeLog
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog install.log
+%doc docs/Date_HumanDiff/*
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Date/HumanDiff.php
+%dir %{php_pear_dir}/Date/HumanDiff
+%{php_pear_dir}/Date/HumanDiff/Locale.php
+%{php_pear_dir}/Date/HumanDiff/LocaleArray.php
+%dir %{php_pear_dir}/Date/HumanDiff/Locale
+%lang(de) %{php_pear_dir}/Date/HumanDiff/Locale/de.php
+%lang(el) %{php_pear_dir}/Date/HumanDiff/Locale/el.php
+%lang(fa) %{php_pear_dir}/Date/HumanDiff/Locale/fa.php
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Date_HumanDiff.git/commitdiff/54b0414de7bdef612a0ed722f1bbe75b36909596
More information about the pld-cvs-commit
mailing list