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