]> git.pld-linux.org Git - packages/yaz.git/blob - yaz.spec
- updated to 2.1.18
[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.18
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
9 # Source0-md5:  7538fbda9fa6f10590f485cb4c99dec1
10 Patch0:         %{name}-libwrap-fix.patch
11 URL:            http://www.indexdata.dk/yaz/
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.8
14 BuildRequires:  libtool >= 1:1.4.2-9
15 BuildRequires:  libwrap-devel
16 BuildRequires:  libxml2-devel
17 BuildRequires:  openssl-devel >= 0.9.7d
18 BuildRequires:  readline-devel >= 5.0
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}-%{release}
34 Requires:       libwrap-devel
35 Requires:       libxml2-devel
36 Requires:       openssl-devel >= 0.9.7d
37
38 %description devel
39 Header files for YAZ library.
40
41 %description devel -l pl
42 Pliki nag³ówkowe biblioteki YAZ.
43
44 %package static
45 Summary:        YAZ static libraries
46 Summary(pl):    Statyczne biblioteki YAZ
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 YAZ static libraries.
52
53 %description static -l pl
54 Statyczne biblioteki YAZ.
55
56 %prep
57 %setup -q
58 %patch0 -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 LICENSE NEWS 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}/man7/yaz-log.7*
110 %{_mandir}/man8/yaz-ztest*.8*
111
112 %files devel
113 %defattr(644,root,root,755)
114 %doc doc-dist/*
115 %attr(755,root,root) %{_bindir}/yaz-config
116 %attr(755,root,root) %{_libdir}/lib*.so
117 %{_libdir}/lib*.la
118 %{_includedir}/yaz
119 %{_aclocaldir}/yaz.m4
120 %{_mandir}/man8/yaz-config.8*
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/lib*.a
This page took 0.12779 seconds and 4 git commands to generate.