]> git.pld-linux.org Git - packages/php-pear-File_Bittorrent.git/blob - php-pear-File_Bittorrent.spec
- rel 2
[packages/php-pear-File_Bittorrent.git] / php-pear-File_Bittorrent.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          File
3 %define         _subclass       Bittorrent
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - Decode and Encode data in Bittorrent format
8 Summary(pl):    %{_pearname} - Kodowanie i dekodowanie danych w formacie Bittorent
9 Name:           php-pear-%{_pearname}
10 Version:        0.1.6
11 Release:        2
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  bc276a2f4119527f6da9ac28016fb374
16 URL:            http://pear.php.net/package/File_Bittorrent/
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 Requires:       php-pear
19 Requires:       php-pear-PHP_Compat >= 1.1.0
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This package consists of two classes which handles the encoding and
25 decoding of data in Bittorrent format.
26
27 You can also extract useful informations from .torrent files.
28
29 Usage Example
30 http://m.tacker.org/pear/File_Bittorrent/example.phps
31
32 In PEAR status of this package is: %{_status}.
33
34 %description -l pl
35 Ten pakiet dostarcza dwie klasy obs³uguj±ce kodowanie i dekodowanie
36 danych w formacie Bittorent.
37
38 Mo¿na tak¿e wydobyæ wiele przydatnych informacji z plików .torrent.
39
40 Przyk³ad u¿ycia:
41 http://m.tacker.org/pear/File_Bittorrent/example.phps
42
43 Ta klasa ma w PEAR status: %{_status}.
44
45 %prep
46 %pear_package_setup
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
51 %pear_package_install
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc install.log
59 %doc docs/%{_pearname}/{example.php,freebsd.torrent,torrentinfo.php}
60 %{php_pear_dir}/.registry/*.reg
61 %{php_pear_dir}/%{_class}/%{_subclass}
This page took 0.100739 seconds and 3 git commands to generate.