automatic version update by autodist [release 1.23-1mamba;Mon Sep 02 2013]

This commit is contained in:
Automatic Build System 2024-01-05 19:33:51 +01:00
parent dc60f2000d
commit fac8e1d402
2 changed files with 99 additions and 0 deletions

View File

@ -1,2 +1,11 @@
# xchm # xchm
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.

90
xchm.spec Normal file
View File

@ -0,0 +1,90 @@
Name: xchm
Version: 1.23
Release: 1mamba
Summary: A cross-platform CHM viewer
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Alessandro Ramazzina <alessandro.ramazzina@qilinux.it>
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 <autodist@mambasoft.it> 1.23-1mamba
- automatic version update by autodist
* Thu Mar 14 2013 Automatic Build System <autodist@mambasoft.it> 1.22-1mamba
- automatic version update by autodist
* Fri Sep 28 2012 Automatic Build System <autodist@mambasoft.it> 1.21-1mamba
- automatic version update by autodist
* Sun Jul 03 2011 Automatic Build System <autodist@mambasoft.it> 1.20-1mamba
- automatic update by autodist
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
- automatic update by autodist
* Fri Sep 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-1mamba
- automatic update by autodist
* Tue Apr 17 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.13-1mamba
- update to version 1.13 by autospec
* Wed Feb 15 2006 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.3-1qilnx
- package created by autospec