Name: xchm Version: 1.23 Release: 1mamba Summary: A cross-platform CHM viewer Group: Applications/Publishing Vendor: openmamba Distribution: openmamba Packager: Alessandro Ramazzina URL: http://xchm.sourceforge.net/ Source: http://downloads.sourceforge.net/xchm/xchm-%{version}.tar.gz License: GPL BuildRequires: libchm-devel >= 0.37.4 BuildRequires: libwxBase2.8-unicode-devel >= 2.8.0 BuildRequires: libwxGTK2.8-unicode-devel >= 2.8.0 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description xCHM is a cross-platform GUI front-end to chmlib, with borrowed bits from Pabs' chmdeco project. Originally written for UNIX systems (Linux, *BSD, Solaris), xCHM has been since ported to Mac OS X and Windows. xCHM can show the content tree if one is available, print pages, change font face and size, remember bookmarks, display a searchable index, and search for words in the current page and the whole book. %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall # Create the system menu entry mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=xCHM MimeType=application/chm GenericName=CHM viewer GenericName[it]=Visualizzatore CHM Comment=xCHM is a cross-platform GUI front-end to chmlib. Exec=xchm Icon=%{_datadir}/pixmaps/xchm-16.xpm Terminal=false Type=Application Categories=Application;Office;Viewer; X-KDE-StartupNotify=false EOF %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/%{name} %{_datadir}/pixmaps/* %{_datadir}/applications/%{name}.desktop %doc AUTHORS COPYING ChangeLog README README.xmlrpc %changelog * Mon Sep 02 2013 Automatic Build System 1.23-1mamba - automatic version update by autodist * Thu Mar 14 2013 Automatic Build System 1.22-1mamba - automatic version update by autodist * Fri Sep 28 2012 Automatic Build System 1.21-1mamba - automatic version update by autodist * Sun Jul 03 2011 Automatic Build System 1.20-1mamba - automatic update by autodist * Thu Jul 09 2009 Automatic Build System 1.17-1mamba - automatic update by autodist * Fri Sep 26 2008 Silvan Calarco 1.14-1mamba - automatic update by autodist * Tue Apr 17 2007 Stefano Cotta Ramusino 1.13-1mamba - update to version 1.13 by autospec * Wed Feb 15 2006 Alessandro Ramazzina 1.3-1qilnx - package created by autospec