Browse Source

libewf: new package, others: new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2314 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 13 years ago
parent
commit
afd410b9f9
3 changed files with 194 additions and 7 deletions
  1. 169 0
      lib/libe/libewf/libewf-vl.spec
  2. 9 3
      r/reiserfsprogs/reiserfsprogs-vl.spec
  3. 16 4
      t/testdisk/testdisk-vl.spec

+ 169 - 0
lib/libe/libewf/libewf-vl.spec

@@ -0,0 +1,169 @@
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Summary: Library to support the Expert Witness Compression Format
+Name: libewf
+Version: 20100226
+Release: 1%{?_dist_release}
+License: LGPL
+Group: System Environment/Libraries
+URL: http://libewf.sourceforge.net
+
+Source0: %{name}-%{version}.tar.gz
+Source1: mount_ewf-20090113.py
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires:   zlib
+BuildRequires:   zlib-devel
+BuildRequires:   libuuid-devel
+BuildRequires:   openssl-devel
+BuildRequires:   python-devel
+
+%description
+libewf is a library for support of the Expert Witness Compression Format (EWF).
+libewf allows you to read media information of EWF files in the SMART (EWF-S01)
+format and the EnCase (EWF-E01) format. libewf allows to read files created by
+EnCase 1 to 6, linen and FTK Imager.
+
+%package devel
+Summary: Header files and libraries for developing applications for libewf
+Group: Development/Libraries
+Requires: libewf = %{version}-%{release}
+
+%description devel
+Header files and libraries for developing applications for libewf.
+
+%package tools
+Summary: Several tools for reading and writing EWF files
+Group: Applications/System
+Requires: openssl e2fsprogs-devel libewf = %{version}-%{release}
+BuildRequires: zlib-devel openssl-devel e2fsprogs-devel
+
+%description tools
+Several tools for reading and writing EWF files.
+It contains tools to acquire, verify and export EWF files.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-static \
+	--enable-v2-api=yes \
+	--enable-wide-character-type \
+	--enable-python
+make %{?_smp_mflags}
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+make DESTDIR=${RPM_BUILD_ROOT} install
+
+mkdir -p ${RPM_BUILD_ROOT}/sbin
+install -pm 0755 %{SOURCE1} ${RPM_BUILD_ROOT}/sbin/mount.ewf
+ln -s mount.ewf ${RPM_BUILD_ROOT}/sbin/umount.ewf
+
+find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} ';'
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS README
+%attr(755,root,root) %{_libdir}/*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS README ChangeLog
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libewf.pc
+%{_includedir}/*
+%{_mandir}/man3/*
+
+%files tools
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS README
+%attr(755,root,root) %{_bindir}/ewfacquire
+%attr(755,root,root) %{_bindir}/ewfacquirestream
+%attr(755,root,root) %{_bindir}/ewfexport
+%attr(755,root,root) %{_bindir}/ewfinfo
+%attr(755,root,root) %{_bindir}/ewfverify
+%attr(755,root,root) /sbin/*.ewf
+%{python_sitearch}/pyewf.so*
+%{_mandir}/man1/*
+
+%changelog
+* Tue Dec 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 20100226-1
+- initial build for Vine Linux
+
+
+* Sat Nov 14 2009 Joachim Metz <forensics@hoffmannbv.nl> 20091114-1
+- Removed ewfalter and ewfdebug exclusion for stable release
+
+* Fri Aug 28 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090828-1
+- Added dynamic support for libuuid requires and build requires
+
+* Sun Apr 5 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090405-1
+- Added exclusion for ewfdebug
+- Added default v2 API support
+
+* Sat Mar 7 2009 Joachim Metz <forensics@hoffmannbv.nl> 20090307-1
+- Changed libuca into libuna
+- Added support for libbfio
+
+* Tue Sep 2 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080902-1
+- Changed project website
+- Added support for libuca
+
+* Sat Aug 9 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080809-1
+- Changed license
+
+* Sun May 11 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080511-1
+- Fixed a typo
+
+* Thu May 1 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080501-1
+- Added some addition text to the description of the tools package
+
+* Wed Mar 12 2008 Joachim Metz <forensics@hoffmannbv.nl> 20080312-1
+- Added requirement for e2fsprogs-devel package for libuuid
+
+* Sat Dec 29 2007 Joachim Metz <forensics@hoffmannbv.nl> 20071229-1
+- Updated URL
+
+* Sun Dec 9 2007 Joachim Metz <forensics@hoffmannbv.nl> 20071209-1
+- Moved pkgconfig file from excluded to development
+- Adjustments to Requires and BuildRequires
+- Adjusted description of library package removed tools
+- Corrected groups
+
+* Sat Sep 15 2007 Joachim Metz <forensics@hoffmannbv.nl> 20070915-1
+- Adjustment to text
+- library and tools are now stored in seperate packages
+
+* Mon Jan 15 2007 Joachim Metz <forensics@hoffmannbv.nl> 20070115-1
+- Added ewfacquirestream to package
+
+* Fri Dec 29 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061229-1
+- Added exclusion of new expirimental addtitions
+
+* Tue Dec 26 2006 Christophe Grenier <grenier@cgsecurity.org> 20061223-2
+- Made small correction to the spec file, removed abundant Requires line
+
+* Sat Dec 23 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061223-1
+- Made small corrections to the spec file input by Christophe Grenier
+- Added --libdir to ./configure to correct for /usr/lib64
+
+* Sat Dec 19 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061219-1
+- Made small corrections to the spec file input by Christophe Grenier
+- The library source package no longer contains a release number
+
+* Sat Dec 16 2006 Christophe Grenier <grenier@cgsecurity.org> 20061213-2
+- Fixed the spec file
+
+* Sat Dec 9 2006 Joachim Metz <forensics@hoffmannbv.nl> 20061213-1
+- Initial version
+

+ 9 - 3
r/reiserfsprogs/reiserfsprogs-vl.spec

@@ -1,16 +1,17 @@
 Summary: Utilities belonging to the Reiser filesystem
 Summary(ja): ReiserFS ファイルシステム用のユーティリティ
 Name: reiserfsprogs
-Version: 3.6.19
+Version: 3.6.21
 Release: 1%{?_dist_release}
 Group: System Environment/Base
 License: GPL
-Source0: reiserfsprogs-%{version}.tar.gz
+Source0: reiserfsprogs-%{version}.tar.bz2
 #Patch0: reiserfsprogs-%{version}-detectkernel.patch
 Patch1: header-fix.patch
 
 Conflicts: kernel-utils < 2.2.19-0vl15
 BuildRequires: e2fsprogs-devel
+BuildRequires: libuuid-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -28,7 +29,7 @@ reiserfsprogs パッケージは、ReiserFS の作成(mkreiserfs)、整合性の
 %prep
 %setup -q
 #%patch0 -b .detectkernel
-%patch1 -p1
+#%patch1 -p1
 
 %build
 find . -name "config.cache" |xargs rm -f
@@ -54,6 +55,11 @@ rm -rf %{buildroot}
 %{_mandir}/*/*
 
 %changelog
