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