Accepting request 173852 from filesystems
Joachim Metz has created a set of c libraries used by security tools. The libxxx packages often include basic applications sub-packages which are useful by themselves. OBS-URL: https://build.opensuse.org/request/show/173852 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsmraw?expand=0&rev=1
This commit is contained in:
commit
7c278cfaa1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
libsmraw-alpha-20130402.tar.xz
Normal file
3
libsmraw-alpha-20130402.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a3197f17749a07a4486c505a02a38db917d6b18e02819eab2f0c3ab57fa99839
|
||||||
|
size 728332
|
9
libsmraw.changes
Normal file
9
libsmraw.changes
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 22 15:33:44 UTC 2013 - Greg.Freemyer@gmail.com
|
||||||
|
|
||||||
|
- Re-organize BuildRequires and add comments about why many are commented out
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 5 20:49:37 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Initial package (version 0~20130402) for build.opensuse.org
|
117
libsmraw.spec
Normal file
117
libsmraw.spec
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libsmraw
|
||||||
|
#
|
||||||
|
# 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: libsmraw
|
||||||
|
%define lname libsmraw1
|
||||||
|
%define timestamp 20130402
|
||||||
|
Version: 0~%timestamp
|
||||||
|
Release: 0
|
||||||
|
License: LGPL-3.0+
|
||||||
|
Summary: Library and tools to access the (split) RAW image format
|
||||||
|
Group: Productivity/File utilities
|
||||||
|
Url: http://code.google.com/p/libsmraw/
|
||||||
|
|
||||||
|
#Git-Clone: http://code.google.com/p/libsmraw
|
||||||
|
#DL-URL: http://libsmraw.googlecode.com/files/libsmraw-alpha-20130402.tar.gz
|
||||||
|
Source: %name-alpha-%timestamp.tar.xz
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRequires: pkgconfig(fuse) >= 2.6
|
||||||
|
BuildRequires: pkgconfig(openssl) >= 1.0
|
||||||
|
BuildRequires: pkgconfig(libcnotify) >= 20120425
|
||||||
|
BuildRequires: pkgconfig(libcsplit) >= 20120701
|
||||||
|
BuildRequires: pkgconfig(libhmac) >= 20120425
|
||||||
|
# The following packages cause build failures if the internal version is not used
|
||||||
|
#BuildRequires: pkgconfig(libcerror) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libbfio) >= 20120426
|
||||||
|
#BuildRequires: pkgconfig(libcdata) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libcpath) >= 20120701
|
||||||
|
#BuildRequires: pkgconfig(libcfile) >= 20120526
|
||||||
|
#BuildRequires: pkgconfig(libclocale) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libuna) >= 20120425
|
||||||
|
# These libs are not in factory
|
||||||
|
#BuildRequires: pkgconfig(libcstring) >= 20120426
|
||||||
|
#BuildRequires: pkgconfig(libcsystem) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libfcache) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libfdata) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libfvalue) >= 20120428
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
libsmraw is a library to access the storage media RAW format.
|
||||||
|
The library supports both RAW and split RAW.
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: Library and tools to access the (split) RAW image format
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
libsmraw is a library to access the storage media RAW format.
|
||||||
|
The library supports both RAW and split RAW.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for libsmraw, a (split) RAW image file library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %lname = %version
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
libsmraw is a library to access the storage media RAW format.
|
||||||
|
|
||||||
|
This subpackage contains libraries and header files for developing
|
||||||
|
applications that want to make use of libsmraw.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Utilities for reading and writing storage media (split) RAW files
|
||||||
|
Group: Productivity/File utilities
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
This subpackage contains the utility programs from libsmraw to
|
||||||
|
acquire, export, query and verify storage media (split) RAW files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -qn libsmraw-%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/libsmraw.so.1*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_includedir/libsmraw*
|
||||||
|
%_libdir/libsmraw.so
|
||||||
|
%_libdir/pkgconfig/libsmraw.pc
|
||||||
|
%_mandir/man3/libsmraw.3*
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_bindir/smrawmount
|
||||||
|
%_mandir/man1/smrawmount.1*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user