+* Tue Dec 07 2008 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.21-1
+- new upstream release
+- drop Patch1
+- add BuildRequires: libuuid-devel
+
 * Mon Jun  9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6.19-1
 - applied new versinoing policy
 

+ 16 - 4
t/testdisk/testdisk-vl.spec

@@ -1,21 +1,27 @@
 %define ver_progsreiserfs 0.3.1-rc8
-%define ver_ntfsprogs 1.13.1
+%define ver_ntfsprogs 2.0.0
 
 Summary:	Tool to check and undelete partition and files
 Summary(ja):	パーティションおよびファイルのチェックと復活を行うツール
 Name:		testdisk
-Version:	6.10
+Version:	6.11
 Release:	1%{?_dist_release}
 License:	GPL
 Group:		Applications/System
 Source0:	http://www.cgsecurity.org/%{name}-%{version}.tar.bz2
 Source1:	progsreiserfs-%ver_progsreiserfs.tar.gz
+Source10:	http://www.cgsecurity.org/%{name}-doc-%{version}.tar.bz2
 Patch0:		progsreiserfs-journal.patch
+Patch1:		http://www.cgsecurity.org/photorec_611_exif_bound_checking_v2.patch
 URL:		http://www.cgsecurity.org/wiki/TestDisk
 BuildRequires:	ncurses-devel >= 5.2
 BuildRequires:  e2fsprogs-devel
 BuildRequires:	libjpeg-devel
 BuildRequires:	ntfsprogs-devel
+BuildRequires:  libewf-devel
+BuildRequires:	zlib-devel
+BuildRequires:	openssl-devel
+BuildRequires:	libuuid-devel
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -24,9 +30,9 @@ NTFS, EXT2, EXT3, BeFS, CramFS, HFS, JFS, Linux Raid, Linux Swap,
 LVM, LVM2, NSS, ReiserFS, UFS, XFS
 
 %prep
-%setup -q
-%setup -q -a 1 -D
+%setup -q -a 1 -a 10 -D
 %patch0
+%patch1 -p1 -b .photorec
 
 %build
 pushd progsreiserfs-%ver_progsreiserfs
@@ -54,6 +60,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Dec 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.11-1
+- new upstream release
+- add Source10 (testdisk-doc-6.11.tar.bz2)
+- add Patch1 (photorec_611_exif_bound_checking_v2.patch)
+- add BuildRequires: libewf-devel, zlib-devel, openssl-devel, libuuid-devel
+
 * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 6.10-1vl5
 - new upstream release
 - applied new versioning policy, spec in utf-8