[dustmite] initial release
MERCIER Jonathan
bioinfornatics at fedoraproject.org
Sat Jan 28 00:45:09 UTC 2012
commit 2f172f3fe6b73acfb196782c3814e3c8829564c3
Author: Jonathan MERCIER <bioinfornatics at gmail.com>
Date: Sat Jan 28 01:44:57 2012 +0100
initial release
.gitignore | 1 +
dustmite.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6ca5555 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dustmite-20111218git84c0e08.xz
diff --git a/dustmite.spec b/dustmite.spec
new file mode 100644
index 0000000..3db302e
--- /dev/null
+++ b/dustmite.spec
@@ -0,0 +1,52 @@
+%global alphatag 20111218
+%global dustmite_revision git84c0e08
+%global debug_package %{nil}
+
+# The source for this package was pulled from upstream's git.
+# Use the following commands to generate the tarball:
+# git clone https://github.com/CyberShadow/DustMite.git
+# cd DustMite; git rev-parse --short HEAD -> for DustMite_rev
+# git checkout %%dustmite_rev
+# git archive --prefix=dustmite-%%{alphatag}/ HEAD | xz > ../dustmite-%%{alphatag}.xz
+
+Name: dustmite
+Version: 1
+Release: 1.%{alphatag}%{dustmite_revision}%{?dist}
+Summary: Minimizes D source code for debugging
+
+License: Public Domain
+URL: https://github.com/CyberShadow/DustMite
+Source0: %{name}-%{alphatag}%{dustmite_revision}.xz
+
+BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel
+
+%description
+DustMite is a tool which minimizes D source code. It was inspired by Tigris
+Delta and a thread on digitalmars.D.learn.
+DustMite will parse the source code into a simple hierarchy, and attempt to
+shrink it by deleting fragments iteratively, as long as the result satisfies
+a user-specified condition.
+
+%description -l fr
+DustMite est un outil qui permet de minimiser le code source D. Il a été
+inspiré par Tigris Delta et un fil sur digitalmars.D.learn.
+DustMite va analyser le code source en une hiérarchie simple, et tenter
+de réduire l'erreur de segmentation en supprimant itérativement des fragments,
+tant que le résultat répond à une condition spécifiée par l'utilisateur.
+
+%prep
+%setup -q -n %{name}-%{alphatag}%{dustmite_revision}
+
+%build
+ldc2 %{_d_optflags} dsplit.d dustmite.d -of dustmite
+
+%install
+install -Dm 0755 dustmite %{buildroot}%{_bindir}/dustmite
+
+%files
+%{_bindir}/dustmite
+
+%changelog
+* Tue Jan 24 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 1-1.20111218git84c0e08
+- Initial release
+
diff --git a/sources b/sources
index e69de29..0074756 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c8b17d5912ef58ea3caf0835ac51c93b dustmite-20111218git84c0e08.xz
More information about the scm-commits
mailing list