]> git.pld-linux.org Git - packages/yaz.git/blame - yaz.spec
- converted to UTF-8
[packages/yaz.git] / yaz.spec
CommitLineData
97b8a8b3 1Summary: Z39.50 protocol support library
893180b4 2Summary(pl.UTF-8): Biblioteka obsługująca protokół Z39.50
97b8a8b3 3Name: yaz
98f321a2 4Version: 2.1.40
5eedd93f 5Release: 1
97b8a8b3 6License: BSD-like
97b8a8b3
JB
7Group: Libraries
8Source0: http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
98f321a2 9# Source0-md5: 6af7645abf178669211e14f184869816
97b8a8b3
JB
10Patch0: %{name}-libwrap-fix.patch
11URL: http://www.indexdata.dk/yaz/
d6a9071d
JB
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake >= 1:1.8
145d8277 14BuildRequires: libtool >= 1:1.4.2-9
97b8a8b3 15BuildRequires: libwrap-devel
9570de5b 16BuildRequires: libxml2-devel
eb6128a6 17BuildRequires: openssl-devel >= 0.9.7d
339f3710 18BuildRequires: readline-devel >= 5.0
97b8a8b3
JB
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22YAZ is a C library for developing client - and server applications
23using the ANSI/NISO Z39.50 protocol for Information Retrieval.
24
893180b4
JR
25%description -l pl.UTF-8
26YAZ to biblioteka w C do tworzenia aplikacji klienckich i serwerów
27korzystających z protokołu ANSI/NISO Z39.50 do uzyskiwania informacji.
97b8a8b3
JB
28
29%package devel
30Summary: Header files for YAZ library
893180b4 31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki YAZ
97b8a8b3 32Group: Development/Libraries
7785bb37 33Requires: %{name} = %{version}-%{release}
97b8a8b3 34Requires: libwrap-devel
9570de5b
JB
35Requires: libxml2-devel
36Requires: openssl-devel >= 0.9.7d
97b8a8b3
JB
37
38%description devel
39Header files for YAZ library.
40
893180b4
JR
41%description devel -l pl.UTF-8
42Pliki nagłówkowe biblioteki YAZ.
97b8a8b3
JB
43
44%package static
45Summary: YAZ static libraries
893180b4 46Summary(pl.UTF-8): Statyczne biblioteki YAZ
97b8a8b3 47Group: Development/Libraries
7785bb37 48Requires: %{name}-devel = %{version}-%{release}
97b8a8b3
JB
49
50%description static
51YAZ static libraries.
52
893180b4 53%description static -l pl.UTF-8
97b8a8b3
JB
54Statyczne biblioteki YAZ.
55
56%prep
57%setup -q
05def978 58%patch0 -p1
97b8a8b3
JB
59
60%build
701e7ffa 61%{__libtoolize}
fcbd12dd 62%{__aclocal} -I m4
1bfb8e15 63%{__autoconf}
64%{__automake}
97b8a8b3
JB
65%configure \
66 --enable-shared \
d3f423d3
JB
67 --enable-tcpd \
68 --with-openssl
97b8a8b3
JB
69
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
fd635697 74
97b8a8b3
JB
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78%{__make} install -C doc \
79 DESTDIR=$RPM_BUILD_ROOT
80
9afc10e0 81mv -f $RPM_BUILD_ROOT%{_docdir}/yaz ./doc-dist
97b8a8b3 82
97b8a8b3
JB
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
88
89%files
90%defattr(644,root,root,755)
900ee83f 91%doc LICENSE NEWS README TODO
145d8277 92%attr(755,root,root) %{_bindir}/yaz-asncomp
d3f423d3 93%attr(755,root,root) %{_bindir}/yaz-client*
145d8277
JB
94%attr(755,root,root) %{_bindir}/yaz-iconv
95%attr(755,root,root) %{_bindir}/yaz-marcdump
d3f423d3 96%attr(755,root,root) %{_bindir}/yaz-ztest*
97b8a8b3
JB
97%attr(755,root,root) %{_bindir}/zoomsh
98%attr(755,root,root) %{_libdir}/lib*.so.*.*
cfe882ef 99%dir %{_datadir}/yaz
73fe0ace 100%{_datadir}/yaz/etc
cfe882ef
AM
101%{_datadir}/yaz/ill
102%{_datadir}/yaz/z39.50
73fe0ace 103%{_mandir}/man1/yaz-asncomp.1*
d3f423d3 104%{_mandir}/man1/yaz-client*.1*
145d8277
JB
105%{_mandir}/man1/yaz-iconv.1*
106%{_mandir}/man1/yaz-marcdump.1*
d3f423d3
JB
107%{_mandir}/man1/zoomsh.1*
108%{_mandir}/man7/yaz.7*
4bfcb881 109%{_mandir}/man7/yaz-log.7*
d3f423d3 110%{_mandir}/man8/yaz-ztest*.8*
97b8a8b3
JB
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
13c08edd 117%{_libdir}/lib*.la
97b8a8b3
JB
118%{_includedir}/yaz
119%{_aclocaldir}/yaz.m4
88b1cb12 120%{_mandir}/man8/yaz-config.8*
97b8a8b3
JB
121
122%files static
123%defattr(644,root,root,755)
124%{_libdir}/lib*.a
This page took 0.057398 seconds and 4 git commands to generate.