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