]> git.pld-linux.org Git - packages/yaz.git/blob - yaz.spec
- up to 2.0.2, updated link patch
[packages/yaz.git] / yaz.spec
1 Summary:        Z39.50 protocol support library
2 Summary(pl):    Biblioteka obs³uguj±ca protokó³ Z39.50
3 Name:           yaz
4 Version:        2.0.2
5 Release:        1
6 License:        BSD-like
7 Vendor:         Index Data ApS <info@indexdata.dk>
8 Group:          Libraries
9 Source0:        http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-libwrap-fix.patch
11 Patch1:         %{name}-link.patch
12 URL:            http://www.indexdata.dk/yaz/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  libwrap-devel
17 BuildRequires:  openssl-devel >= 0.9.7
18 BuildRequires:  readline-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 YAZ is a C library for developing client - and server applications
23 using the ANSI/NISO Z39.50 protocol for Information Retrieval.
24
25 %description -l pl
26 YAZ to biblioteka w C do tworzenia aplikacji klienckich i serwerów
27 korzystaj±cych z protoko³u ANSI/NISO Z39.50 do uzyskiwania informacji.
28
29 %package devel
30 Summary:        Header files for YAZ library
31 Summary(pl):    Pliki nag³ówkowe biblioteki YAZ
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}
34 Requires:       libwrap-devel
35
36 %description devel
37 Header files for YAZ library.
38
39 %description devel -l pl
40 Pliki nag³ówkowe biblioteki YAZ.
41
42 %package static
43 Summary:        YAZ static libraries
44 Summary(pl):    Statyczne biblioteki YAZ
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 YAZ static libraries.
50
51 %description static -l pl
52 Statyczne biblioteki YAZ.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57 %patch1 -p1
58
59 %build
60 rm -f missing
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --enable-shared \
67         --enable-tcpd \
68         --with-openssl
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %{__make} install -C doc \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 mv -f $RPM_BUILD_ROOT%{_docdir}/yaz ./doc-dist
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc CHANGELOG README LICENSE TODO
92 %attr(755,root,root) %{_bindir}/yaz-client*
93 %attr(755,root,root) %{_bindir}/yaz-ztest*
94 %attr(755,root,root) %{_bindir}/yaz-comp
95 %attr(755,root,root) %{_bindir}/zoomsh
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97 %dir %{_datadir}/yaz
98 %{_datadir}/yaz/ill
99 %{_datadir}/yaz/z39.50
100 %{_mandir}/man1/yaz-client*.1*
101 %{_mandir}/man1/zoomsh.1*
102 %{_mandir}/man7/yaz.7*
103 %{_mandir}/man8/yaz-ztest*.8*
104
105 %files devel
106 %defattr(644,root,root,755)
107 %doc doc-dist/*
108 %attr(755,root,root) %{_bindir}/yaz-config
109 %attr(755,root,root) %{_libdir}/lib*.so
110 %{_libdir}/lib*.la
111 %{_includedir}/yaz
112 %{_aclocaldir}/yaz.m4
113 %{_mandir}/man8/yaz-config.8*
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/lib*.a
This page took 0.045495 seconds and 4 git commands to generate.