]> git.pld-linux.org Git - packages/php-pear-XML_NITF.git/blob - php-pear-XML_NITF.spec
dbb7b022f3d65438f8e07eff2e41d8de91f8e64c
[packages/php-pear-XML_NITF.git] / php-pear-XML_NITF.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          XML
3 %define         _subclass       NITF
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - parse NITF documents
8 Summary(pl):    %{_pearname} - analiza dokumentów NITF
9 Name:           php-pear-%{_pearname}
10 Version:        1.0.1
11 Release:        1
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  71e52b23b5c36572f6aaf593203eb1d1
16 URL:            http://pear.php.net/package/XML_NITF/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This package provides a NITF XML parser. The parser was designed with
24 NITF version 3.1, but should be forward-compatible when new versions
25 of the NITF DTD are produced. Various methods for accessing the major
26 elements of the document, such as the hedline(s), byline, and lede are
27 provided. This class was originally tested against the Associated
28 Press's (AP) XML data feed.
29
30 In PEAR status of this package is: %{_status}.
31
32 %description -l pl
33 Ten pakiet udostêpnia analizator dokumentów XML NITF. Analizator
34 zosta³ zaprojektowany dla NITF w wersji 3.1, ale powinien byæ
35 kompatybilny w przód, kiedy zostan± wydane nowe wersje NITF DTD.
36 Dostêpne s± ró¿ne metody do dostêpu do g³ównych elementów dokumentu,
37 takich jak hedline, byline i lede. Ta klasa by³a oryginalnie testowana
38 danymi XML z Associated Press (AP).
39
40 Ta klasa ma w PEAR status: %{_status}.
41
42 %prep
43 %setup -q -c
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
48
49 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %{php_pear_dir}/%{_class}/*.php
This page took 0.063402 seconds and 2 git commands to generate.