# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1275056275 -3600
# Node ID 3de558ea2a3f8ddcd378cc9d5c9ef109f855cbfd
# Parent 802172ba9d3315fd56d3f8ff8e4159bc0977e238
Add upstream ocaml-omake RPM spec file by Jason Hickey <jyh_@xxxxxxxxxxxxxx>
and Aleksey Nogin <rpm@xxxxxxxxx>
Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>
diff -r 802172ba9d33 -r 3de558ea2a3f omake.spec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/omake.spec Fri May 28 15:17:55 2010 +0100
@@ -0,0 +1,79 @@
+%define index 3
+Version: 0.9.8.5
+Release: %{index}%{?dist}
+Summary: The omake build system.
+Name: omake
+URL: http://omake.metaprl.org/
+Source0: %{name}-%{version}-%{index}.tar.gz
+License: GPL
+Group: Development/Tools
+BuildRoot: %{_tmppath}/%{name}-root
+BuildRequires: ocaml >= 3.09.2, make, fam-devel, readline-devel, ncurses-devel
+
+%define debug_package %{nil}
+
+%description
+
+OMake is a build system, similar to GNU make, but with many additional
+features, including:
+- Support for large projects spanning multiple directories;
+- Support for commands that produce several targets at once;
+- Fast, accurate, automated dependency analysis using MD5 digests;
+- Portability: omake provides a consistent interface on Win32
+ and on Unix systems including Linux, OSX, and Cygwin;
+- Builtin functions that provide the most common features of
+ programs like grep, sed, and awk;
+- Active filesystem monitoring, where the build automatically
+ restarts whenever you modify a source file.
+
+%prep
+%setup -q
+
+%build
+INSTALL_ROOT=$RPM_BUILD_ROOT\
+ PREFIX=%{_prefix}\
+ BINDIR=%{_bindir}\
+ LIBDIR=%{_libdir}\
+ make all
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/omake
+
+INSTALL_ROOT=$RPM_BUILD_ROOT\
+ PREFIX=%{_prefix}\
+ BINDIR=%{_bindir}\
+ LIBDIR=%{_libdir}\
+ make install
+
+chmod +w $RPM_BUILD_ROOT/%{_bindir}/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc LICENSE LICENSE.OMake doc/txt/omake-doc.txt doc/ps/omake-doc.ps
doc/ps/omake-doc.pdf doc/html CHANGELOG.txt ocamldep/LICENSE.ocamldep-omake
+
+%attr(555,root,root) %{_bindir}/*
+%{_libdir}/omake
+
+%changelog
+* Thu Dec 11 2006 Aleksey Nogin <rpm@xxxxxxxxx> [0.9.8-1]
+- Updated for the new doc file list and the lack of the man pages.
+
+* Thu Aug 16 2005 Aleksey Nogin <rpm@xxxxxxxxx>
+- Updated to account for the new non-autoconf build style.
+
+* Mon Sep 9 2004 Aleksey Nogin <rpm@xxxxxxxxx>
+- Added doc files.
+
+* Thu May 8 2003 Jason Hickey <jyh_@xxxxxxxxxxxxxx>
+- Added cvs_realclean
+
+* Tue Apr 22 2003 Aleksey Nogin <rpm@xxxxxxxxx>
+- Path updates
+
+* Tue Apr 22 2003 Jason Hickey <jyh_@xxxxxxxxxxxxxx>
+- Initial build.
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|