rpms/clojure/devel clojure.sh, NONE, 1.1 clojure.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Colin Walters
walters at fedoraproject.org
Thu Oct 23 14:33:32 UTC 2008
Author: walters
Update of /cvs/pkgs/rpms/clojure/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24902/devel
Modified Files:
.cvsignore sources
Added Files:
clojure.sh clojure.spec import.log
Log Message:
Initial import
--- NEW FILE clojure.sh ---
#!/bin/bash
clojure="java ${JAVA_OPTS} -cp /usr/share/java/clojure.jar:${CLASSPATH}"
if test -z "$1"; then
exec ${clojure} clojure.lang.Repl /usr/share/clojure/boot.clj
else
exec ${clojure} clojure.lang.Script /usr/share/clojure/boot.clj "$@"
fi
--- NEW FILE clojure.spec ---
Name: clojure
Version: 20080916
Release: 1%{?dist}
Summary: A dynamic programming language that targets the Java Virtual Machine
Group: Development/Languages
License: CPL
URL: http://clojure.org/
Source0: http://downloads.sourceforge.net/clojure/clojure_20080916.zip
Source1: clojure.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: ant >= 1.6
BuildRequires: jpackage-utils >= 1.5
BuildRequires: objectweb-asm
Requires: java >= 1:1.6
Requires: objectweb-asm
%description
Clojure is a dynamic programming language that targets the Java
Virtual Machine. It is designed to be a general-purpose language,
combining the approachability and interactive development of a
scripting language with an efficient and robust infrastructure for
multithreaded programming. Clojure is a compiled language - it
compiles directly to JVM bytecode, yet remains completely
dynamic. Every feature supported by Clojure is supported at
runtime. Clojure provides easy access to the Java frameworks, with
optional type hints and type inference, to ensure that calls to Java
can avoid reflection.
%prep
%setup -q -c -n clojure-%{version}
rm -f *.jar
%build
ant jar
%install
rm -rf %{buildroot}
chmod 644 CPL.TXT
# prefix install
install -p -d -m 755 %{buildroot}%{_datadir}/%{name}
cp -ar src/clj/clojure/* %{buildroot}%{_datadir}/%{name}/
rm -f %{buildroot}%{_datadir}/%{name}/xml/\#*
# jar - link to prefix'd jar so that java stuff knows where to look
install -d -m 755 %{buildroot}%{_javadir}
cp clojure.jar %{buildroot}%{_javadir}/%{name}.jar
# startup script
install -d -m 755 %{buildroot}%{_bindir}
cp %{SOURCE1} %{buildroot}%{_bindir}/clojure
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc CPL.TXT readme.txt
%attr(0755,root,root) %{_bindir}/clojure
%{_javadir}/%{name}.jar
%{_datadir}/%{name}
%{_bindir}/clojure
%changelog
* Tue Sep 30 2008 Colin Walters <walters at verbum.org> - 20080916-1.fc10
- initial version
--- NEW FILE import.log ---
clojure-20080916-1_fc10:HEAD:clojure-20080916-1.fc10.src.rpm:1224772058
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/clojure/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 16 Oct 2008 17:04:32 -0000 1.1
+++ .cvsignore 23 Oct 2008 14:33:01 -0000 1.2
@@ -0,0 +1 @@
+clojure_20080916.zip
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/clojure/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 16 Oct 2008 17:04:32 -0000 1.1
+++ sources 23 Oct 2008 14:33:01 -0000 1.2
@@ -0,0 +1 @@
+289c08f9c8cab51615623704b65048cf clojure_20080916.zip
More information about the scm-commits
mailing list