up to 3.6.1
[packages/maven.git] / maven.spec
CommitLineData
d64debe2 1# TODO:
e1f3f315
ER
2# - cleanups in lib directory -- replace jar files
3# with package dependencies
3234f48c 4# I work on following TODOs in JPACKAGE branch:
e1f3f315 5# - use source package
97d1b83a
ER
6# - patch for --local-repository: http://codehaus01a.managed.contegix.com/browse/MNG-939
7# - jpp sync http://www.jpackage.org/cgi-bin/viewvc.cgi/rpms/free/maven2/?root=jpackage&pathrev=JPACKAGE-1_7
d64debe2 8
d64debe2 9Summary: Java project management and project comprehension tool
acfff6e3 10Summary(pl.UTF-8): Narzędzie do zarządzania projektami Javy ułatwiające ich zrozumienie
d64debe2 11Name: maven
89677657 12Version: 3.6.1
839e7c86 13Release: 1
c936f714 14License: Apache
43855a30 15Group: Development/Languages/Java
73a93193 16Source0: http://www.apache.org/dist/maven/maven-3/%{version}/binaries/apache-%{name}-%{version}-bin.tar.gz
89677657 17# Source0-md5: 29d03a19899b01505615d62f4cc92974
c936f714 18URL: http://maven.apache.org/
8607d02c 19Requires: jdk >= 1.7
4863ad75 20ExclusiveArch: %{ix86} %{x8664}
d64debe2 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
d64debe2 23%description
e1f3f315
ER
24Maven is a Java project management and project comprehension tool.
25Maven is based on the concept of a project object model (POM) in that
26all the artifacts produced by Maven are a result of consulting a well
27defined model for your project.
d64debe2 28
29The intent of Maven is to make intra-project development highly
30manageable in the hopes of providing more time for cross-project
31development. You might call it cross-project pollination or the
e1f3f315
ER
32sharing of project development knowledge, this is what Maven attempts
33to encourage.
d64debe2 34
f22fc01d
JR
35%description -l pl.UTF-8
36Maven to narzędzie do zarządzania projektami w Javie, ułatwiające ich
43855a30 37zrozumienie. Jest oparty na idei obiektowego modelu projektu (POM -
f22fc01d 38Project Object Model), w której wszystkie wytwory Mavena są wynikiem
43855a30
JB
39konsultowania z dobrze zdefiniowanym modelem projektu.
40
f22fc01d
JR
41Intencją Mavena jest uczynić rozwój wewnątrzprojektowy wysoko
42zarządzalnym w nadziei pozostawienia większej ilości czasu na rozwój
43międzyprojektowy. Można to nazwać zapylaniem międzyprojektowym lub
44dzieleniem wiedzy o rozwoju projektów - do tego Maven próbuje
45zachęcić.
d64debe2 46
47%prep
97c4eb49 48%setup -q -n apache-%{name}-%{version}
d64debe2 49
d64debe2 50%install
51rm -rf $RPM_BUILD_ROOT
e1f3f315
ER
52install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/bin}
53ln -sf %{_datadir}/%{name}/bin/mvn $RPM_BUILD_ROOT%{_bindir}/mvn
d64debe2 54
e1f3f315
ER
55install -d $RPM_BUILD_ROOT
56install bin/mvn $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
57cp -a bin/m2.conf $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
58cp -a boot conf lib $RPM_BUILD_ROOT%{_datadir}/%{name}
d64debe2 59
4863ad75
JR
60%ifarch %{ix86}
61%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/jansi-native/linux64
62%endif
63
64%ifarch %{x8664}
65%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/jansi-native/linux32
66%endif
67
839e7c86 68%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/jansi-native/{freebsd*,windows*,osx}
4863ad75 69
d64debe2 70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%defattr(644,root,root,755)
e1f3f315 75%attr(755,root,root) %{_bindir}/mvn
43855a30
JB
76%dir %{_datadir}/%{name}
77%dir %{_datadir}/%{name}/bin
e1f3f315
ER
78%{_datadir}/%{name}/bin/m2.conf
79%attr(755,root,root) %{_datadir}/%{name}/bin/mvn
80%{_datadir}/%{name}/boot
81%{_datadir}/%{name}/conf
d64debe2 82%{_datadir}/%{name}/lib
This page took 0.100114 seconds and 4 git commands to generate.