From 8569d16154f281aa3787b5b2276682d46eae9847 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Nov 07 2007 13:26:38 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..0a26836 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libewf-20070512.tar.gz diff --git a/libewf.spec b/libewf.spec new file mode 100644 index 0000000..ed270fa --- /dev/null +++ b/libewf.spec @@ -0,0 +1,89 @@ +%define date 20070512 + +Name: libewf +Version: 0 +Release: 1.%{date}%{?dist} +Summary: Library for the Expert Witness Compression Format (EWF) + +Group: System Environment/Libraries +License: BSD +URL: https://www.uitwisselplatform.nl/projects/libewf/ +Source0: https://www.uitwisselplatform.nl/frs/download.php/303/libewf-%{date}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: e2fsprogs-devel +BuildRequires: openssl-devel +BuildRequires: zlib-devel + + +%description +Libewf is a library for support of the Expert Witness Compression Format (EWF), +it support both the SMART format (EWF-S01) and the EnCase format (EWF-E01). +Libewf allows you to read and write media information within the EWF files. + +%package -n ewftools +Summary: Utilities for %{name} +Group: Applications/System +Requires: %{name} = %{version}-%{release} + +%description -n ewftools +The %{name}-utils package contains utilities for using %{name}. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q -n %{name}-%{date} + + +%build +%configure --disable-static --enable-wide-character-type +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +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(-,root,root,-) +%doc AUTHORS COPYING NEWS +%{_libdir}/*.so.* + +%files -n ewftools +%defattr(-,root,root,-) +%{_bindir}/ewf* +%{_mandir}/man1/*.gz + +%files devel +%defattr(-,root,root,-) +%doc TESTS +%{_includedir}/libewf.h +%{_includedir}/libewf/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/libewf.pc +%{_mandir}/man3/*.gz + +%changelog +* Fri Nov 1 2007 kwizart < kwizart at gmail.com > - 0-1.20070512 +- Initial package for Fedora + diff --git a/sources b/sources index e69de29..d313787 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5c09ed6478eadd020d6de0ea61569a8e libewf-20070512.tar.gz