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