]> git.pld-linux.org Git - packages/yaz.git/blob - yaz.spec
- updated to 5.0.16
[packages/yaz.git] / yaz.spec
1 Summary:        Z39.50 protocol support library
2 Summary(pl.UTF-8):      Biblioteka obsługująca protokół Z39.50
3 Name:           yaz
4 Version:        5.0.16
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
9 # Source0-md5:  dd72b805954c8ab876898777ac68e013
10 URL:            http://www.indexdata.dk/yaz/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake >= 1:1.11.1
13 BuildRequires:  bison
14 BuildRequires:  gnutls-devel
15 BuildRequires:  libgcrypt-devel >= 1.2
16 BuildRequires:  libicu-devel >= 3.4
17 BuildRequires:  libmemcached-devel
18 BuildRequires:  libtool >= 1:1.4.2-9
19 BuildRequires:  libwrap-devel
20 BuildRequires:  libxml2-devel >= 2.0
21 BuildRequires:  libxslt-devel >= 1.1.0
22 BuildRequires:  pkgconfig
23 BuildRequires:  readline-devel >= 5.0
24 BuildRequires:  tcl >= 8.2
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
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.
34
35 %package devel
36 Summary:        Header files for YAZ library
37 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki YAZ
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       gnutls-devel
41 Requires:       libgcrypt-devel >= 1.2
42 Requires:       libicu-devel >= 3.4
43 Requires:       libmemcached-devel
44 Requires:       libwrap-devel
45 Requires:       libxml2-devel >= 2.0
46 Requires:       libxslt-devel >= 1.1.0
47
48 %description devel
49 Header files for YAZ library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki YAZ.
53
54 %package static
55 Summary:        YAZ static libraries
56 Summary(pl.UTF-8):      Statyczne biblioteki YAZ
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 YAZ static libraries.
62
63 %description static -l pl.UTF-8
64 Statyczne biblioteki YAZ.
65
66 %prep
67 %setup -q
68
69 %build
70 %{__libtoolize}
71 %{__aclocal} -I m4
72 %{__autoconf}
73 %{__automake}
74 %configure \
75         --enable-tcpd
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         docDATA_INSTALL="install -p" \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 mv -f $RPM_BUILD_ROOT%{_docdir}/yaz doc-dist
87
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)
96 %doc ChangeLog LICENSE NEWS README
97 %attr(755,root,root) %{_bindir}/yaz-asncomp
98 %attr(755,root,root) %{_bindir}/yaz-client*
99 %attr(755,root,root) %{_bindir}/yaz-iconv
100 %attr(755,root,root) %{_bindir}/yaz-icu
101 %attr(755,root,root) %{_bindir}/yaz-illclient
102 %attr(755,root,root) %{_bindir}/yaz-json-parse
103 %attr(755,root,root) %{_bindir}/yaz-marcdump
104 %attr(755,root,root) %{_bindir}/yaz-url
105 %attr(755,root,root) %{_bindir}/yaz-ztest*
106 %attr(755,root,root) %{_bindir}/zoomsh
107 %attr(755,root,root) %{_libdir}/libyaz.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/libyaz.so.5
109 %attr(755,root,root) %{_libdir}/libyaz_icu.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libyaz_icu.so.5
111 %attr(755,root,root) %{_libdir}/libyaz_server.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libyaz_server.so.5
113 %dir %{_datadir}/yaz
114 %{_datadir}/yaz/etc
115 %{_datadir}/yaz/ill
116 %{_datadir}/yaz/z39.50
117 %{_mandir}/man1/yaz-asncomp.1*
118 %{_mandir}/man1/yaz-client*.1*
119 %{_mandir}/man1/yaz-iconv.1*
120 %{_mandir}/man1/yaz-icu.1*
121 %{_mandir}/man1/yaz-illclient.1*
122 %{_mandir}/man1/yaz-json-parse.1*
123 %{_mandir}/man1/yaz-marcdump.1*
124 %{_mandir}/man1/yaz-url.1*
125 %{_mandir}/man1/zoomsh.1*
126 %{_mandir}/man7/bib1-attr.7*
127 %{_mandir}/man7/yaz.7*
128 %{_mandir}/man7/yaz-log.7*
129 %{_mandir}/man8/yaz-ztest*.8*
130
131 %files devel
132 %defattr(644,root,root,755)
133 %doc doc-dist/* 
134 %attr(755,root,root) %{_bindir}/yaz-config
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
141 %{_includedir}/yaz
142 %{_pkgconfigdir}/yaz.pc
143 %{_aclocaldir}/yaz.m4
144 %{_mandir}/man1/yaz-config.1*
145
146 %files static
147 %defattr(644,root,root,755)
148 %{_libdir}/libyaz.a
149 %{_libdir}/libyaz_icu.a
150 %{_libdir}/libyaz_server.a
This page took 0.076888 seconds and 4 git commands to generate.