]> git.pld-linux.org Git - packages/php-pear-PEAR_PackageFileManager2.git/blob - php-pear-PEAR_PackageFileManager2.spec
1233279df44dea57f9327aba550c1ca77fdb2803
[packages/php-pear-PEAR_PackageFileManager2.git] / php-pear-PEAR_PackageFileManager2.spec
1 %define         _status         stable
2 %define         _pearname       PEAR_PackageFileManager2
3 %include        /usr/lib/rpm/macros.php
4 Summary:        PEAR Package FileManager
5 Name:           php-pear-%{_pearname}
6 Version:        1.0.2
7 Release:        1
8 License:        New BSD License
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  08a02527733f956f45f16bf9a1a52460
12 URL:            http://pear.php.net/package/PEAR_PackageFileManager2/
13 BuildRequires:  php-pear-PEAR >= 1:1.8.0
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.571
16 Requires:       php-pear
17 Requires:       php-pear-PEAR >= 1.8.0-0.alpha1
18 Requires:       php-pear-PEAR_PackageFileManager_Plugins
19 Suggests:       php-pear-PHP_CompatInfo
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 # exclude optional dependencies
24 %define         _noautoreq      pear(PHP/CompatInfo.*)
25
26 %description
27 This package revolutionizes the maintenance of PEAR packages. With a
28 few parameters, the entire package.xml is automatically updated with a
29 listing of all files in a package. Features include
30  - manages the new package.xml 2.0 format in PEAR 1.4.0
31  - can detect PHP and extension dependencies using PHP_CompatInfo
32  - reads in an existing package.xml file, and only changes the
33    release/changelog
34  - a plugin system for retrieving files in a directory. Currently four
35    plugins exist, one for standard recursive directory content listing,
36    one that reads the CVS/Entries files and generates a file listing
37    based on the contents of a checked out CVS repository, one that reads
38    Subversion entries files, and one that queries a Perforce repository.
39  - incredibly flexible options for assigning install roles to
40    files/directories
41  - ability to ignore any file based on a * ? wildcard-enabled string(s)
42  - ability to include only files that match a * ? wildcard-enabled
43    string(s)
44  - ability to manage dependencies
45  - can output the package.xml in any directory, and read in the
46    package.xml file from any directory.
47  - can specify a different name for the package.xml file
48
49 In PEAR status of this package is: %{_status}.
50
51 %prep
52 %pear_package_setup
53
54 mv docs/PEAR_PackageFileManager2/examples .
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{php_pear_dir}
59 %pear_package_install
60
61 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
62 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post -p <lua>
68 %pear_package_print_optionalpackages
69
70 %files
71 %defattr(644,root,root,755)
72 %doc install.log
73 %doc optional-packages.txt
74 %{php_pear_dir}/.registry/*.reg
75 %{php_pear_dir}/PEAR/PackageFileManager2.php
76
77 %{_examplesdir}/%{name}-%{version}
This page took 0.080515 seconds and 2 git commands to generate.