- Add baselibs.conf: wxWidgets-32bit depends on libmspack0-32bit OBS-URL: https://build.opensuse.org/request/show/229001 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmspack?expand=0&rev=18
89 lines
2.8 KiB
RPMSpec
89 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package libmspack
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: libmspack
|
|
Version: 0.4
|
|
Release: 0
|
|
# "alpha" in the version string just says that it is an alpha version.
|
|
%define _version %{version}alpha
|
|
Summary: Library That Implements Different Microsoft Compressions
|
|
License: LGPL-2.1
|
|
Group: System/Libraries
|
|
Url: http://www.cabextract.org.uk/libmspack/
|
|
# Warning, OBS download service does not work at http://www.cabextract.org.uk/
|
|
#Source: http://www.cabextract.org.uk/libmspack/%{name}-%{_version}.tar.gz
|
|
Source: %{name}-%{_version}.tar.gz
|
|
Source2: baselibs.conf
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: pkg-config
|
|
|
|
%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.
|
|
|
|
%package -n libmspack0
|
|
Summary: Library That Implements Different Microsoft Compressions
|
|
Group: System/Libraries
|
|
# OpenSUSE <= 10.3, SLES <= 10:
|
|
Provides: libmspack = %{version}-%{release}
|
|
Obsoletes: libmspack < %{version}-%{release}
|
|
|
|
%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.
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{_version}
|
|
|
|
%build
|
|
%configure\
|
|
--disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*.*a
|
|
|
|
%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 README TODO
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/*
|
|
|
|
%changelog
|