]> git.pld-linux.org Git - SPECS.git/blob - php-pear-MIME_Type.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-pear-MIME_Type.spec
1 %define         _status         stable
2 %define         _pearname       MIME_Type
3 Summary:        %{_pearname} - utility class for dealing with MIME types
4 Summary(pl.UTF-8):      %{_pearname} - przydatna klasa do obsługi typów MIME
5 Name:           php-pear-%{_pearname}
6 Version:        1.4.1
7 Release:        1
8 License:        PHP 2.02
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  216bfa102230918cd57d662c14a5dc13
12 URL:            http://pear.php.net/package/MIME_Type/
13 BuildRequires:  php-pear-PEAR >= 1:1.4.0
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.300
16 Requires:       php-pear
17 Requires:       php-pear-PEAR-core >= 1:1.4.0
18 Suggests:       php-pear-System_Command
19 Obsoletes:      php-pear-MIME_Type-tests
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 # exclude optional dependencies
24 %define         _noautoreq      pear(System/Command.*)
25
26 %description
27 Provides functionality for dealing with MIME types.
28 - Parse MIME type.
29 - Supports full RFC2045 specification.
30 - Many utility functions for working with and determining info about
31   types.
32 - Most functions can be called statically.
33 - Autodetect a file's MIME-type, either with mime_content_type() or
34   the 'file' command.
35
36 In PEAR status of this package is: %{_status}.
37
38 %description -l pl.UTF-8
39 Klasa dostarcza funkcjonalności do obsługi typów MIME:
40 - przetwarzanie typu MIME,
41 - pełna obsługa specyfikacji RFC2045
42 - wiele przydatnych funkcji do obsługi i określania informacji na
43   temat typów
44 - większość funkcji może być wywołana statycznie
45 - autodetekecja typu MIME pliku, za pomocą mime_content_type() lub z
46   wykorzystaniem polecenia 'file'.
47
48 Ta klasa ma w PEAR status: %{_status}.
49
50 %prep
51 %pear_package_setup
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
56 %pear_package_install
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc install.log
64 %{php_pear_dir}/.registry/*.reg
65 %dir %{php_pear_dir}/MIME
66 %{php_pear_dir}/MIME/Type.php
67 %{php_pear_dir}/MIME/Type
This page took 0.05117 seconds and 3 git commands to generate.