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