]> git.pld-linux.org Git - packages/php-pear-PEAR_PackageFileManager.git/blob - php-pear-PEAR_PackageFileManager.spec
- updated to 1.6.0b4 (beta)
[packages/php-pear-PEAR_PackageFileManager.git] / php-pear-PEAR_PackageFileManager.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          PEAR
3 %define         _subclass       PackageFileManager
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - takes an existing package.xml file and updates it with a new filelist and changelog
8 Summary(pl):    %{_pearname} - aktualizacja package.xml (dodanie nowej listy plików oraz listy zmian)
9 Name:           php-pear-%{_pearname}
10 Version:        1.6.0
11 Release:        0.b4.1
12 Epoch:          0
13 License:        PHP 2.02
14 Group:          Development/Languages/PHP
15 Source0:        http://pear.php.net/get/%{_pearname}-%{version}b4.tgz
16 # Source0-md5:  44906cc9721b07e900dfdb7d873c7b3c
17 URL:            http://pear.php.net/package/PEAR_PackageFileManager/
18 BuildRequires:  php-pear-PEAR
19 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
20 BuildRequires:  rpmbuild(macros) >= 1.300
21 Requires:       php-pear
22 Requires:       php-pear-PEAR >= 1:1.1
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _noautoreq      'pear(PHP/CompatInfo.*)' 'pear(XML/Tree.*)'
27
28 %description
29 This package revolutionizes the maintenance of PEAR packages. With a
30 few parameters, the entire package.xml is automatically updated with a
31 listing of all files in a package.
32
33 Features include:
34 - reads an existing package.xml file, and only changes the
35   release/changelog
36 - a plugin system for retrieving files in a directory. Currently two
37   plugins exist, one for standard recursive directory content listing,
38   and one that reads CVS/Entries and generates a file listing based on
39   the contents of a checked out CVS repository
40 - incredibly flexible options for assigning install roles to
41   files/directories
42 - ability to ignore any file based on a * ? wildcard-enabled string
43 - ability to manage dependencies
44 - can output the package.xml in any directory, and read in the
45   package.xml from any directory
46 - can specify a different name for the package.xml file
47
48 In PEAR status of this package is: %{_status}.
49
50 %description -l pl
51 Ten pakiet rewolucjonizuje zarz±dzanie pakietami PEAR. Za pomoc± kilku
52 parametrów mo¿liwe jest automatyczne zaktualizowanie package.xml o
53 listê plików danego pakietu.
54
55 Mo¿liwo¶ci pakietu:
56 - wczytuje istniej±cy plik package.xml i zmienia w nim tylko
57   release/changelog
58 - system wtyczek s³u¿±cych do skompletowania listy plików w katalogu.
59   Aktualnie istniej± dwie takie wtyczki - jedna do standardowego
60   rekursywnego przegl±dania katalogów, druga do odczytu do generowania
61   listy plików na podstawie CVS/Entries.
62 - niesamowicie elastyczne opcje do okre¶lania roli podczas instalacji
63   dla plików/katalogów [FIXME?]
64 - mo¿liwo¶æ ignorowania plików na podstawie wildcardów * ?
65 - mo¿liwo¶æ do zarz±dzania zale¿no¶ciami
66 - mo¿liwo¶æ zapisu pliku package.xml do dowolnego katalogu oraz
67   odczytu tego pliku z dowolnego katalogu
68 - mo¿na okre¶liæ dla pliku package.xml inn± nazwê
69
70 Ta klasa ma w PEAR status: %{_status}.
71
72 %package tests
73 Summary:        Tests for PEAR::%{_pearname}
74 Summary(pl):    Testy dla PEAR::%{_pearname}
75 Group:          Development/Languages/PHP
76 Requires:       %{name} = %{epoch}:%{version}-%{release}
77 AutoReq:        no
78 AutoProv:       no
79
80 %description tests
81 Tests for PEAR::%{_pearname}.
82
83 %description tests -l pl
84 Testy dla PEAR::%{_pearname}.
85
86 %prep
87 %pear_package_setup
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT%{php_pear_dir}
92 %pear_package_install
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %doc install.log
100 %doc docs/%{_pearname}/examples
101 %{php_pear_dir}/.registry/*.reg
102 %dir %{php_pear_dir}/%{_class}/%{_subclass}
103 %{php_pear_dir}/%{_class}/*.php
104 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
105
106 %files tests
107 %defattr(644,root,root,755)
108 %{php_pear_dir}/tests/*
This page took 0.074283 seconds and 3 git commands to generate.