SPECS: php-pear-Structures_LinkedList.spec (NEW) - new

adamg adamg at pld-linux.org
Sat Aug 30 23:27:19 CEST 2008


Author: adamg                        Date: Sat Aug 30 21:27:19 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   php-pear-Structures_LinkedList.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php-pear-Structures_LinkedList.spec
diff -u /dev/null SPECS/php-pear-Structures_LinkedList.spec:1.1
--- /dev/null	Sat Aug 30 23:27:20 2008
+++ SPECS/php-pear-Structures_LinkedList.spec	Sat Aug 30 23:27:14 2008
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		_class		Structures
+%define		_subclass	LinkedList
+%define		_status		beta
+%define		_pearname	Structures_LinkedList
+
+Summary:	%{_pearname} - Implements singly and doubly-linked lists
+Summary(pl.UTF-8):	%{_pearname} - implementacja jedno- i dwukierunkowych list
+Name:		php-pear-%{_pearname}
+Version:	0.1.4
+Release:	1
+License:	Apache v2.0
+Group:		Development/Languages/PHP
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5:	c2a75c6acf1307c885649ae532725242
+URL:		http://pear.php.net/package/Structures_LinkedList/
+BuildRequires:	php-pear-PEAR
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+Requires:	php-pear
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A singly-linked list offers the ability to insert or delete nodes at
+any point within the list. A doubly-linked list also offers the
+ability to request previous nodes in the list.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Lista jednokierunkowych pozwala na wstawienie lub usunięcie elementów
+w dowolnym miejscu listy. Lista dwukierunkowa pozwala także na
+pobranie elementu poprzedniego.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
+Group:		Development/Languages/PHP
+AutoReq:	no
+Requires:	%{name} = %{version}-%{release}
+AutoProv:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl.UTF-8
+Testy dla PEAR::%{_pearname}.
+
+%prep
+%pear_package_setup
+sed -i -e 's#Single.php#%{_class}/%{_subclass}/Single.php#' ./%{php_pear_dir}/%{_class}/%{_subclass}/Double.php
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc install.log docs/Structures_LinkedList/{examples,CHANGELOG}
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/%{_class}/%{_subclass}
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/Structures_LinkedList
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/08/30 21:27:14  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list