2013-04-19 09:59:39 +02:00
|
|
|
#
|
|
|
|
# spec file for package libmsiecf
|
|
|
|
#
|
2015-08-13 23:43:21 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-04-19 09:59:39 +02:00
|
|
|
#
|
|
|
|
# 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: libmsiecf
|
|
|
|
%define lname libmsiecf1
|
2015-08-13 23:43:21 +02:00
|
|
|
%define timestamp 20150314
|
2013-04-19 09:59:39 +02:00
|
|
|
Version: 0~%timestamp
|
|
|
|
Release: 0
|
|
|
|
Summary: Library to parse MS Internet Explorer Cache Files
|
|
|
|
License: LGPL-3.0+ and GFDL-1.3+
|
|
|
|
Group: Productivity/File utilities
|
2015-01-30 15:06:19 +01:00
|
|
|
Url: https://github.com/libyal/libmsiecf/wiki
|
|
|
|
Source: https://github.com/libyal/libmsiecf/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz
|
2013-04-19 09:59:39 +02:00
|
|
|
Source2: MSIE_Cache_File_(index.dat)_format.pdf
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python-devel
|
2013-08-27 20:53:07 +02:00
|
|
|
BuildRequires: pkgconfig(libbfio) >= 20120426
|
|
|
|
BuildRequires: pkgconfig(libcdata) >= 20120425
|
2013-08-01 15:38:09 +02:00
|
|
|
BuildRequires: pkgconfig(libcfile) >= 20120526
|
2013-08-27 20:53:07 +02:00
|
|
|
BuildRequires: pkgconfig(libclocale) >= 20120425
|
2013-04-19 09:59:39 +02:00
|
|
|
BuildRequires: pkgconfig(libcnotify) >= 20120425
|
2013-08-01 15:38:09 +02:00
|
|
|
BuildRequires: pkgconfig(libcpath) >= 20120701
|
2013-04-19 09:59:39 +02:00
|
|
|
BuildRequires: pkgconfig(libcsplit) >= 20120701
|
2015-01-30 15:06:19 +01:00
|
|
|
BuildRequires: pkgconfig(libcsystem) >= 20150101
|
2013-08-27 20:53:07 +02:00
|
|
|
BuildRequires: pkgconfig(libfdatetime) >= 20120522
|
2013-04-19 09:59:39 +02:00
|
|
|
BuildRequires: pkgconfig(libfguid) >= 20120426
|
2015-01-30 15:06:19 +01:00
|
|
|
BuildRequires: pkgconfig(libfole) >= 20150104
|
|
|
|
BuildRequires: pkgconfig(libfvalue) >= 20120428
|
2013-08-27 20:53:07 +02:00
|
|
|
BuildRequires: pkgconfig(libuna) >= 20120425
|
2015-01-30 15:06:19 +01:00
|
|
|
# these packages fail if the factory version is used, verified 1/14/2015
|
2013-08-01 15:38:09 +02:00
|
|
|
#BuildRequires: pkgconfig(libcerror) >= 20120425
|
|
|
|
#BuildRequires: pkgconfig(libcstring) >= 20120425
|
2013-04-19 09:59:39 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
libmsiecf is a library to parse MS Internet Explorer Cache Files.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: Library to parse MS Internet Explorer Cache Files
|
|
|
|
License: LGPL-3.0+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
libmsiecf is a library to parse MS Internet Explorer Cache Files.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: Utilities to inspect MS Internet Explorer Cache Files
|
|
|
|
License: LGPL-3.0+
|
|
|
|
Group: System/Filesystems
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Several tools for reading MS Internet Explorer Cache files.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %name
|
|
|
|
License: LGPL-3.0+ and GFDL-1.3+
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libmsiecf is a library to parse MS Internet Explorer Cache Files.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of %name.
|
|
|
|
|
|
|
|
%package -n python-%name
|
|
|
|
Summary: Python bindings for libmsiecf
|
|
|
|
License: LGPL-3.0+
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %lname = %version
|
|
|
|
Requires: python
|
2014-09-06 12:17:57 +02:00
|
|
|
Provides: pymsiecf = %version
|
2013-04-19 09:59:39 +02:00
|
|
|
|
|
|
|
%description -n python-%name
|
|
|
|
Python bindings for libmsiecf, which can read MS IE cache files.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -qn libmsiecf-%timestamp
|
|
|
|
cp "%SOURCE2" .
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --enable-wide-character-type --enable-python
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR="%buildroot"
|
|
|
|
find %buildroot -name '*.la' -delete
|
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog
|
|
|
|
%_libdir/libmsiecf.so.*
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_bindir/msiecf*
|
|
|
|
%_mandir/man1/msiecf*.1*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc MSIE_Cache_File*.pdf
|
|
|
|
%_includedir/libmsiecf.h
|
|
|
|
%_includedir/libmsiecf/
|
|
|
|
%_libdir/libmsiecf.so
|
|
|
|
%_libdir/pkgconfig/libmsiecf.pc
|
|
|
|
%_mandir/man3/libmsiecf.3*
|
|
|
|
|
|
|
|
%files -n python-%name
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING README
|
|
|
|
%python_sitearch/pymsiecf.so
|
|
|
|
|
|
|
|
%changelog
|