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