From 04300db5707dc479e75615cea1f47f4f965032c11deb664f32eb6342e149248a Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Sun, 11 Jan 2015 23:18:44 +0000 Subject: [PATCH] Accepting request 280815 from home:gregfreemyer:Tools-for-forensic-boot-cd new package - part of libyal 2015 refresh OBS-URL: https://build.opensuse.org/request/show/280815 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfmapi?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + libfmapi-experimental-20150104.tar.gz | 3 + libfmapi.changes | 5 ++ libfmapi.spec | 92 +++++++++++++++++++++++++++ 5 files changed, 124 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libfmapi-experimental-20150104.tar.gz create mode 100644 libfmapi.changes create mode 100644 libfmapi.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libfmapi-experimental-20150104.tar.gz b/libfmapi-experimental-20150104.tar.gz new file mode 100644 index 0000000..e43766a --- /dev/null +++ b/libfmapi-experimental-20150104.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21e2e6879d955ffcc109d7611640427cd49f607c59345fd40254285bc534f75b +size 1118387 diff --git a/libfmapi.changes b/libfmapi.changes new file mode 100644 index 0000000..31c0a26 --- /dev/null +++ b/libfmapi.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Jan 11 23:06:29 UTC 2015 - Greg.Freemyer@gmail.com + +- initial package (v0~20150104) + diff --git a/libfmapi.spec b/libfmapi.spec new file mode 100644 index 0000000..15313fa --- /dev/null +++ b/libfmapi.spec @@ -0,0 +1,92 @@ +# +# spec file for package libfmapi +# +# 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: libfmapi +%define lname libfmapi1 +%define timestamp 20150104 +Version: 0~%timestamp +Release: 0 +Summary: Library for MAPI data types +License: LGPL-3.0+ +Group: Development/Libraries/C and C++ +Url: https://github.com/libyal/libfmapi/wiki +Source: https://github.com/libyal/libfmapi/releases/download/%timestamp/%name-experimental-%timestamp.tar.gz +BuildRequires: pkg-config +BuildRequires: pkgconfig(libcerror) >= 20130904 +BuildRequires: pkgconfig(libcstring) >= 20150101 +BuildRequires: pkgconfig(libcdata) +BuildRequires: pkgconfig(libcnotify) +BuildRequires: pkgconfig(libcthreads) +BuildRequires: pkgconfig(libfdatetime) +BuildRequires: pkgconfig(libfguid) +BuildRequires: pkgconfig(libfwnt) +BuildRequires: pkgconfig(libuna) +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +A library for MAPI data types + +libfmapi is part of the libyal library collection + +%package -n %lname +Summary: Library for MAPI data types +Group: System/Libraries + +%description -n %lname +A library for MAPI data types. + +libfmapi is part of the libyal library collection + +%package devel +Summary: Development files for libfmapi, a library for MAPI data types +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +A library for MAPI data types. + +This subpackage contains libraries and header files for developing +applications that want to make use of libfmapi. + +%prep +%setup -qn libfmapi-%timestamp + +%build +%configure --disable-static --enable-wide-character-type +make %{?_smp_mflags} + +%install +make install DESTDIR="%buildroot" +rm -f "%buildroot/%_libdir"/*.la + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog +%_libdir/libfmapi.so.1* + +%files devel +%defattr(-,root,root) +%_includedir/libfmapi* +%_libdir/libfmapi.so +%_libdir/pkgconfig/libfmapi.pc +%_mandir/man3/libfmapi.3* + +%changelog