]>
Commit | Line | Data |
---|---|---|
46a53307 AG |
1 | %define _status alpha |
2 | %define _pearname Services_TwitPic | |
3 | Summary: %{_pearname} - PHP Interface to TwitPics API | |
4 | Summary(pl.UTF-8): %{_pearname} - interfejs PHP do API TwitPics | |
5 | Name: php-pear-%{_pearname} | |
6 | Version: 0.1.0 | |
86ee999f | 7 | Release: 3 |
46a53307 AG |
8 | License: BSD Style |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
11 | # Source0-md5: 7c872e6139fca86f1aaa417c32194e46 | |
12 | URL: http://pear.php.net/package/Services_TwitPic/ | |
a9822a30 | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.0 |
46a53307 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
38144436 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
46a53307 AG |
16 | Requires: php-pear |
17 | Requires: php-pear-HTTP_Request >= 1.4.3 | |
18 | Requires: php-pear-PEAR >= 1.4.0 | |
d4e5a11b | 19 | Obsoletes: php-pear-Services_TwitPic-tests |
46a53307 AG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | An interface for uploading pictures to TwitPic and optionally posting | |
25 | them (along with status messages) to Twitter as well. | |
26 | ||
27 | In PEAR status of this package is: %{_status}. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Interfejs do wgrywania zdjęć do serwisu TwitPic oraz opcjonalnie | |
31 | wysyłanie ich (wraz z komunikatem) do serwisu Twitter. | |
32 | ||
33 | Ta klasa ma w PEAR status: %{_status}. | |
34 | ||
46a53307 AG |
35 | %prep |
36 | %pear_package_setup | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
41 | %pear_package_install | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc install.log docs/Services_TwitPic/docs/example.php | |
49 | %{php_pear_dir}/.registry/*.reg | |
50 | %{php_pear_dir}/Services/TwitPic.php | |
51 | %{php_pear_dir}/Services/TwitPic |