]> git.pld-linux.org Git - SPECS.git/blob - php-pear-File_Fstab.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / php-pear-File_Fstab.spec
1 %define         _status         stable
2 %define         _pearname       File_Fstab
3 Summary:        %{_pearname} - read and write fstab files
4 Summary(pl.UTF-8):      %{_pearname} - odczyt i zapis plików fstab
5 Name:           php-pear-%{_pearname}
6 Version:        2.0.3
7 Release:        1
8 License:        PHP 3.0
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  89f6833bbb31e18349b84422870fa125
12 URL:            http://pear.php.net/package/File_Fstab/
13 BuildRequires:  php-packagexml2cl
14 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.300
17 Requires:       php-pear
18 Requires:       php-pear-PEAR-core
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 File_Fstab is an easy-to-use package which can read & write UNIX fstab
24 files. It presents a pleasant object-oriented interface to the fstab.
25 Features:
26 - Supports blockdev, label, and UUID specification of mount device.
27 - Extendable to parse non-standard fstab formats by defining a new
28   Entry class for that format.
29 - Easily examine and set mount options for an entry.
30 - Stable, functional interface.
31 - Fully documented with PHPDoc.
32
33 In PEAR status of this package is: %{_status}.
34
35 %description -l pl.UTF-8
36 File_Fstab to łatwy w użyciu pakiet odczytujący i zapisujący uniksowe
37 pliki fstab. Oferuje on miły zorientowany obiektowo interfejs do
38 fstaba. Cechy pakietu:
39 - obsługuje określanie urządzenia poprzez urządzenie blokowe, etykietę
40   i UUID
41 - rozszerzalny w celu analizy niestandardowych formatów fstab poprzez
42   zdefiniowanie nowej klasy Entry dla danego formatu
43 - łatwe sprawdzanie i ustawianie opcji montowania dla danej pozycji
44 - stabilny, funkcjonalny interfejs
45 - w pełni udokumentowany przy użyciu PHPDoc.
46
47 Ta klasa ma w PEAR status: %{_status}.
48
49 %prep
50 %pear_package_setup
51
52 install -d examples
53 mv .%{php_pear_dir}/example.php examples
54
55 # makefile for package creator
56 rm .%{php_pear_dir}/data/File_Fstab/Makefile
57
58 %build
59 packagexml2cl package.xml > ChangeLog
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{php_pear_dir}
64 %pear_package_install
65
66 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
67 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc ChangeLog install.log
75 %{php_pear_dir}/.registry/*.reg
76 %{php_pear_dir}/File/Fstab.php
77 %{php_pear_dir}/File/Fstab
78
79 %{_examplesdir}/%{name}-%{version}
This page took 0.907461 seconds and 3 git commands to generate.