# ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # File: clit.spec # Copyright 🄯 2026 Van de Bugger. # SPDX-License-Identifier: FSFAP # ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― %vdb %global major 1 %global minor 8 Name: clit Version: %{major}.%{minor} Release: 0.vdb.1%{?dist} Summary: ‘Lit’ converter License: GPL-2.0-or-later AND BSD-Advertising-Acknowledgement # Few files in `lib/newlzx/` are under LGPL-2.1-only, but these files are not actually used. Source0: http://www.convertlit.com/%{name}%{major}%{minor}src.zip URL: http://www.convertlit.com Patch0: clit-1.8-build.vdb.patch BuildRequires: gcc BuildRequires: make BuildRequires: pkgconfig(libtommath) BuildRequires: unzip %description %{text -- \ ‘Lit’ is a proprietary Microsoft ebook format, used by Microsoft Reader program, now discontinued. However, ebooks in this obsolete format are still available in libraries. This tool can extract HTML and CSS files from a .lit file. } # # Build and install # %prep %{_bindir}/unzip %{S:0} %patch -p1 0 %build ( cd lib; make ) ( cd %{name}%{major}%{minor}; make ) %install %{__install} -D -m u=rwx,go=rx -T "%{name}%{major}%{minor}/%{name}" "%{buildroot}%{_bindir}/%{name}" # # Files # %files %{_bindir}/%{name} # # Change log # %changelog * Sun Jun 28 2026 Van de Bugger - 1.8-0.vdb.1 - Initial release. # end of file #