]> git.pld-linux.org Git - packages/php-pear-File_MARC.git/blame - php-pear-File_MARC.spec
up to 1.1.1
[packages/php-pear-File_MARC.git] / php-pear-File_MARC.spec
CommitLineData
9b56aff0
AG
1%include /usr/lib/rpm/macros.php
2%define _class File
3%define _subclass MARC
4%define _status beta
5%define _pearname File_MARC
6Summary: %{_pearname} - Parse, modify, and create MARC records
7Summary(pl.UTF-8): %{_pearname} - parsowanie, modyfikacja oraz tworzenie rekordów MARC
8Name: php-pear-%{_pearname}
4f39efba 9Version: 1.1.1
a3dcef71 10Release: 1
9b56aff0
AG
11License: GNU Lesser General Public License
12Group: Development/Languages/PHP
13Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
4f39efba 14# Source0-md5: 81fffe5767e9547dd56b88b932b6a857
9b56aff0 15URL: http://pear.php.net/package/File_MARC/
a30920a8 16BuildRequires: php-pear-PEAR >= 1:1.4.0
9b56aff0 17BuildRequires: rpm-php-pearprov >= 4.4.2-11
d12403e6 18BuildRequires: rpmbuild(macros) >= 1.300
9b56aff0 19Requires: php-pear
300659eb 20Requires: php-pear-PEAR-core >= 1:1.4.0
9b56aff0 21Requires: php-pear-Structures_LinkedList
b0b6c7eb 22Obsoletes: php-pear-File_MARC-tests
9b56aff0
AG
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27The standard for machine-readable cataloging (MARC) records is
28documented at http://loc.gov/marc/. This package enables you to read
29existing MARC records from a file, string, or (using the YAZ
30extension), from a Z39.50 source. You can also use this package to
31create new MARC records.
32
33This package is based on the PHP MARC package, originally called
34"php-marc", that is part of the Emilda Project
35(http://www.emilda.org). Christoffer Landtman generously agreed to
36make the "php-marc" code available under the GNU LGPL so it could be
37used as the basis of this PEAR package.
38
39In PEAR status of this package is: %{_status}.
40
41%description -l pl.UTF-8
42Klasa ta obsługuję standard czytelnych dla komputerów rekordów
43katalogowania (MARC) opisanych na stronie http://loc.gov/marc/ .
44Pakiet ten umożliwia odczyt istniejących rekordów z pliku, łańcucha
45znaków czy też (przy użyciu rozszerzenia YAZ) ze źródła Z39.50.
46Możliwe jest także tworzenie nowych rekordów MARC.
47
48Pakiet ten oparty jest na projekcie PHP MARC, początkowo nazwanym
49"php-marc" będącym częścią projektu Emilda (http://www.emilda.org/).
50Christoffer Landtman zgodził się na udostępnienie kodu "php-marc" na
51zasadach licencji GNU LGPL aby mógł się on stać podstawą tej klasy
52PEAR.
53
54Ta klasa ma w PEAR status: %{_status}.
55
9b56aff0
AG
56%prep
57%pear_package_setup
58
300659eb
ER
59mv docs/File_MARC/examples .
60mv docs/%{_pearname}/{CHANGELOG,LICENSE} .
61
9b56aff0
AG
62%install
63rm -rf $RPM_BUILD_ROOT
64install -d $RPM_BUILD_ROOT%{php_pear_dir}
65%pear_package_install
66
6f8f708f
ER
67install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
68cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
69
9b56aff0
AG
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%defattr(644,root,root,755)
300659eb
ER
75%doc CHANGELOG
76%doc install.log
9b56aff0 77%{php_pear_dir}/.registry/*.reg
9b56aff0 78%{php_pear_dir}/File/MARC.php
300659eb 79%{php_pear_dir}/File/MARCBASE.php
9b56aff0 80%{php_pear_dir}/File/MARCXML.php
300659eb 81%{php_pear_dir}/File/MARC
9b56aff0 82
6f8f708f 83%{_examplesdir}/%{name}-%{version}
This page took 0.123774 seconds and 4 git commands to generate.