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