SPECS: php-pear-Date_Holidays_Japan.spec (NEW) - new

adamg adamg at pld-linux.org
Sun Aug 31 12:24:53 CEST 2008


Author: adamg                        Date: Sun Aug 31 10:24:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   php-pear-Date_Holidays_Japan.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php-pear-Date_Holidays_Japan.spec
diff -u /dev/null SPECS/php-pear-Date_Holidays_Japan.spec:1.1
--- /dev/null	Sun Aug 31 12:24:53 2008
+++ SPECS/php-pear-Date_Holidays_Japan.spec	Sun Aug 31 12:24:47 2008
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		_class		Date
+%define		_subclass	Holidays_Japan
+%define		_status		alpha
+%define		_pearname	Date_Holidays_Japan
+Summary:	%{_pearname} - Driver based class to calculate holidays in Japan
+Summary(pl.UTF-8):	%{_pearname} - klasa to obliczania dat świąt japońskich
+Name:		php-pear-%{_pearname}
+Version:	0.1.0
+Release:	0.1
+License:	PHP License
+Group:		Development/Languages/PHP
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5:	c642877bb8d2233c79b05fbc95672465
+URL:		http://pear.php.net/package/Date_Holidays_Japan/
+BuildRequires:	php-pear-PEAR
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+Requires:	php-pear
+Requires:	php-pear-Date_Holidays >= 0.20.1
+Requires:	php-pear-PEAR >= 1.4.0b1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%if 0
+# exclude optional dependencies
+%define		_noautoreq	
+%endif
+
+%description
+Date_Holidays helps you calculate the dates and titles of holidays and
+other special celebrations. This is the driver for calculating
+holidays in Japan.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Date_Holidays pozwala na obliczenie dat oraz tytułów świąt oraz
+specjalnych okazji. Klasa ta pozwala na wyliczenie świąt japońskich.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
+Group:		Development/Languages/PHP
+AutoReq:	no
+Requires:	%{name} = %{version}-%{release}
+AutoProv:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl.UTF-8
+Testy dla PEAR::%{_pearname}.
+
+%prep
+%pear_package_setup
+
+%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 install.log
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Date/Holidays/Driver/Japan.php
+%{php_pear_dir}/data/Date_Holidays_Japan
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/Date_Holidays_Japan
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/08/31 10:24:47  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list