# ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 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 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: 7zip BuildRequires: make BuildRequires: pkgconfig(libtommath) %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}/7z x %{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 * Fri Jun 26 2026 Van de Bugger - 1.8-0.vdb.1 - Initial release. # end of file #