]> git.pld-linux.org Git - packages/php-pear-Structures_LinkedList.git/commitdiff
- new auto/ac/php-pear-Structures_LinkedList-0_1_4-1 auto/th/php-pear-Structures_LinkedList-0_1_4-1
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 30 Aug 2008 21:27:14 +0000 (21:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-Structures_LinkedList.spec -> 1.1

php-pear-Structures_LinkedList.spec [new file with mode: 0644]

diff --git a/php-pear-Structures_LinkedList.spec b/php-pear-Structures_LinkedList.spec
new file mode 100644 (file)
index 0000000..fb8beec
--- /dev/null
@@ -0,0 +1,71 @@
+%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
This page took 0.250542 seconds and 4 git commands to generate.