]> git.pld-linux.org Git - packages/php-pear-Image_GraphViz.git/blobdiff - php-pear-Image_GraphViz.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Image_GraphViz.git] / php-pear-Image_GraphViz.spec
index 1ce5c510205d70fb4df3d2d843349f52818a47b8..3cac35bab6267b5dbdebaeec88aaca48ae1d8d96 100644 (file)
@@ -1,17 +1,18 @@
-%include       /usr/lib/rpm/macros.php
-%define                _class          Image
-%define                _subclass       GraphViz
-%define                _pearname       %{_class}_%{_subclass}
-Summary:       %{_class}_%{_subclass} - Interface to AT&T's GraphViz tools
-Summary(pl):   %{_class}_%{_subclass} - interfejs do narzêdzi GraphViz AT&T
+%define                _status         stable
+%define                _pearname       Image_GraphViz
+Summary:       %{_pearname} - Interface to AT&T's GraphViz tools
+Summary(pl.UTF-8):     %{_pearname} - interfejs do narzędzi GraphViz AT&T
 Name:          php-pear-%{_pearname}
-Version:       0.2
+Version:       1.3.0
 Release:       1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-URL:           http://pear.php.net/
-BuildRequires: rpm-php-pearprov
+# Source0-md5: b6ed7a04682818c36aab775f8392005f
+URL:           http://pear.php.net/package/Image_GraphViz/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.300
 Requires:      php-pear
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,23 +22,28 @@ The GraphViz class allows for the creation of and the work with
 directed and undirected graphs and their visualization with AT&T's
 GraphViz tools.
 
-%description -l pl
-Klasa GraphViz pozwala na tworzenie oraz pracê z bezpo¶rednimi i
-niebezpo¶rednimi grafami, a tak¿e ich wizualizacjê za pomoc± narzêdzi
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Klasa GraphViz pozwala na tworzenie oraz pracę z bezpośrednimi i
+niebezpośrednimi grafami, a także ich wizualizację za pomocą narzędzi
 GraphViz AT&T.
 
+Ta klasa ma w PEAR status: %{_status}.
+
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{php_pear_dir}/%{_class}/*.php
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Image/*.php
This page took 0.47464 seconds and 4 git commands to generate.