Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37686042
en ru br
ALT Linux repos
S:0.40-alt7
5.0: 0.39-alt3
4.1: 0.39-alt1
4.0: 0.39-alt1
3.0: 0.35-alt2

Group :: System/Libraries
RPM: libchm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static

Name: libchm
Version: 0.39
Release: alt1

Summary: chmlib is a small library designed for accessing MS ITSS files
License: LGPL
Group: System/Libraries

URL: http://www.jedrea.com/chmlib
Source: %url/chmlib-%version.tar.bz2

# Automatically added by buildreq on Wed Feb 14 2007

BuildRequires: gcc-c++

%description
chmlib is a small library designed for accessing MS ITSS files. The ITSS file
format is used for Microsoft Html Help files (.chm), which have been the
predominant medium for software documentation from Microsoft during the past
several years, having superceded the previously used .hlp file format.
Note that this is NOT the same as the OLE structured storage file format used
by MS Excel, Word, and so on. Instead, it is a different file format which
fulfills a similar purpose.

%package devel
Summary: Development files for libchm
License: GPL
Group: Development/C
Requires: %name = %version-%release

%description devel
This package contains development files required for packaging
libchm-based software.

%package static
Summary: Static libchm library
License: GPL
Group: Development/C
Requires: %name-devel = %version-%release

%description static
Static libchm library.

%prep
%setup -q -n chmlib-%version

%build
%configure %{subst_enable static}
%make_build

%install
%make_install DESTDIR=%buildroot install

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%doc AUTHORS NEWS README
%_libdir/%name.so.*

%files devel
%_includedir/*
%_libdir/*.so

%if_enabled static
%files static
%_libdir/*.a
%endif


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin