Group :: Sistema/Bibliotecas
RPM: libchm
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable static
Name: libchm
Version: 0.39
Release: alt3
Packager: Victor Forsyuk <force at altlinux.org>
Summary: chmlib is a small library designed for accessing MS ITSS files
License: LGPLv2.1+
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: LGPLv2.1+
Group: Development/C
Requires: %name = %version-%release
%description devel
This package contains development files required for packaging libchm-based
software.
%package utils
Summary: Utilities that uses libchm
License: LGPLv2.1+
Group: Office
Requires: %name = %version-%release
%description utils
This package contains example utility programs that use chmlib.
%package devel-static
Summary: Static libchm library
License: LGPLv2.1+
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static libchm library.
%prep
%setup -n chmlib-%version
%build
%configure --enable-examples %{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%_libdir/libchm.so.*
%files devel
%_includedir/*
%_libdir/*.so
%files utils
%_bindir/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Todas as alterações você pod ver aqui
Name: libchm
Version: 0.39
Release: alt3
Packager: Victor Forsyuk <force at altlinux.org>
Summary: chmlib is a small library designed for accessing MS ITSS files
License: LGPLv2.1+
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: LGPLv2.1+
Group: Development/C
Requires: %name = %version-%release
%description devel
This package contains development files required for packaging libchm-based
software.
%package utils
Summary: Utilities that uses libchm
License: LGPLv2.1+
Group: Office
Requires: %name = %version-%release
%description utils
This package contains example utility programs that use chmlib.
%package devel-static
Summary: Static libchm library
License: LGPLv2.1+
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static libchm library.
%prep
%setup -n chmlib-%version
%build
%configure --enable-examples %{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%_libdir/libchm.so.*
%files devel
%_includedir/*
%_libdir/*.so
%files utils
%_bindir/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Todas as alterações você pod ver aqui