SPECS: maven.spec - update to 2.0.6
glen
glen at pld-linux.org
Thu Apr 19 23:29:09 CEST 2007
Author: glen Date: Thu Apr 19 21:29:09 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update to 2.0.6
---- Files affected:
SPECS:
maven.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/maven.spec
diff -u SPECS/maven.spec:1.12 SPECS/maven.spec:1.13
--- SPECS/maven.spec:1.12 Thu Apr 19 23:14:06 2007
+++ SPECS/maven.spec Thu Apr 19 23:29:04 2007
@@ -1,35 +1,34 @@
# $Revision$, $Date$
-
# TODO:
-# - cleanups in lib directory -- replace jar files
-# with package dependencies
+# - cleanups in lib directory -- replace jar files
+# with package dependencies
+# - use source package
Summary: Java project management and project comprehension tool
Summary(pl.UTF-8): Narzędzie do zarządzania projektami Javy ułatwiajęce ich zrozumienie
Name: maven
-Version: 1.0.2
+Version: 2.0.6
Release: 0.2
License: Apache
Group: Development/Languages/Java
-Source0: http://www.apache.org/dist/maven/binaries/%{name}-%{version}.tar.gz
-# Source0-md5: 47624c83b907fa16e8257bc5b351f84a
-Patch0: %{name}-MAVEN_HOME.patch
+Source0: http://www.apache.org/dist/maven/binaries/%{name}-%{version}-bin.tar.bz2
+# Source0-md5: 733f99a0dc7370d6d9cd4df3740ffa47
URL: http://maven.apache.org/
Requires: jdk
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Maven is a Java project management and project comprehension
-tool. Maven is based on the concept of a project object model
-(POM) in that all the artifacts produced by Maven are a result of
-consulting a well defined model for your project.
+Maven is a Java project management and project comprehension tool.
+Maven is based on the concept of a project object model (POM) in that
+all the artifacts produced by Maven are a result of consulting a well
+defined model for your project.
The intent of Maven is to make intra-project development highly
manageable in the hopes of providing more time for cross-project
development. You might call it cross-project pollination or the
-sharing of project development knowledge, this is what Maven
-attempts to encourage.
+sharing of project development knowledge, this is what Maven attempts
+to encourage.
%description -l pl.UTF-8
Maven to narzędzie do zarządzania projektami w Javie, ułatwiające ich
@@ -45,36 +44,31 @@
%prep
%setup -q
-%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/bin}
+ln -sf %{_datadir}/%{name}/bin/mvn $RPM_BUILD_ROOT%{_bindir}/mvn
-install -d $RPM_BUILD_ROOT%{_bindir}
-ln -sf %{_datadir}/%{name}/bin/maven $RPM_BUILD_ROOT%{_bindir}/maven
-
-install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
-install bin/maven $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
-install bin/forehead.conf $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
-cp -r lib $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -r plugins $RPM_BUILD_ROOT%{_datadir}/%{name}
-#cp -r repository $RPM_BUILD_ROOT%{_datadir}/%{name}
-install maven-project.xsd $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -d $RPM_BUILD_ROOT
+install bin/mvn $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
+cp -a bin/m2.conf $RPM_BUILD_ROOT%{_datadir}/%{name}/bin
+cp -a boot conf lib $RPM_BUILD_ROOT%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/maven
+%doc NOTICE.txt
+%attr(755,root,root) %{_bindir}/mvn
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/bin
-%attr(755,root,root) %{_datadir}/%{name}/bin/maven
-%{_datadir}/%{name}/bin/forehead.conf
+%{_datadir}/%{name}/bin/m2.conf
+%attr(755,root,root) %{_datadir}/%{name}/bin/mvn
+%{_datadir}/%{name}/boot
+%{_datadir}/%{name}/conf
%{_datadir}/%{name}/lib
-%{_datadir}/%{name}/plugins
-#%{_datadir}/%{name}/repository
-%{_datadir}/%{name}/maven-project.xsd
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -82,6 +76,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2007/04/19 21:29:04 glen
+- update to 2.0.6
+
Revision 1.12 2007/04/19 21:14:06 glen
- needs tools.jar
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/maven.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list