]> git.pld-linux.org Git - packages/php-horde-Horde_Argv.git/blame - php-horde-Horde_Argv.spec
- use github url to package, as pear url is not specific
[packages/php-horde-Horde_Argv.git] / php-horde-Horde_Argv.spec
CommitLineData
ffec5cff
ER
1%define status stable
2%define pearname Horde_Argv
3%include /usr/lib/rpm/macros.php
4Summary: %{pearname} - Horde command-line argument parsing package
5Name: php-horde-Horde_Argv
6Version: 1.0.0
7Release: 1
8License: BSD
9Group: Development/Languages/PHP
10Source0: http://pear.horde.org/get/%{pearname}-%{version}.tgz
11# Source0-md5: 60540cb7e0b290e58027a001d864d19a
a26aba28 12URL: https://github.com/horde/horde/tree/master/framework/Argv/
ffec5cff
ER
13BuildRequires: php-channel(pear.horde.org)
14BuildRequires: php-packagexml2cl
15BuildRequires: php-pear-PEAR >= 1:1.7.0
16BuildRequires: rpm-php-pearprov >= 4.4.2-11
17BuildRequires: rpmbuild(macros) >= 1.610
18Requires: php-channel(pear.horde.org)
19Requires: php-horde-Horde_Exception < 2.0.0
20Requires: php-horde-Horde_Translation < 2.0.0
42789427 21Requires: php-pear >= 4:1.3.6-2
ffec5cff
ER
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This package provides classes for parsing command line arguments with
27various actions, providing help, grouping options, and more.
28
29In PEAR status of this package is: %{status}.
30
31%prep
32%pear_package_setup
33
34%build
35packagexml2cl package.xml > ChangeLog
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT%{php_pear_dir}
40%pear_package_install
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc ChangeLog install.log
48%{php_pear_dir}/.registry/.channel.*/*.reg
49%{php_pear_dir}/Horde/Argv
50%{php_pear_dir}/data/Horde_Argv
This page took 0.060909 seconds and 4 git commands to generate.