2024-01-05 19:33:51 +01:00
|
|
|
Name: xchm
|
2024-01-05 19:33:51 +01:00
|
|
|
Epoch: 2
|
2024-01-05 19:33:52 +01:00
|
|
|
Version: 1.33
|
2024-01-05 19:33:52 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 19:33:51 +01:00
|
|
|
Summary: A cross-platform CHM viewer
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 19:33:51 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 19:33:52 +01:00
|
|
|
URL: https://github.com/rzvncj/xCHM
|
2024-01-05 19:33:51 +01:00
|
|
|
Source: https://github.com/rzvncj/xCHM.git/%{version}/xCHM-%{version}.tar.bz2
|
2024-01-05 19:33:51 +01:00
|
|
|
License: GPL
|
2024-01-05 19:33:51 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libchm-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 19:33:51 +01:00
|
|
|
BuildRequires: libwx_baseu-devel
|
|
|
|
BuildRequires: libwx_gtk3u-devel
|
2024-01-05 19:33:51 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 19:33:52 +01:00
|
|
|
BuildRequires: libwx_gtk3u-devel >= 0:3.2.0-1mamba
|
2024-01-05 19:33:52 +01:00
|
|
|
BuildRequires: libwx_baseu-devel >= 3.1.5
|
2024-01-05 19:33:51 +01:00
|
|
|
BuildRequires: libchm-devel >= 0.37.4
|
|
|
|
|
|
|
|
%description
|
2024-01-05 19:33:51 +01:00
|
|
|
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.
|
2024-01-05 19:33:51 +01:00
|
|
|
|
2024-01-05 19:33:51 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 19:33:51 +01:00
|
|
|
%prep
|
2024-01-05 19:33:51 +01:00
|
|
|
%setup -q -n xCHM-%{version}
|
|
|
|
./bootstrap
|
2024-01-05 19:33:51 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 19:33:51 +01:00
|
|
|
%configure \
|
2024-01-05 19:33:51 +01:00
|
|
|
--with-wx-config=wx-config-unicode-3
|
2024-01-05 19:33:51 +01:00
|
|
|
|
2024-01-05 19:33:51 +01:00
|
|
|
%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}
|
2024-01-05 19:33:51 +01:00
|
|
|
%{_datadir}/metainfo/xchm.appdata.xml
|
2024-01-05 19:33:51 +01:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2024-01-05 19:33:52 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/xchm*.png
|
2024-01-05 19:33:51 +01:00
|
|
|
%{_mandir}/man1/xchm.1*
|
2024-01-05 19:33:51 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog README README.xmlrpc
|
2024-01-05 19:33:51 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 19:33:52 +01:00
|
|
|
* Mon Aug 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.33-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libwx_gtk3u-devel>=0:3.2.0-1mamba
|
|
|
|
|
2024-01-05 19:33:52 +01:00
|
|
|
* Tue Jan 04 2022 Automatic Build System <autodist@mambasoft.it> 1.33-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:33:52 +01:00
|
|
|
* Mon Jul 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.32-2mamba
|
|
|
|
- rebuilt with wxWidgets 3.1.5
|
|
|
|
|
2024-01-05 19:33:52 +01:00
|
|
|
* Mon Mar 22 2021 Automatic Build System <autodist@mambasoft.it> 1.32-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:33:51 +01:00
|
|
|
* Tue May 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.31-3mamba
|
|
|
|
- rebuilt with libwx_baseu 3.1.3
|
|
|
|
|
|
|
|
* Tue May 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.31-2mamba
|
|
|
|
- rebuilt with libwx_baseu-devel 3.1.1
|
|
|
|
|
2024-01-05 19:33:51 +01:00
|
|
|
* Thu Jan 09 2020 Automatic Build System <autodist@mambasoft.it> 1.31-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:33:51 +01:00
|
|
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.30-1mamba
|
|
|
|
- update to 1.30
|
|
|
|
|
2024-01-05 19:33:51 +01:00
|
|
|
* Tue Aug 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.23-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-05 19:33:51 +01:00
|
|
|
* 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
|