]> git.pld-linux.org Git - packages/php-pear-Date_HumanDiff.git/commitdiff
new, version 0.4.0
authorElan Ruusamäe <glen@delfi.ee>
Sat, 14 Sep 2013 00:05:22 +0000 (03:05 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 14 Sep 2013 00:05:22 +0000 (03:05 +0300)
created with pear make-rpm-spec

php-pear-Date_HumanDiff.spec [new file with mode: 0644]

diff --git a/php-pear-Date_HumanDiff.spec b/php-pear-Date_HumanDiff.spec
new file mode 100644 (file)
index 0000000..62eea6b
--- /dev/null
@@ -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
This page took 0.391351 seconds and 4 git commands to generate.