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