Accepting request 172338 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/172338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmsiecf?expand=0&rev=1
This commit is contained in:
Stephan Kulow 2013-04-19 07:59:39 +00:00 committed by Git OBS Bridge
commit 74296e7019
6 changed files with 181 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9a4e1cc181d459f15b612a9a3fbce571418508cc9b5fc288cfa50367d557bb2
size 240222

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a04e9f52d09257c13d98eb55bf0dad291e2c4632e45a6b3483d7c0da44ca8d1
size 722120

19
libmsiecf.changes Normal file
View File

@ -0,0 +1,19 @@
-------------------------------------------------------------------
Thu Apr 18 11:44:43 UTC 2013 - jengelh@inai.de
- fixed: python-libmsiecf required unprovidable libmsiecf%soname
-------------------------------------------------------------------
Fri Apr 5 02:00:59 UTC 2013 - jengelh@inai.de
- Cleanups: Set RPM group, license, summary and description
metadata; remove unused %py_requires; do not bloat shlib package
with documentation
- Use system libraries instead of bundled ones where possible
- Name the tools package according to upstream's recommendation
- Drop unnecessary -fno-strict-aliasing
-------------------------------------------------------------------
Wed Mar 27 17:06:20 UTC 2013 - Greg.Freemyer@gmail.com
- initial package (version 0~20130317) for build.opensuse.org

132
libmsiecf.spec Normal file
View File

@ -0,0 +1,132 @@
#
# spec file for package libmsiecf
#
# Copyright (c) 2013 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: libmsiecf
%define lname libmsiecf1
%define timestamp 20130317
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
Url: http://code.google.com/p/libmsiecf/
#DL-URL: http://libmsiecf.googlecode.com/files/libmsiecf-alpha-20130317.tar.gz
Source: %name-alpha-%timestamp.tar.xz
Source2: MSIE_Cache_File_(index.dat)_format.pdf
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: xz
#BuildRequires: pkgconfig(libbfio) >= 20120426
#BuildRequires: pkgconfig(libcdata) >= 20120425
#BuildRequires: pkgconfig(libcerror) >= 20120425
#BuildRequires: pkgconfig(libcfile) >= 20120526
#BuildRequires: pkgconfig(libclocale) >= 20120425
BuildRequires: pkgconfig(libcnotify) >= 20120425
#BuildRequires: pkgconfig(libcpath) >= 20120701
BuildRequires: pkgconfig(libcsplit) >= 20120701
#BuildRequires: pkgconfig(libcstring) >= 20120425
#BuildRequires: pkgconfig(libcsystem) >= 20120425
#BuildRequires: pkgconfig(libfdatetime) >= 20120522
BuildRequires: pkgconfig(libfguid) >= 20120426
#BuildRequires: pkgconfig(libfole) >= 20120426
#BuildRequires: pkgconfig(libfvalue) >= 20120428
#BuildRequires: pkgconfig(libuna) >= 20120425
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
%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