]> git.pld-linux.org Git - SPECS.git/blob - php-pear-File_Bittorrent2.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / php-pear-File_Bittorrent2.spec
1 %define         _status         stable
2 %define         _pearname       File_Bittorrent2
3 Summary:        %{_pearname} - Decode and Encode data in Bittorrent format
4 Summary(pl.UTF-8):      %{_pearname} - Kodowanie i dekodowanie danych w formacie Bittorrent
5 Name:           php-pear-%{_pearname}
6 Version:        1.3.1
7 Release:        3
8 License:        LGPL
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  32f58ecd1ed6ed397d002c26f0f343d3
12 URL:            http://pear.php.net/package/File_Bittorrent2/
13 BuildRequires:  php-pear-PEAR
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.300
16 Requires:       php(core) >= 5.0.0
17 Requires:       php-pear
18 Obsoletes:      php-pear-File_Bittorrent2-tests
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This package consists of three classes which handles the encoding and
24 decoding of data in Bittorrent format.
25
26 You can also extract useful informations from .torrent files, create
27 .torrent files and query the torrent's scrape page to get its
28 statistics.
29
30 PHP5 only.
31
32 In PEAR status of this package is: %{_status}.
33
34 %description -l pl.UTF-8
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 oraz pobrać statystykę ze strony danego torrenta.
40
41 Ta klasa ma w PEAR status: %{_status}.
42
43 %prep
44 %pear_package_setup
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 %pear_package_install
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc install.log
57 %doc docs/File_Bittorrent2/{example.php,example_mktorrent.php,install-x86-universal-2005.0.iso.torrent,scrape.php,torrentinfo.php}
58 %{php_pear_dir}/.registry/*.reg
59 %{php_pear_dir}/File/Bittorrent2
This page took 0.082473 seconds and 3 git commands to generate.