File libmspack.spec of Package libmspack
#
# spec file for package libmspack (Version 0.0.20060920alpha)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libmspack
License: GPL v2 or later; LGPL v2.1 or later
Group: System/Libraries
Version: 0.0.20060920alpha
Release: 65
Summary: Library That Implements Different Microsoft Compressions
Url: http://www.kyz.uklinux.net/libmspack/
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The purpose of libmspack is to provide both compression and
decompression of some loosely related file formats used by Microsoft.
Currently the most common formats are implemented.
Authors:
--------
Stuart Caie <kyzer@4u.net>
Matthew Russotto
Dirk Stoecker
Dave Tritscher
Jae Jung
Markus Sinner
%package -n libmspack0
Summary: Library That Implements Different Microsoft Compressions
Group: System/Libraries
# OpenSUSE <= 10.3, SLES <= 10:
Provides: libmspack = %{version}
Obsoletes: libmspack <= %{version}
%description -n libmspack0
The purpose of libmspack is to provide both compression and
decompression of some loosely related file formats used by Microsoft.
Currently the most common formats are implemented.
Authors:
--------
Stuart Caie <kyzer@4u.net>
Matthew Russotto
Dirk Stoecker
Dave Tritscher
Jae Jung
Markus Sinner
%package devel
Summary: Static libraries, header files and documentation for libmspack
Group: Development/Libraries/C and C++
Requires: libmspack0 = %{version}
%description devel
The libmspack-devel package contains the header files and static
libraries necessary for developing programs using libmspack.
Authors:
--------
Stuart Caie <kyzer@4u.net>
Matthew Russotto
Dirk Stoecker
Dave Tritscher
Jae Jung
Markus Sinner
%prep
%setup
%patch
%build
autoreconf -f -i
export CFLAGS="$RPM_OPT_FLAGS -D_POSIX_SOURCE"
%configure\
--disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/*.*a
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libmspack0 -p /sbin/ldconfig
%postun -n libmspack0 -p /sbin/ldconfig
%files -n libmspack0
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc AUTHORS COPYING.LIB ChangeLog NEWS README TODO
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/*
%changelog
* Tue Jan 15 2008 sbrabec@suse.cz
- Applied shared library packaging policy.
- Removed unneeded static library and .la file.
* Fri Oct 20 2006 sbrabec@suse.cz
- Updated to version 0.0.20060920alpha:
* Bug fixes.
* Write an mspack_system implementation that can handle normal
disk files, open file handles, open file descriptors and raw
memory all at the same time.
* Added a program for dumping useful data from CHM files.
* Added a new test example which shows an mspack_system
implementation that reads and writes from memory only.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Nov 22 2004 ro@suse.de
- "sed -i" does not work on older distributions
* Wed Apr 14 2004 mcihar@suse.cz
- include some documentation
* Wed Apr 14 2004 mcihar@suse.cz
- initial packaging