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