## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 44; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: chmlib Summary: Library for dealing with ITSS/CHM format files Version: 0.40 Release: %autorelease # ./src/lzx.[ch] licensed under GPL-2.0-or-later, rest is LGPL-2.1-or-later License: LGPL-2.1-or-later AND GPL-2.0-or-later Url: http://www.jedrea.com/chmlib/ VCS: git:https://github.com/jedwing/CHMLib.git Source0: http://www.jedrea.com/chmlib/%{name}-%{version}.tar.bz2 # backported from upstream Patch1: chmlib-0001-Patch-to-fix-integer-types-problem-by-Goswin-von-Bre.patch # backported from upstream Patch2: chmlib-0002-Fix-for-extract_chmLib-confusing-empty-files-with-di.patch # Submitted upstream https://github.com/jedwing/CHMLib/pull/10 Patch3: chm_http-port-shortopt.patch # Submitted upstream https://github.com/jedwing/CHMLib/pull/11 Patch4: chm_http-bind-localhost.patch # Submitted upstream https://github.com/jedwing/CHMLib/pull/12 Patch5: chm_http-output-server-address.patch Patch6: chmlib-c99.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: make %description CHMLIB is a library for dealing with ITSS/CHM format files. Right now, it is a very simple library, but sufficient for dealing with all of the .chm files I've come across. Due to the fairly well-designed indexing built into this particular file format, even a small library is able to gain reasonably good performance indexing into ITSS archives. %package devel Summary: Library for dealing with ITSS/CHM format files - development files Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files needed for developing apps using chmlib. %prep %autosetup -p1 rm -f libtool mv configure.in configure.ac autoreconf -ivf %build %configure --enable-examples --disable-static %make_build %install %make_install rm -f %{buildroot}/%{_libdir}/*.la %files %doc README AUTHORS NEWS %license COPYING %{_bindir}/chm_http %{_bindir}/enum_chmLib %{_bindir}/enumdir_chmLib %{_bindir}/extract_chmLib %{_bindir}/test_chmLib %{_libdir}/libchm.so.* %files devel %{_includedir}/* %{_libdir}/libchm.so %changelog ## START: Generated by rpmautospec * Tue Oct 22 2024 Peter Lemenkov - 0.40-44 - Modernize spec-file * Mon Sep 02 2024 Miroslav Suchý - 0.40-34 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 0.40-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jan 23 2024 Fedora Release Engineering - 0.40-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.40-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.40-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Apr 19 2023 Florian Weimer - 0.40-29 - Port to C99 * Wed Jan 18 2023 Fedora Release Engineering - 0.40-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 0.40-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.40-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.40-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.40-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.40-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.40-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.40-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jul 11 2019 FeRD (Frank Dana) - 0.40-20 - Patch chm_http to fix -p (port) short opt, bind to 127.0.0.1, display URL * Thu Jan 31 2019 Fedora Release Engineering - 0.40-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.40-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.40-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.40-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.40-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.40-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.40-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.40-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 0.40-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.40-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 31 2013 Peter Lemenkov - 0.40-9 - Spec-file cleanup - Remove pre-EL6/FC6 stuff (no longer builds on EL5) * Sat Aug 03 2013 Fedora Release Engineering - 0.40-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.40-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0.40-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0.40-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.40-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Aug 26 2010 Peter Lemenkov - 0.40-3 - Removed rpath (see rhbz #569128) - Patches rebased * Fri Jul 24 2009 Fedora Release Engineering - 0.40-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu May 28 2009 Peter Lemenkov - 0.40-1 - Ver. 0.40 * Mon Feb 23 2009 Fedora Release Engineering - 0.39-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Mar 29 2008 Peter Lemenkov - 0.39-7 - Enable utilities (close BZ#437151) * Sat Feb 9 2008 Peter Lemenkov - 0.39-6 - Rebuild for GCC 4.3 * Sun Sep 30 2007 Peter Lemenkov - 0.39-5 - Changel license tag from LGPL to LGPLv2+ * Sun Aug 5 2007 Peter Lemenkov - 0.39-4 - Better fix for multi-arch issues * Sat Aug 4 2007 Peter Lemenkov - 0.39-3 - Upstream URL changed * Thu Aug 02 2007 Oliver Falk - 0.39-2 - Add alpha fix * Thu Feb 1 2007 Peter Lemenkov - 0.39-1 - Ver. 0.39 * Tue Sep 12 2006 Peter Lemenkov - 0.38-2 - rebuild for FC6 * Wed Jun 28 2006 Peter Lemenkov - 0.38-1 - Version 0.38 * Thu Mar 30 2006 Peter Lemenkov - 0.37.4-6 - rebuild * Mon Mar 27 2006 Peter Lemenkov - 0.37.4-5 - rebuild * Tue Jan 10 2006 Peter Lemenkov - 0.37.4-4 - Next try to fix powerpc-arch * Mon Jan 09 2006 Peter Lemenkov - 0.37.4-3 - Typo fix * Mon Jan 09 2006 Peter Lemenkov - 0.37.4-2 - Fix for PPC-arch * Sat Nov 12 2005 Peter Lemenkov - 0.37.4-1 - Initial build for FC-Extras ## END: Generated by rpmautospec