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