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

adamg adamg at pld-linux.org
Sun Sep 3 21:17:25 CEST 2006


Author: adamg                        Date: Sun Sep  3 19:17:25 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/php-pear-File_Fortune.spec
diff -u /dev/null SPECS/php-pear-File_Fortune.spec:1.1
--- /dev/null	Sun Sep  3 21:17:25 2006
+++ SPECS/php-pear-File_Fortune.spec	Sun Sep  3 21:17:20 2006
@@ -0,0 +1,100 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		_class		File
+%define		_subclass	Fortune
+%define		_status		beta
+%define		_pearname	File_Fortune
+
+Summary:	%{_pearname} - interface for reading from and writing to fortune files
+Summary(pl):	%{_pearname} - interfejs do odczytu i zapisywania plików fortunek.
+Name:		php-pear-%{_pearname}
+Version:	0.9.0
+Release:	1
+License:	PHP
+Group:		Development/Languages/PHP
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5:	c4769e79b5f5063aabb18132d57f31f9
+URL:		http://pear.php.net/package/File_Fortune/
+BuildRequires:	php-pear-PEAR
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+Requires:	php-pear
+Requires:	php-pear-PEAR >= 1.3.4
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+File_Fortune provides a PHP interface to reading fortune files. With
+it, you may retrieve a single fortune, a random fortune, or all
+fortunes in the file.
+
+File_Fortune_Writer provides an interface for manipulating the
+contents of a fortune file. It allows you to write a complete fortune
+file and the associated binary header file from an array of fortunes.
+You may also add fortunes, delete fortunes, or update individual
+fortunes in a fortune file. All write operations will produce a binary
+header file to allow for greater compatability with the fortune and
+fortune-mod programs (as well as other fortune interfaces).
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+File_Fortune dostarcza interfejs PHP do oczytu plików z fortunkami.
+Przy jego użyciu, możliwe jest odczytanie pojedynczej lub losowej
+fortunki, jak również wszystkie fortunki z pliku.
+
+File_Fortune_Writer dostarcza interfejst do obróbki zawartości pliku z
+fortunkami. Pozwala na zapisywanie do pliku zestawu fortunek jak
+również odpowiedniego binarnego nagłowka. Możliwe jest także
+dodawanie, usuwanie lub modyfikowanie poszczególnych fortunek.
+Operacje zapisu stworzą binarny plik z nagłówkami pozwalający na
+wiekszą zgodność z plikami fortune i fortune-mod (jak również z innymi
+interfejsami do fortunek).
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+AutoReq:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+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 docs/%{_pearname}/File/tutorials/File_Fortune/File_Fortune.cls
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/File/Fortune/examples/phpFortune
+%{php_pear_dir}/File/Fortune/Exception.php
+%{php_pear_dir}/File/Fortune/Writer.php
+%{php_pear_dir}/File/Fortune.php
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/File_Fortune/
+
+%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  2006/09/03 19:17:20  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list