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