]> git.pld-linux.org Git - packages/php-pear-Services_ExchangeRates.git/blob - php-pear-Services_ExchangeRates.spec
8b01dcfdd7398f839ce60f82b3a9b93a172662c5
[packages/php-pear-Services_ExchangeRates.git] / php-pear-Services_ExchangeRates.spec
1 %define         status          beta
2 %define         pearname        Services_ExchangeRates
3 %include        /usr/lib/rpm/macros.php
4 Summary:        %{pearname} - performs currency conversion
5 Summary(pl.UTF-8):      %{pearname} - konwersja między walutami
6 Name:           php-pear-%{pearname}
7 Version:        0.8.0
8 Release:        1
9 License:        PHP 2.02
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
12 # Source0-md5:  4b19b31222496c465fc3bdedc414bfbd
13 URL:            http://pear.php.net/package/Services_ExchangeRates/
14 BuildRequires:  php-pear-PEAR >= 1:1.9.0
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.580
17 Requires:       php-pear
18 Requires:       php-pear-Cache_Lite
19 Requires:       php-pear-HTTP_Request2
20 Requires:       php-pear-XML_Serializer >= 0.20.0
21 Requires:       php-pear-XML_Tree >= 2.0.0-0.RC2
22 Obsoletes:      php-pear-Services_ExchangeRates-tests
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Extendable to work with any source that provides exchange rate data,
28 this class downloads exchange rates and the name of each currency (US
29 Dollar, Euro, Maltese Lira, etc.) and converts between any two of the
30 available currencies (the actual number of currencies supported
31 depends on the exchange rate feed used).
32
33 In PEAR status of this package is: %{status}.
34
35 %description -l pl.UTF-8
36 Ta klasa, rozszerzalna tak, żeby działała z dowolnymi źródłami danych
37 o współczynnikach wymiany, pobiera współczynniki i nazwy każdej z
38 walut (dolara amerykańskiego, euro, liry maltańskiej itp.) i
39 konwertuje pomiędzy dwiema dowolnymi z dostępnych walut (właściwa
40 liczba obsługiwanych walut zależy od używanych źródeł współczynników
41 wymiany).
42
43 Ta klasa ma w PEAR status: %{status}.
44
45 %prep
46 %pear_package_setup
47
48 install -d examples
49 mv docs/%{pearname}/*.php examples
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 %pear_package_install
55
56 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc install.log
65 %{php_pear_dir}/.registry/*.reg
66 %{php_pear_dir}/Services/*.php
67 %{php_pear_dir}/Services/ExchangeRates
68 %{php_pear_dir}/data/Services_ExchangeRates
69 %{_examplesdir}/%{name}-%{version}
This page took 0.023191 seconds and 2 git commands to generate.