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