]> git.pld-linux.org Git - packages/php-pear-PEAR_PackageFileManager_Frontend_Web.git/blob - php-pear-PEAR_PackageFileManager_Frontend_Web.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-PEAR_PackageFileManager_Frontend_Web.git] / php-pear-PEAR_PackageFileManager_Frontend_Web.spec
1 %define         _status         alpha
2 %define         _pearname       PEAR_PackageFileManager_Frontend_Web
3 Summary:        %{_pearname} - A Web GUI frontend for the PEAR_PackageFileManager2 class
4 Summary(pl.UTF-8):      %{_pearname} - Graficzny frontend WWW do klasy PEAR_PackageFileManger2
5 Name:           php-pear-%{_pearname}
6 Version:        0.6.0
7 Release:        3
8 License:        PHP License 3.01
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  d5398fd5cdd72e2a2f1610d4c7b96466
12 URL:            http://pear.php.net/package/PEAR_PackageFileManager_Frontend_Web/
13 BuildRequires:  php-pear-PEAR
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.300
16 Requires:       php-pear
17 Requires:       php-pear-HTML_QuickForm >= 3.2.6
18 Requires:       php-pear-HTML_QuickForm_Controller >= 1.0.6
19 Requires:       php-pear-HTML_Table >= 1.6.0
20 Requires:       php-pear-PEAR_PackageFileManager_Frontend >= 0.7.0
21 Suggests:       php-pear-PHP_Compat
22 Suggests:       php-pear-Text_Highlighter
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 # exclude optional dependencies
27 %define         _noautoreq      'pear(PHP/Compat.*)' 'pear(Text/Highlighter.*)'
28
29 %description
30 This package is a web frontend for the PEAR_PackageFileManager2 class.
31 It makes it easier for developers to create and maintain PEAR
32 package.xml files (versions 1.0 and 2.0).
33
34 In PEAR status of this package is: %{_status}.
35
36 %description -l pl.UTF-8
37 Ten pakiet dostarcza frontend WWW do klasy PEAR_PackageFileManager2.
38 Ułatwia programistom tworzenie i utrzymywanie plików package.xml (w
39 wersji 1.0 i 2.0).
40
41 Ta klasa ma w PEAR status: %{_status}.
42
43 %package tests
44 Summary:        Tests for PEAR::%{_pearname}
45 Summary(pl.UTF-8):      Testy dla PEAR::%{_pearname}
46 Group:          Development
47 Requires:       %{name} = %{version}-%{release}
48 AutoReq:        no
49
50 %description tests
51 Tests for PEAR::%{_pearname}.
52
53 %description tests -l pl.UTF-8
54 Testy dla PEAR::%{_pearname}.
55
56 %prep
57 %pear_package_setup
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{php_pear_dir}
62 %pear_package_install
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post
68 if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
69         cat %{_docdir}/%{name}-%{version}/optional-packages.txt
70 fi
71
72 %files
73 %defattr(644,root,root,755)
74 %doc install.log optional-packages.txt docs/%{_pearname}/{ChangeLog,NEWS,examples}
75 %{php_pear_dir}/.registry/*.reg
76 %{php_pear_dir}/PEAR/PackageFileManager/Frontend/Web
77 %{php_pear_dir}/PEAR/PackageFileManager/Frontend/Web.php
78 %{php_pear_dir}/PEAR/PackageFileManager/Frontend/Decorator
79 %{php_pear_dir}/data/PEAR_PackageFileManager_Frontend_Web
This page took 0.207663 seconds and 3 git commands to generate.