packages: libcarvpath/libcarvpath.spec (NEW) - initial PLD release
gotar
gotar at pld-linux.org
Tue Jun 14 19:25:50 CEST 2011
Author: gotar Date: Tue Jun 14 17:25:50 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
packages/libcarvpath:
libcarvpath.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libcarvpath/libcarvpath.spec
diff -u /dev/null packages/libcarvpath/libcarvpath.spec:1.1
--- /dev/null Tue Jun 14 19:25:50 2011
+++ packages/libcarvpath/libcarvpath.spec Tue Jun 14 19:25:45 2011
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+Summary: Zero storage carving library
+Name: libcarvpath
+Version: 2.3.0
+Release: 1
+License: LGPL v2.1+
+Group: Libraries
+Source0: http://dl.sourceforge.net/carvpath/%{name}%{version}.tgz
+# Source0-md5: dac237151a2fed70f86024abe55f9d5b
+URL: http://ocfa.sourceforge.net/libcarvpath/
+BuildRequires: cmake
+BuildRequires: sqlite3-devel
+BuildRequires: openssl-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple translation library to map multi level fragment lists to
+virtual paths and back. It is meant to be used by forensic carving
+tools and by pseudo filesystems that give access to data in disk
+imaging file formats (raw,ewf,aff).
+
+%package devel
+Summary: Development libraries for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{name}.
+
+%prep
+%setup -q -n %{name}%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+export CXXFLAGS="%{rpmcflags}"
+%{__cmake} src \
+ -DCMAKE_INSTALL_PREFIX="%{_prefix}"
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_libdir}/%{name}.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/%{name}.so.?
+
+%files devel
+%attr(755,root,root) %{_libdir}/%{name}.so
+%{_includedir}/%{name}.h
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/06/14 17:25:45 gotar
+- initial PLD release
================================================================
More information about the pld-cvs-commit
mailing list