Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > ad68db014f76c8ee6dbd832357157beb > files > 3

clojure-1.5.0-0.RC1.2.mga3.src.rpm

%global project     clojure
%global groupId     org.clojure
%global artifactId  clojure
%global archivename %{project}-%{artifactId}

Name:           clojure
Epoch:          1
Version:        1.5.0
Release:        %mkrel 0.RC1.2
Summary:        A dynamic programming language that targets the Java Virtual Machine

Group:          Development/Java
License:        EPL
URL:            http://clojure.org/
# wget --content-disposition \
#   https://github.com/clojure/clojure/tarball/clojure-%{version}
Source0:        %{archivename}-%{version}-RC1.zip

Source1:        clojure.sh

BuildArch:      noarch

BuildRequires:  maven
BuildRequires:  ant >= 1.6
BuildRequires:  jpackage-utils >= 1.5
BuildRequires:  objectweb-asm
BuildRequires:  java-devel >= 1:1.6.0

Requires:       jpackage-utils
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 -n %{archivename}-%{version}-RC1

%build
ant -Dmaven.test.skip=1

%install
# jar - link to prefix'd jar so that java stuff knows where to look
install -d -m 755 %{buildroot}%{_javadir}
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 %{name}.jar %{buildroot}%{_javadir}/%{name}.jar
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom

# startup script
install -d -m 755 %{buildroot}%{_bindir}
install -pm 755 %{SOURCE1} %{buildroot}%{_bindir}/%{name}

%add_maven_depmap JPP-%{name}.pom %{name}.jar


%files
%doc epl-v10.html changes.md readme.txt 
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%{_javadir}/%{name}.jar
%{_bindir}/%{name}


%changelog

* Fri Jan 11 2013 umeabot <umeabot> 1:1.5.0-0.RC1.2.mga3
+ Revision: 347887
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Jan 08 2013 dmorgan <dmorgan> 1:1.5.0-0.RC1.1.mga3
+ Revision: 341849
- New version

* Thu Oct 27 2011 gil <gil> 1.2.1-1.mga2
+ Revision: 158510
- imported package clojure