]> git.pld-linux.org Git - packages/yaz.git/blob - yaz.spec
- updated to 2.1.12
[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.12
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:  b81536008e2bdb92e43d9056d8c35682
11 Patch0:         %{name}-libwrap-fix.patch
12 URL:            http://www.indexdata.dk/yaz/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool >= 1:1.4.2-9
16 BuildRequires:  libwrap-devel
17 BuildRequires:  libxml2-devel
18 BuildRequires:  openssl-devel >= 0.9.7d
19 BuildRequires:  readline-devel >= 5.0
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}-%{release}
35 Requires:       libwrap-devel
36 Requires:       libxml2-devel
37 Requires:       openssl-devel >= 0.9.7d
38
39 %description devel
40 Header files for YAZ library.
41
42 %description devel -l pl
43 Pliki nag³ówkowe biblioteki YAZ.
44
45 %package static
46 Summary:        YAZ static libraries
47 Summary(pl):    Statyczne biblioteki YAZ
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 YAZ static libraries.
53
54 %description static -l pl
55 Statyczne biblioteki YAZ.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60
61 %build
62 %{__libtoolize}
63 %{__aclocal}
64 %{__autoconf}
65 %{__automake}
66 %configure \
67         --enable-shared \
68         --enable-tcpd \
69         --with-openssl
70
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %{__make} install -C doc \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 mv -f $RPM_BUILD_ROOT%{_docdir}/yaz ./doc-dist
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc LICENSE NEWS README TODO
93 %attr(755,root,root) %{_bindir}/yaz-asncomp
94 %attr(755,root,root) %{_bindir}/yaz-client*
95 %attr(755,root,root) %{_bindir}/yaz-iconv
96 %attr(755,root,root) %{_bindir}/yaz-marcdump
97 %attr(755,root,root) %{_bindir}/yaz-ztest*
98 %attr(755,root,root) %{_bindir}/zoomsh
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100 %dir %{_datadir}/yaz
101 %{_datadir}/yaz/etc
102 %{_datadir}/yaz/ill
103 %{_datadir}/yaz/z39.50
104 %{_mandir}/man1/yaz-asncomp.1*
105 %{_mandir}/man1/yaz-client*.1*
106 %{_mandir}/man1/yaz-iconv.1*
107 %{_mandir}/man1/yaz-marcdump.1*
108 %{_mandir}/man1/zoomsh.1*
109 %{_mandir}/man7/yaz.7*
110 %{_mandir}/man7/yaz-log.7*
111 %{_mandir}/man8/yaz-ztest*.8*
112
113 %files devel
114 %defattr(644,root,root,755)
115 %doc doc-dist/*
116 %attr(755,root,root) %{_bindir}/yaz-config
117 %attr(755,root,root) %{_libdir}/lib*.so
118 %{_libdir}/lib*.la
119 %{_includedir}/yaz
120 %{_aclocaldir}/yaz.m4
121 %{_mandir}/man8/yaz-config.8*
122
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/lib*.a
This page took 0.043122 seconds and 4 git commands to generate.