]> git.pld-linux.org Git - packages/php-pear-Services_Amazon.git/blob - php-pear-Services_Amazon.spec
- tabs in preamble
[packages/php-pear-Services_Amazon.git] / php-pear-Services_Amazon.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Services
3 %define         _subclass       Amazon
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - access to Amazon.com's web services
8 Summary(pl.UTF-8):      %{_pearname} - dostęp do usług sieciowych Amazon.com
9 Name:           php-pear-%{_pearname}
10 Version:        0.6.0
11 Release:        1
12 License:        BSD
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  904b114139c81799411bb4c56e49a555
16 URL:            http://pear.php.net/package/Services_Amazon/
17 BuildRequires:  php-pear-PEAR
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 BuildRequires:  rpmbuild(macros) >= 1.300
20 Requires:       php-pear
21 Requires:       php-pear-HTTP_Client
22 Requires:       php-pear-HTTP_Request
23 Requires:       php-pear-PEAR-core
24 Requires:       php-pear-XML_Serializer >= 0.17.0
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _noautoreq  'pear(Cache.*)'
29
30 %description
31 Services_Amazon uses Amazon.com's web services to allow developers to
32 search and provide associate links for specific ISBN numbers, authors,
33 artist, directors, and publishers among other things.
34
35 In PEAR status of this package is: %{_status}.
36
37 %description -l pl.UTF-8
38 Services_Amazon za pomocą usług sieciowych Amazon.com pozwala
39 deweloperom na wyszukiwanie i dostarczanie adresów m.in. dla
40 konkretnych numerów ISBN, autorów, artystów, reżyserów czy wydawców.
41
42 Ta klasa ma w PEAR status: %{_status}.
43
44 %prep
45 %pear_package_setup
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{php_pear_dir}
50 %pear_package_install
51
52 %post
53 if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
54         cat %{_docdir}/%{name}-%{version}/optional-packages.txt
55 fi
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc install.log optional-packages.txt
63 %doc docs/%{_pearname}/*
64 %{php_pear_dir}/.registry/*.reg
65 %{php_pear_dir}/%{_class}/*.php
This page took 0.102571 seconds and 3 git commands to generate.