Put pom file into maven repository
This commit is contained in:
parent
f1b266b652
commit
9f4da6843e
1 changed files with 16 additions and 1 deletions
17
clojure.spec
17
clojure.spec
|
|
@ -2,7 +2,7 @@
|
|||
Name: clojure
|
||||
Epoch: 1
|
||||
Version: 1.0.0
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: A dynamic programming language that targets the Java Virtual Machine
|
||||
|
||||
Group: Development/Languages
|
||||
|
|
@ -60,9 +60,19 @@ cp clojure.jar %{buildroot}%{_javadir}/%{name}.jar
|
|||
install -d -m 755 %{buildroot}%{_bindir}
|
||||
cp %{SOURCE1} %{buildroot}%{_bindir}/clojure
|
||||
|
||||
install -d %{buildroot}%{_datadir}/maven2/poms
|
||||
%add_to_maven_depmap clojure clojur-lang %{version} JPP/%{name} clojure-lang
|
||||
install -m 644 pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-clojure-lang.pom
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
%update_maven_depmap
|
||||
|
||||
%postun
|
||||
%update_maven_depmap
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc readme.txt epl-v10.html
|
||||
|
|
@ -71,8 +81,13 @@ rm -rf %{buildroot}
|
|||
%{_javadir}/%{name}.jar
|
||||
%{_datadir}/%{name}
|
||||
%{_bindir}/clojure
|
||||
%{_datadir}/maven2/poms
|
||||
%{_mavendepmapfragdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 2 2009 Jochen Schmitt <Jochen herr-schmitt de> 1:1.0.0-5
|
||||
- Installing maven pom file
|
||||
|
||||
* Wed Dec 2 2009 Jochen Schmitt <Jochen herr-schmitt de> 1:1.0.0-3
|
||||
- Add Epoch to get proper EVR path
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue