Name: freehoo Version: 3.5.2 Release: 1%{?dist} Summary: Freehoo is a free console based messenger for Yahoo IM Service Group: Applications/Internet License: GPLv2 URL: http://www.nongnu.org/freehoo/ Source0: http://download.savannah.gnu.org/releases/freehoo/freehoo-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: guile readline glib2 libyahoo2 >= 0.7.6 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info BuildRequires: guile-devel readline-devel glib2-devel libyahoo2-devel >= 0.7.6 BuildRequires: texinfo %description This is a simple Yahoo Messenger client that requires no windowing system, and it therefore can be quite useful in situations where a minimal system is being used or when a windowing system is otherwise unavailable or unfeasible. %prep %setup -q # Convert freehoo man page to UTF8 pushd doc iconv -c -t UTF8 freehoo.1 > freehoo.1.utf8 && %{__mv} freehoo.1.utf8 freehoo.1 popd %build %configure \ --with-docdir=%{_docdir}/%{name}-%{version} C_INCLUDE_PATH=/usr/include/libyahoo2 %{__make} %{?_smp_mflags} %check cd src if ! make test; then set +x for f in `find .. -name \*.diff -type f -print`; do echo "TEST FAILURE: $f --" cat "$f" echo "-- $f result ends." done set -x fi %install %{__rm} -rf %{buildroot} # This preserves timestamps. make install DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" # Make sure our documentation directory exists. %{__mkdir} -p %{buildroot}/%{_docdir}/%{name}-%{version} # Shuffle documentation around a bit. %{__rm} -rf %{buildroot}/examples %{__rm} -f %{buildroot}/usr/doc/%{name}/autogen.sh %{__cp} -av %{buildroot}/usr/doc/%{name}/* %{buildroot}/%{_docdir}/%{name}-%{version}/ # Clean up old documentation directories. %{__rm} -rf %{buildroot}/usr/doc %{__rm} -rf %{buildroot}/%{_docdir}/%{name} # Remove info/dir if it exists. %{__rm} -f %{buildroot}/%{_datadir}/info/dir %clean %{__rm} -rf %{buildroot} %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %files %defattr(-,root,root) %doc AUTHORS BUGS ChangeLog COPYING INSTALL README TODO doc/examples %{_bindir}/freehoo %{_datadir}/%{name} %{_datadir}/info/* %{_mandir}/man?/* %changelog * Sat May 3 2008 Ray Van Dolson - 3.5.2-1 - Upstream released 3.5.2 * Tue Apr 30 2008 Ray Van Dolson - 3.5.1.20080430-1 - Testing against CVS * Sun Apr 27 2008 Ray Van Dolson - 3.5.1-2 - Rebuild against libyahoo2 0.7.6 - Created freehoo-3.5.1-callbacks.patch for callback changes in libyahoo2 0.7.6 * Thu Feb 21 2008 Ray Van Dolson - 3.5.1-1 - Upstream released 3.5.1 (guile 1.6 compatibility and nick auto-completion) * Tue Feb 19 2008 Ray Van Dolson - 3.5.0-3 - Including COPYING file (license) - Including texinfo snippet. - Using buildroot macro. - Remove executable bit from script in documentation. * Tue Feb 19 2008 Ray Van Dolson - 3.5.0-2 - Including patch from Harshavardhana to provide backwards compatibility with guile 1.6.x for EL4. * Mon Feb 18 2008 Ray Van Dolson - 3.5.0-1 - Initial creation