]> git.pld-linux.org Git - packages/yaz.git/blob - yaz.spec
- release 2
[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:        3.0.44
5 Release:        2
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
9 # Source0-md5:  330730a4a7a097447ed3abe09d38e0ce
10 Patch0:         %{name}-libwrap-fix.patch
11 URL:            http://www.indexdata.dk/yaz/
12 BuildRequires:  autoconf >= 2.60
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  bison
15 BuildRequires:  libicu-devel
16 BuildRequires:  libtool >= 1:1.4.2-9
17 BuildRequires:  libwrap-devel
18 BuildRequires:  libxml2-devel >= 2.0
19 BuildRequires:  libxslt-devel >= 1.1.0
20 BuildRequires:  openssl-devel >= 0.9.7d
21 BuildRequires:  pkgconfig
22 BuildRequires:  readline-devel >= 5.0
23 BuildRequires:  tcl
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
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.
33
34 %package devel
35 Summary:        Header files for YAZ library
36 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki YAZ
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       libwrap-devel
40 Requires:       libxml2-devel >= 2.0
41 Requires:       libxslt-devel >= 1.1.0
42 Requires:       openssl-devel >= 0.9.7d
43
44 %description devel
45 Header files for YAZ library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki YAZ.
49
50 %package static
51 Summary:        YAZ static libraries
52 Summary(pl.UTF-8):      Statyczne biblioteki YAZ
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 YAZ static libraries.
58
59 %description static -l pl.UTF-8
60 Statyczne biblioteki YAZ.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65
66 %build
67 %{__libtoolize}
68 %{__aclocal} -I m4
69 %{__autoconf}
70 %{__automake}
71 %configure \
72         --enable-shared \
73         --enable-tcpd \
74         --with-openssl
75
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 %{__make} install -C doc \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 mv -f $RPM_BUILD_ROOT%{_docdir}/yaz ./doc-dist
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc LICENSE NEWS README ChangeLog
98 %attr(755,root,root) %{_bindir}/yaz-asncomp
99 %attr(755,root,root) %{_bindir}/yaz-client*
100 %attr(755,root,root) %{_bindir}/yaz-iconv
101 %attr(755,root,root) %{_bindir}/yaz-icu
102 %attr(755,root,root) %{_bindir}/yaz-illclient
103 %attr(755,root,root) %{_bindir}/yaz-marcdump
104 %attr(755,root,root) %{_bindir}/yaz-ztest*
105 %attr(755,root,root) %{_bindir}/zoomsh
106 %attr(755,root,root) %{_libdir}/libyaz.so.*.*.*
107 %attr(755,root,root) %ghost %{_libdir}/libyaz.so.3
108 %attr(755,root,root) %{_libdir}/libyaz_icu.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libyaz_icu.so.3
110 %attr(755,root,root) %{_libdir}/libyaz_server.so.*.*.*
111 %attr(755,root,root) %ghost %{_libdir}/libyaz_server.so.3
112 %dir %{_datadir}/yaz
113 %{_datadir}/yaz/etc
114 %{_datadir}/yaz/ill
115 %{_datadir}/yaz/z39.50
116 %{_mandir}/man1/yaz-asncomp.1*
117 %{_mandir}/man1/yaz-client*.1*
118 %{_mandir}/man1/yaz-iconv.1*
119 %{_mandir}/man1/yaz-icu.1*
120 %{_mandir}/man1/yaz-illclient.1*
121 %{_mandir}/man1/yaz-marcdump.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 %{_aclocaldir}/yaz.m4
140 %{_mandir}/man8/yaz-config.8*
141 %{_pkgconfigdir}/yaz.pc
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.057701 seconds and 4 git commands to generate.