automatic update by autodist [release 0.40-1mamba;Fri Jun 05 2009]

This commit is contained in:
Automatic Build System 2024-01-06 04:00:06 +01:00
parent ca1f0f4683
commit 4fc32f1399
3 changed files with 78 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libchm # libchm
CHMLIB is a library for dealing with Microsoft ITSS/CHM format files.

View File

@ -0,0 +1,12 @@
diff -Nru chmlib-0.40.orig/src/chm_lib.c chmlib-0.40/src/chm_lib.c
--- chmlib-0.40.orig/src/chm_lib.c 2009-05-23 16:43:31.000000000 +0200
+++ chmlib-0.40/src/chm_lib.c 2011-12-12 16:11:21.499378848 +0100
@@ -153,7 +153,7 @@
/* Sparc */
/* MIPS */
/* PPC */
-#elif __i386__ || __sun || __sgi || __ppc__
+#elif __i386__ || __sun || __sgi || __ppc__ || __arm__
typedef unsigned char UChar;
typedef short Int16;
typedef unsigned short UInt16;

64
libchm.spec Normal file
View File

@ -0,0 +1,64 @@
Name: libchm
Version: 0.40
Release: 1mamba
Summary: CHMLIB is a library for dealing with Microsoft ITSS/CHM format files
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.jedrea.com/chmlib
Source: http://www.jedrea.com/chmlib/chmlib-%{version}.tar.bz2
Patch0: %{name}-0.40-arm-guess.patch
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
CHMLIB is a library for dealing with Microsoft ITSS/CHM format files.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}
%description devel
This package contains static libraries and header files need for development.
%prep
%setup -q -n chmlib-%{version}
%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc AUTHORS COPYING NEWS README
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%changelog
* Fri Jun 05 2009 Automatic Build System <autodist@mambasoft.it> 0.40-1mamba
- automatic update by autodist
* Tue Apr 17 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.39-1mamba
- update to version 0.39 by autospec
* Wed Feb 15 2006 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.37.4-1qilnx
- package created by autospec