]> git.pld-linux.org Git - SPECS.git/blob - php-pear-File_Fortune.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-pear-File_Fortune.spec
1 %define         _class          File
2 %define         _subclass       Fortune
3 %define         _status         stable
4 %define         _pearname       File_Fortune
5
6 Summary:        %{_pearname} - interface for reading from and writing to fortune files
7 Summary(pl.UTF-8):      %{_pearname} - interfejs do odczytu i zapisywania plików fortunek
8 Name:           php-pear-%{_pearname}
9 Version:        1.0.0
10 Release:        4
11 License:        PHP
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  790f547447ade697d4227eca00107dec
15 URL:            http://pear.php.net/package/File_Fortune/
16 BuildRequires:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 BuildRequires:  rpmbuild(macros) >= 1.300
19 Requires:       php-pear
20 Requires:       php-pear-PEAR-core >= 1.3.4
21 Obsoletes:      php-pear-File_Fortune-tests
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 File_Fortune provides a PHP interface to reading fortune files. With
27 it, you may retrieve a single fortune, a random fortune, or all
28 fortunes in the file.
29
30 File_Fortune_Writer provides an interface for manipulating the
31 contents of a fortune file. It allows you to write a complete fortune
32 file and the associated binary header file from an array of fortunes.
33 You may also add fortunes, delete fortunes, or update individual
34 fortunes in a fortune file. All write operations will produce a binary
35 header file to allow for greater compatability with the fortune and
36 fortune-mod programs (as well as other fortune interfaces).
37
38 In PEAR status of this package is: %{_status}.
39
40 %description -l pl.UTF-8
41 File_Fortune dostarcza interfejs PHP do odczytu plików z fortunkami.
42 Przy jego użyciu możliwe jest odczytanie pojedynczej lub losowej
43 fortunki, jak również wszystkie fortunki z pliku.
44
45 File_Fortune_Writer dostarcza interfejs do obróbki zawartości pliku z
46 fortunkami. Pozwala na zapisywanie do pliku zestawu fortunek jak
47 również odpowiedniego binarnego nagłówka. Możliwe jest także
48 dodawanie, usuwanie lub modyfikowanie poszczególnych fortunek.
49 Operacje zapisu stworzą binarny plik z nagłówkami pozwalający na
50 większą zgodność z plikami fortune i fortune-mod (jak również z innymi
51 interfejsami do fortunek).
52
53 Ta klasa ma w PEAR status: %{_status}.
54
55 %prep
56 %pear_package_setup
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{php_pear_dir}
61 %pear_package_install
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc install.log docs/%{_pearname}/tutorials/File_Fortune.cls
69 %{php_pear_dir}/.registry/*.reg
70 %{php_pear_dir}/data/%{_pearname}
71 %{php_pear_dir}/File/Fortune
72 %{php_pear_dir}/File/Fortune.php
This page took 0.04118 seconds and 3 git commands to generate.