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