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