2 Summary(pl.UTF-8): Klient protokołu gopher
7 Group: Applications/Networking
8 Vendor: John Goerzen <jgoerzen@complete.org>
9 Source0: http://gopher.quux.org:70/give-me-gopher/%{name}_%{version}.tar.gz
10 # Source0-md5: 0cffe1ec0e3e5600af1fe590db852c12
11 Patch0: %{name}-ac.patch
12 Patch1: %{name}-gcc4.patch
13 URL: gopher://gopher.quux.org/1/Software/Gopher
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: ncurses-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The gopher client is used to talk to gopher servers.
22 %description -l pl.UTF-8
23 Klient protokołu gopher służy do łączenia się z serwerami gophera.
34 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man{1,5,8}}
44 DESTDIR=$RPM_BUILD_ROOT \
45 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
46 MAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
47 MAN5DIR=$RPM_BUILD_ROOT%{_mandir}/man5 \
48 MAN8DIR=$RPM_BUILD_ROOT%{_mandir}/man8
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc copyright README doc/{FAQ,PLATFORMS,TODO} doc/[cgo]*.changes
56 %doc announcements/*.html
57 %attr(755,root,root) %{_bindir}/*
58 %dir %{_sysconfdir}/gopher
59 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gopher/gopher.hlp
60 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gopher/gopher.rc
61 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gopher/gopherremote.rc
63 %{_mandir}/man5/gopherrc.5*