]>
Commit | Line | Data |
---|---|---|
46a53307 | 1 | %include /usr/lib/rpm/macros.php |
46a53307 AG |
2 | %define _status alpha |
3 | %define _pearname Services_TwitPic | |
4 | Summary: %{_pearname} - PHP Interface to TwitPics API | |
5 | Summary(pl.UTF-8): %{_pearname} - interfejs PHP do API TwitPics | |
6 | Name: php-pear-%{_pearname} | |
7 | Version: 0.1.0 | |
86ee999f | 8 | Release: 3 |
46a53307 AG |
9 | License: BSD Style |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
12 | # Source0-md5: 7c872e6139fca86f1aaa417c32194e46 | |
13 | URL: http://pear.php.net/package/Services_TwitPic/ | |
a9822a30 | 14 | BuildRequires: php-pear-PEAR >= 1:1.4.0 |
46a53307 | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
38144436 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
46a53307 AG |
17 | Requires: php-pear |
18 | Requires: php-pear-HTTP_Request >= 1.4.3 | |
19 | Requires: php-pear-PEAR >= 1.4.0 | |
d4e5a11b | 20 | Obsoletes: php-pear-Services_TwitPic-tests |
46a53307 AG |
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 | ||
46a53307 AG |
36 | %prep |
37 | %pear_package_setup | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
42 | %pear_package_install | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc install.log docs/Services_TwitPic/docs/example.php | |
50 | %{php_pear_dir}/.registry/*.reg | |
51 | %{php_pear_dir}/Services/TwitPic.php | |
52 | %{php_pear_dir}/Services/TwitPic |