]> git.pld-linux.org Git - packages/yaz.git/blob - yaz.spec
- up to 3.0.44
[packages/yaz.git] / yaz.spec
1 Summary:        Z39.50 protocol support library
2 Summary(pl.UTF-8):      Biblioteka obsługująca protokół Z39.50
3 Name:           yaz
4 Version:        3.0.44
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:  330730a4a7a097447ed3abe09d38e0ce
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:  pkgconfig
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.UTF-8
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.UTF-8):      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.UTF-8
43 Pliki nagłówkowe biblioteki YAZ.
44
45 %package static
46 Summary:        YAZ static libraries
47 Summary(pl.UTF-8):      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.UTF-8
55 Statyczne biblioteki YAZ.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60
61 %build
62 %{__libtoolize}
63 %{__aclocal} -I m4
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 ChangeLog
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-icu
97 %attr(755,root,root) %{_bindir}/yaz-illclient
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-icu.1*
110 %{_mandir}/man1/yaz-illclient.1*
111 %{_mandir}/man1/yaz-marcdump.1*
112 %{_mandir}/man1/zoomsh.1*
113 %{_mandir}/man7/bib1-attr.7*
114 %{_mandir}/man7/yaz.7*
115 %{_mandir}/man7/yaz-log.7*
116 %{_mandir}/man8/yaz-ztest*.8*
117
118 %files devel
119 %defattr(644,root,root,755)
120 %doc doc-dist/* 
121 %attr(755,root,root) %{_bindir}/yaz-config
122 %attr(755,root,root) %{_libdir}/lib*.so
123 %{_libdir}/lib*.la
124 %{_includedir}/yaz
125 %{_aclocaldir}/yaz.m4
126 %{_mandir}/man8/yaz-config.8*
127 %{_pkgconfigdir}/yaz.pc
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/lib*.a
This page took 0.158967 seconds and 4 git commands to generate.