]> git.pld-linux.org Git - packages/php-pear-PEAR_PackageFileManager.git/blame - php-pear-PEAR_PackageFileManager.spec
- converted to UTF-8
[packages/php-pear-PEAR_PackageFileManager.git] / php-pear-PEAR_PackageFileManager.spec
CommitLineData
db36912f 1%include /usr/lib/rpm/macros.php
039d7971 2%define _class PEAR
3%define _subclass PackageFileManager
8e80e4b8 4%define _status beta
db36912f 5%define _pearname %{_class}_%{_subclass}
20396174 6
db36912f 7Summary: %{_pearname} - takes an existing package.xml file and updates it with a new filelist and changelog
14c8c55d 8Summary(pl.UTF-8): %{_pearname} - aktualizacja package.xml (dodanie nowej listy plików oraz listy zmian)
db36912f 9Name: php-pear-%{_pearname}
8e80e4b8
AG
10Version: 1.6.0
11Release: 0.b4.1
ff89ab59 12Epoch: 0
db36912f
AG
13License: PHP 2.02
14Group: Development/Languages/PHP
8e80e4b8
AG
15Source0: http://pear.php.net/get/%{_pearname}-%{version}b4.tgz
16# Source0-md5: 44906cc9721b07e900dfdb7d873c7b3c
fda51a62 17URL: http://pear.php.net/package/PEAR_PackageFileManager/
b299ddc9 18BuildRequires: php-pear-PEAR
9514afc7 19BuildRequires: rpm-php-pearprov >= 4.4.2-11
152159ed 20BuildRequires: rpmbuild(macros) >= 1.300
db36912f 21Requires: php-pear
13c22f37 22Requires: php-pear-PEAR >= 1:1.1
db36912f
AG
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
cc6f6e58
ER
26%define _noautoreq 'pear(PHP/CompatInfo.*)' 'pear(XML/Tree.*)'
27
db36912f
AG
28%description
29This package revolutionizes the maintenance of PEAR packages. With a
30few parameters, the entire package.xml is automatically updated with a
31listing of all files in a package.
32
33Features 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
af7ab18b 48In PEAR status of this package is: %{_status}.
db36912f 49
14c8c55d
JR
50%description -l pl.UTF-8
51Ten pakiet rewolucjonizuje zarządzanie pakietami PEAR. Za pomocą kilku
52parametrów możliwe jest automatyczne zaktualizowanie package.xml o
53listę plików danego pakietu.
db36912f 54
14c8c55d
JR
55Możliwości pakietu:
56- wczytuje istniejący plik package.xml i zmienia w nim tylko
db36912f 57 release/changelog
14c8c55d
JR
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
db36912f 67 odczytu tego pliku z dowolnego katalogu
14c8c55d 68- można określić dla pliku package.xml inną nazwę
db36912f
AG
69
70Ta klasa ma w PEAR status: %{_status}.
71
cc6f6e58
ER
72%package tests
73Summary: Tests for PEAR::%{_pearname}
14c8c55d 74Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
ba2d796f 75Group: Development/Languages/PHP
fad0518e 76Requires: %{name} = %{epoch}:%{version}-%{release}
40cf055c 77AutoReq: no
6bcf5fd4 78AutoProv: no
cc6f6e58
ER
79
80%description tests
81Tests for PEAR::%{_pearname}.
82
14c8c55d 83%description tests -l pl.UTF-8
677ad855
ER
84Testy dla PEAR::%{_pearname}.
85
db36912f 86%prep
cc6f6e58 87%pear_package_setup
db36912f
AG
88
89%install
90rm -rf $RPM_BUILD_ROOT
cc6f6e58
ER
91install -d $RPM_BUILD_ROOT%{php_pear_dir}
92%pear_package_install
db36912f
AG
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%files
98%defattr(644,root,root,755)
8e80e4b8 99%doc install.log
cc6f6e58
ER
100%doc docs/%{_pearname}/examples
101%{php_pear_dir}/.registry/*.reg
db36912f
AG
102%dir %{php_pear_dir}/%{_class}/%{_subclass}
103%{php_pear_dir}/%{_class}/*.php
104%{php_pear_dir}/%{_class}/%{_subclass}/*.php
cc6f6e58
ER
105
106%files tests
107%defattr(644,root,root,755)
108%{php_pear_dir}/tests/*
This page took 0.102018 seconds and 4 git commands to generate.