packages: haskel-binary/haskel-binary.spec (NEW) - initial

arekm arekm at pld-linux.org
Thu Nov 26 11:12:06 CET 2009


Author: arekm                        Date: Thu Nov 26 10:12:06 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/haskel-binary:
   haskel-binary.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/haskel-binary/haskel-binary.spec
diff -u /dev/null packages/haskel-binary/haskel-binary.spec:1.1
--- /dev/null	Thu Nov 26 11:12:07 2009
+++ packages/haskel-binary/haskel-binary.spec	Thu Nov 26 11:12:01 2009
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+Summary:	Binary serialisation for Haskell values using lazy ByteStrings
+Name:		haskell-binary
+Version:	0.5.0.2
+Release:	0.1
+License:	BSD
+Group:		Development/Languages
+Source0:	http://hackage.haskell.org/packages/archive/binary/0.5.0.2/binary-%{version}.tar.gz
+# Source0-md5:	6bf8f3d1441602c9ab09a75e3bd6e926
+URL:		http://hackage.haskell.org/package/hashed-storage/
+BuildRequires:	haskell
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Efficient, pure binary serialisation using lazy ByteStrings. Haskell
+values may be encoded to and from binary formats, written to disk as
+binary, or sent over the network. Serialisation speeds of over 1 G/sec
+have been observed, so this library should be suitable for high
+performance scenarios.
+
+%prep
+%setup -q -n binary-%{version}
+
+%build
+runhaskell Setup.lhs configure \
+	--global \
+	--prefix=%{_prefix}
+
+runhaskell Setup.lhs build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+FIXME
+
+%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  2009/11/26 10:12:01  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list