SPECS: php-pear-File_MARC.spec (NEW) - new
adamg
adamg at pld-linux.org
Sat Dec 27 02:12:52 CET 2008
Author: adamg Date: Sat Dec 27 01:12:52 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
php-pear-File_MARC.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-File_MARC.spec
diff -u /dev/null SPECS/php-pear-File_MARC.spec:1.1
--- /dev/null Sat Dec 27 02:12:52 2008
+++ SPECS/php-pear-File_MARC.spec Sat Dec 27 02:12:47 2008
@@ -0,0 +1,101 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class File
+%define _subclass MARC
+%define _status beta
+%define _pearname File_MARC
+Summary: %{_pearname} - Parse, modify, and create MARC records
+Summary(pl.UTF-8): %{_pearname} - parsowanie, modyfikacja oraz tworzenie rekordów MARC
+Name: php-pear-%{_pearname}
+Version: 0.2.3
+Release: 1
+License: GNU Lesser General Public License
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 61212aa3c481990e93f3075eef729477
+URL: http://pear.php.net/package/File_MARC/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: php-pear
+Requires: php-pear-PEAR >= 1.4.0
+Requires: php-pear-Structures_LinkedList
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The standard for machine-readable cataloging (MARC) records is
+documented at http://loc.gov/marc/. This package enables you to read
+existing MARC records from a file, string, or (using the YAZ
+extension), from a Z39.50 source. You can also use this package to
+create new MARC records.
+
+This package is based on the PHP MARC package, originally called
+"php-marc", that is part of the Emilda Project
+(http://www.emilda.org). Christoffer Landtman generously agreed to
+make the "php-marc" code available under the GNU LGPL so it could be
+used as the basis of this PEAR package.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Klasa ta obsługuję standard czytelnych dla komputerów rekordów
+katalogowania (MARC) opisanych na stronie http://loc.gov/marc/ .
+Pakiet ten umożliwia odczyt istniejących rekordów z pliku, łańcucha
+znaków czy też (przy użyciu rozszerzenia YAZ) ze źródła Z39.50.
+Możliwe jest także tworzenie nowych rekordów MARC.
+
+Pakiet ten oparty jest na projekcie PHP MARC, początkowo nazwanym
+"php-marc" będącym częścią projektu Emilda (http://www.emilda.org/).
+Christoffer Landtman zgodził się na udostępnienie kodu "php-marc" na
+zasadach licencji GNU LGPL aby mógł się on stać podstawą tej klasy
+PEAR.
+
+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
+
+%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/File_MARC/{examples/example.mrc,examples/marc_yaz.php,examples/read.php,examples/subfields.php,CHANGELOG,LICENSE}
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/File/MARC
+%{php_pear_dir}/File/MARC.php
+%{php_pear_dir}/File/MARCFLAT.php
+%{php_pear_dir}/File/MARCXML.php
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/File_MARC
+
+%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/12/27 01:12:47 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list