]> git.pld-linux.org Git - packages/yaz.git/blob - yaz.spec
- updated to 2.0.6, updated patches
[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.6
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 # Source0-md5:  b11127afa0b380f09f9b6c3bc621f113
11 Patch0:         %{name}-libwrap-fix.patch
12 Patch1:         %{name}-link.patch
13 URL:            http://www.indexdata.dk/yaz/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool >= 1:1.4.2-9
17 BuildRequires:  libwrap-devel
18 BuildRequires:  openssl-devel >= 0.9.7c
19 BuildRequires:  readline-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 YAZ is a C library for developing client - and server applications
24 using the ANSI/NISO Z39.50 protocol for Information Retrieval.
25
26 %description -l pl
27 YAZ to biblioteka w C do tworzenia aplikacji klienckich i serwerów
28 korzystaj±cych z protoko³u ANSI/NISO Z39.50 do uzyskiwania informacji.
29
30 %package devel
31 Summary:        Header files for YAZ library
32 Summary(pl):    Pliki nag³ówkowe biblioteki YAZ
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}
35 Requires:       libwrap-devel
36
37 %description devel
38 Header files for YAZ library.
39
40 %description devel -l pl
41 Pliki nag³ówkowe biblioteki YAZ.
42
43 %package static
44 Summary:        YAZ static libraries
45 Summary(pl):    Statyczne biblioteki YAZ
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 YAZ static libraries.
51
52 %description static -l pl
53 Statyczne biblioteki YAZ.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58 %patch1 -p1
59
60 %build
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 LICENSE README TODO
92 %attr(755,root,root) %{_bindir}/yaz-asncomp
93 %attr(755,root,root) %{_bindir}/yaz-client*
94 %attr(755,root,root) %{_bindir}/yaz-iconv
95 %attr(755,root,root) %{_bindir}/yaz-marcdump
96 %attr(755,root,root) %{_bindir}/yaz-ztest*
97 %attr(755,root,root) %{_bindir}/zoomsh
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
99 %dir %{_datadir}/yaz
100 %{_datadir}/yaz/etc
101 %{_datadir}/yaz/ill
102 %{_datadir}/yaz/z39.50
103 %{_mandir}/man1/yaz-asncomp.1*
104 %{_mandir}/man1/yaz-client*.1*
105 %{_mandir}/man1/yaz-iconv.1*
106 %{_mandir}/man1/yaz-marcdump.1*
107 %{_mandir}/man1/zoomsh.1*
108 %{_mandir}/man7/yaz.7*
109 %{_mandir}/man8/yaz-ztest*.8*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc doc-dist/*
114 %attr(755,root,root) %{_bindir}/yaz-config
115 %attr(755,root,root) %{_libdir}/lib*.so
116 %{_libdir}/lib*.la
117 %{_includedir}/yaz
118 %{_aclocaldir}/yaz.m4
119 %{_mandir}/man8/yaz-config.8*
120
121 %files static
122 %defattr(644,root,root,755)
123 %{_libdir}/lib*.a
This page took 0.061749 seconds and 4 git commands to generate.