]> git.pld-linux.org Git - packages/php-pear-Services_TwitPic.git/blob - php-pear-Services_TwitPic.spec
a7f06fd0f038bd8ec9102c96df718ad537fe39d5
[packages/php-pear-Services_TwitPic.git] / php-pear-Services_TwitPic.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Services
3 %define         _subclass       TwitPic
4 %define         _status         alpha
5 %define         _pearname       Services_TwitPic
6 Summary:        %{_pearname} - PHP Interface to TwitPics API
7 Summary(pl.UTF-8):      %{_pearname} - interfejs PHP do API TwitPics
8 Name:           php-pear-%{_pearname}
9 Version:        0.1.0
10 Release:        1
11 License:        BSD Style
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  7c872e6139fca86f1aaa417c32194e46
15 URL:            http://pear.php.net/package/Services_TwitPic/
16 BuildRequires:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 Requires:       php-pear
19 Requires:       php-pear-HTTP_Request >= 1.4.3
20 Requires:       php-pear-PEAR >= 1.4.0
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 An interface for uploading pictures to TwitPic and optionally posting
26 them (along with status messages) to Twitter as well.
27
28 In PEAR status of this package is: %{_status}.
29
30 %description -l pl.UTF-8
31 Interfejs do wgrywania zdjęć do serwisu TwitPic oraz opcjonalnie
32 wysyłanie ich (wraz z komunikatem) do serwisu Twitter.
33
34 Ta klasa ma w PEAR status: %{_status}.
35
36 %package tests
37 Summary:        Tests for PEAR::%{_pearname}
38 Summary(pl.UTF-8):      Testy dla PEAR::%{_pearname}
39 Group:          Development/Languages/PHP
40 AutoReq:        no
41 Requires:       %{name} = %{version}-%{release}
42 AutoProv:       no
43
44 %description tests
45 Tests for PEAR::%{_pearname}.
46
47 %description tests -l pl.UTF-8
48 Testy dla PEAR::%{_pearname}.
49
50 %prep
51 %pear_package_setup
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
56 %pear_package_install
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc install.log docs/Services_TwitPic/docs/example.php
64 %{php_pear_dir}/.registry/*.reg
65 %{php_pear_dir}/Services/TwitPic.php
66 %{php_pear_dir}/Services/TwitPic
67
68 %files tests
69 %defattr(644,root,root,755)
70 %{php_pear_dir}/tests/Services_TwitPic
This page took 0.05989 seconds and 2 git commands to generate.