]>
Commit | Line | Data |
---|---|---|
97b8a8b3 | 1 | Summary: Z39.50 protocol support library |
16ed4c28 | 2 | Summary(pl.UTF-8): Biblioteka obsługująca protokół Z39.50 |
97b8a8b3 | 3 | Name: yaz |
4ac52e8b JB |
4 | Version: 5.30.3 |
5 | Release: 1 | |
97b8a8b3 | 6 | License: BSD-like |
97b8a8b3 JB |
7 | Group: Libraries |
8 | Source0: http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz | |
4ac52e8b JB |
9 | # Source0-md5: b32756b44fcde17bee09ea53b2ee334c |
10 | URL: https://www.indexdata.com/resources/software/yaz/ | |
ce92897c | 11 | BuildRequires: autoconf >= 2.60 |
de2c8545 | 12 | BuildRequires: automake >= 1:1.11.1 |
ce92897c | 13 | BuildRequires: bison |
de2c8545 | 14 | BuildRequires: gnutls-devel |
d3c3030d | 15 | BuildRequires: hiredis-devel >= 0.10 |
de2c8545 | 16 | BuildRequires: libgcrypt-devel >= 1.2 |
5e0a874a | 17 | BuildRequires: libicu-devel >= 3.4 |
d3c3030d | 18 | BuildRequires: libmemcached-devel >= 0.40 |
145d8277 | 19 | BuildRequires: libtool >= 1:1.4.2-9 |
97b8a8b3 | 20 | BuildRequires: libwrap-devel |
ce92897c JB |
21 | BuildRequires: libxml2-devel >= 2.0 |
22 | BuildRequires: libxslt-devel >= 1.1.0 | |
ce92897c | 23 | BuildRequires: pkgconfig |
339f3710 | 24 | BuildRequires: readline-devel >= 5.0 |
6e38089a | 25 | BuildRequires: tcl >= 8.2 |
d3c3030d JB |
26 | Requires: hiredis >= 0.10 |
27 | Requires: libgcrypt >= 1.2 | |
28 | Requires: libmemcached >= 0.40 | |
29 | Requires: libxslt >= 1.1.0 | |
97b8a8b3 JB |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | YAZ is a C library for developing client - and server applications | |
34 | using the ANSI/NISO Z39.50 protocol for Information Retrieval. | |
35 | ||
893180b4 JR |
36 | %description -l pl.UTF-8 |
37 | YAZ to biblioteka w C do tworzenia aplikacji klienckich i serwerów | |
38 | korzystających z protokołu ANSI/NISO Z39.50 do uzyskiwania informacji. | |
97b8a8b3 JB |
39 | |
40 | %package devel | |
41 | Summary: Header files for YAZ library | |
16ed4c28 | 42 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki YAZ |
97b8a8b3 | 43 | Group: Development/Libraries |
7785bb37 | 44 | Requires: %{name} = %{version}-%{release} |
de2c8545 | 45 | Requires: gnutls-devel |
d3c3030d | 46 | Requires: hiredis-devel >= 0.10 |
de2c8545 JB |
47 | Requires: libgcrypt-devel >= 1.2 |
48 | Requires: libicu-devel >= 3.4 | |
d3c3030d | 49 | Requires: libmemcached-devel >= 0.40 |
97b8a8b3 | 50 | Requires: libwrap-devel |
ce92897c JB |
51 | Requires: libxml2-devel >= 2.0 |
52 | Requires: libxslt-devel >= 1.1.0 | |
97b8a8b3 JB |
53 | |
54 | %description devel | |
55 | Header files for YAZ library. | |
56 | ||
893180b4 JR |
57 | %description devel -l pl.UTF-8 |
58 | Pliki nagłówkowe biblioteki YAZ. | |
97b8a8b3 JB |
59 | |
60 | %package static | |
61 | Summary: YAZ static libraries | |
16ed4c28 | 62 | Summary(pl.UTF-8): Statyczne biblioteki YAZ |
97b8a8b3 | 63 | Group: Development/Libraries |
7785bb37 | 64 | Requires: %{name}-devel = %{version}-%{release} |
97b8a8b3 JB |
65 | |
66 | %description static | |
67 | YAZ static libraries. | |
68 | ||
893180b4 | 69 | %description static -l pl.UTF-8 |
97b8a8b3 JB |
70 | Statyczne biblioteki YAZ. |
71 | ||
72 | %prep | |
73 | %setup -q | |
97b8a8b3 JB |
74 | |
75 | %build | |
701e7ffa | 76 | %{__libtoolize} |
fcbd12dd | 77 | %{__aclocal} -I m4 |
1bfb8e15 | 78 | %{__autoconf} |
4ac52e8b | 79 | %{__autoheader} |
1bfb8e15 | 80 | %{__automake} |
97b8a8b3 | 81 | %configure \ |
de2c8545 | 82 | --enable-tcpd |
97b8a8b3 JB |
83 | |
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
fd635697 | 88 | |
97b8a8b3 | 89 | %{__make} install \ |
e76430fd | 90 | docDATA_INSTALL="install -p" \ |
97b8a8b3 JB |
91 | DESTDIR=$RPM_BUILD_ROOT |
92 | ||
4ac52e8b | 93 | %{__mv} $RPM_BUILD_ROOT%{_docdir}/yaz doc-dist |
97b8a8b3 | 94 | |
8c82c64e JB |
95 | # obsoleted by pkg-config |
96 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libyaz*.la | |
97 | ||
97b8a8b3 JB |
98 | %clean |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
101 | %post -p /sbin/ldconfig | |
102 | %postun -p /sbin/ldconfig | |
103 | ||
104 | %files | |
105 | %defattr(644,root,root,755) | |
7032edcf | 106 | %doc ChangeLog LICENSE NEWS README.md |
145d8277 | 107 | %attr(755,root,root) %{_bindir}/yaz-asncomp |
d3f423d3 | 108 | %attr(755,root,root) %{_bindir}/yaz-client* |
145d8277 | 109 | %attr(755,root,root) %{_bindir}/yaz-iconv |
c3e0246d | 110 | %attr(755,root,root) %{_bindir}/yaz-icu |
111 | %attr(755,root,root) %{_bindir}/yaz-illclient | |
5e0a874a | 112 | %attr(755,root,root) %{_bindir}/yaz-json-parse |
145d8277 | 113 | %attr(755,root,root) %{_bindir}/yaz-marcdump |
7032edcf | 114 | %attr(755,root,root) %{_bindir}/yaz-record-conv |
f7391b90 | 115 | %attr(755,root,root) %{_bindir}/yaz-url |
d3f423d3 | 116 | %attr(755,root,root) %{_bindir}/yaz-ztest* |
97b8a8b3 | 117 | %attr(755,root,root) %{_bindir}/zoomsh |
ce92897c | 118 | %attr(755,root,root) %{_libdir}/libyaz.so.*.*.* |
7d98285c | 119 | %attr(755,root,root) %ghost %{_libdir}/libyaz.so.5 |
ce92897c | 120 | %attr(755,root,root) %{_libdir}/libyaz_icu.so.*.*.* |
7d98285c | 121 | %attr(755,root,root) %ghost %{_libdir}/libyaz_icu.so.5 |
ce92897c | 122 | %attr(755,root,root) %{_libdir}/libyaz_server.so.*.*.* |
7d98285c | 123 | %attr(755,root,root) %ghost %{_libdir}/libyaz_server.so.5 |
cfe882ef | 124 | %dir %{_datadir}/yaz |
73fe0ace | 125 | %{_datadir}/yaz/etc |
cfe882ef AM |
126 | %{_datadir}/yaz/ill |
127 | %{_datadir}/yaz/z39.50 | |
73fe0ace | 128 | %{_mandir}/man1/yaz-asncomp.1* |
d3f423d3 | 129 | %{_mandir}/man1/yaz-client*.1* |
145d8277 | 130 | %{_mandir}/man1/yaz-iconv.1* |
c3e0246d | 131 | %{_mandir}/man1/yaz-icu.1* |
132 | %{_mandir}/man1/yaz-illclient.1* | |
5e0a874a | 133 | %{_mandir}/man1/yaz-json-parse.1* |
145d8277 | 134 | %{_mandir}/man1/yaz-marcdump.1* |
7032edcf | 135 | %{_mandir}/man1/yaz-record-conv.1* |
f7391b90 | 136 | %{_mandir}/man1/yaz-url.1* |
d3f423d3 | 137 | %{_mandir}/man1/zoomsh.1* |
c3e0246d | 138 | %{_mandir}/man7/bib1-attr.7* |
d3f423d3 | 139 | %{_mandir}/man7/yaz.7* |
4bfcb881 | 140 | %{_mandir}/man7/yaz-log.7* |
d3f423d3 | 141 | %{_mandir}/man8/yaz-ztest*.8* |
97b8a8b3 JB |
142 | |
143 | %files devel | |
144 | %defattr(644,root,root,755) | |
c3e0246d | 145 | %doc doc-dist/* |
97b8a8b3 | 146 | %attr(755,root,root) %{_bindir}/yaz-config |
ce92897c JB |
147 | %attr(755,root,root) %{_libdir}/libyaz.so |
148 | %attr(755,root,root) %{_libdir}/libyaz_icu.so | |
149 | %attr(755,root,root) %{_libdir}/libyaz_server.so | |
97b8a8b3 | 150 | %{_includedir}/yaz |
c3e0246d | 151 | %{_pkgconfigdir}/yaz.pc |
4ac52e8b JB |
152 | %{_pkgconfigdir}/yaz-icu.pc |
153 | %{_pkgconfigdir}/yaz-server.pc | |
5e0a874a JB |
154 | %{_aclocaldir}/yaz.m4 |
155 | %{_mandir}/man1/yaz-config.1* | |
97b8a8b3 JB |
156 | |
157 | %files static | |
158 | %defattr(644,root,root,755) | |
ce92897c JB |
159 | %{_libdir}/libyaz.a |
160 | %{_libdir}/libyaz_icu.a | |
161 | %{_libdir}/libyaz_server.a |