libchm/libchm.spec

65 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

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