[packages/php-pear-Structures_Graph] up to 1.1.1
glen
glen at pld-linux.org
Wed Sep 30 09:49:23 CEST 2015
commit 515a422eab69e833203e13696c821f335c67ec77
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 30 10:49:18 2015 +0300
up to 1.1.1
php-pear-Structures_Graph.spec | 38 ++++++++++++++++++--------------------
1 file changed, 18 insertions(+), 20 deletions(-)
---
diff --git a/php-pear-Structures_Graph.spec b/php-pear-Structures_Graph.spec
index 5d70b40..9f81467 100644
--- a/php-pear-Structures_Graph.spec
+++ b/php-pear-Structures_Graph.spec
@@ -1,22 +1,19 @@
+%define status stable
+%define pearname Structures_Graph
%include /usr/lib/rpm/macros.php
-%define _class Structures
-%define _subclass Graph
-%define _status stable
-%define _pearname %{_class}_%{_subclass}
-
-Summary: %{_pearname} - graph datastructure manipulation library
-Summary(pl.UTF-8): %{_pearname} - biblioteka do obróbki struktur danych grafów
-Name: php-pear-%{_pearname}
-Version: 1.0.4
-Release: 2
+Summary: %{pearname} - graph datastructure manipulation library
+Summary(pl.UTF-8): %{pearname} - biblioteka do obróbki struktur danych grafów
+Name: php-pear-%{pearname}
+Version: 1.1.1
+Release: 1
License: LGPL
Group: Development/Languages/PHP
-Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: b99c5e9ac348a2e81515ba16deb7ded3
+Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: ee63a3d24c94338af90334f3dd42c518
URL: http://pear.php.net/package/Structures_Graph/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: rpmbuild(macros) >= 1.654
Requires: php-pear >= 4:1.0-9.5
Requires: php-pear-PEAR-core >= 1:1.2
Obsoletes: php-pear-Structures_Graph-tests
@@ -30,7 +27,7 @@ with data and metadata stored in nodes. The library provides functions
for graph traversing as well as for characteristic extraction from the
graph topology.
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
%description -l pl.UTF-8
Za pomocą Structures_Graph możliwe jest tworzenie i manipulacja
@@ -39,17 +36,18 @@ nieskierowane z danymi i metadanymi zapisanymi w wierzchołkach.
Biblioteka dostarcza funkcje do przechodzenia grafów, a także
wyciągania charakterystyki z topologii grafu.
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
%prep
%pear_package_setup
-rm .%{php_pear_dir}/data/Structures_Graph/LICENSE
+mv docs/%{pearname}/docs/* .
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_examplesdir}/%{name}-%{version}}
%pear_package_install
+cp -a tutorials/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -57,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc install.log
-%doc docs/%{_pearname}/docs/*
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/Structures/*.php
+%{php_pear_dir}/Structures/Graph
+%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Structures_Graph.git/commitdiff/515a422eab69e833203e13696c821f335c67ec77
More information about the pld-cvs-commit
mailing list