- initial pld release
authormisto <misto@pld-linux.org>
Fri, 29 Aug 2003 21:03:12 +0000 (21:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    maven.spec -> 1.1

maven.spec [new file with mode: 0644]

diff --git a/maven.spec b/maven.spec
new file mode 100644 (file)
index 0000000..f70482b
--- /dev/null
@@ -0,0 +1,76 @@
+# $Revision: 1.1 $
+
+# TODO:
+#  - cleanups in lib directory -- replace jar files 
+#    with package dependencies
+
+%define ver 1.0
+%define beta beta-10
+%define buildname %{ver}-%{beta}
+
+Summary:       Java project management and project comprehension tool
+Summary(pl):   maven
+Name:          maven
+Version:       %{ver}
+Release:       0.%(echo %{beta}|tr - .)
+License:       Apache
+Group:         Development/Languages/Java
+Source0:       http://maven.apache.org/builds/release/%{buildname}/maven-%{buildname}.tar.gz
+URL:           http://maven.apache.org/
+Patch0:                %{name}-MAVEN_HOME.patch
+Requires:      jre
+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.
+
+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.
+
+%description -l pl
+maven
+
+%prep
+%setup -q  -n %{name}-%{buildname}
+%patch0 -p1
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+ln -s %{_datadir}/%{name}/bin/maven $RPM_BUILD_ROOT/%{_bindir}/maven
+
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+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}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_bindir}/maven
+
+%attr(755,root,root) %{_datadir}/%{name}/bin/maven
+%{_datadir}/%{name}/bin/forehead.conf
+%dir %{_datadir}/%{name}/bin
+%{_datadir}/%{name}/lib
+%{_datadir}/%{name}/plugins
+%{_datadir}/%{name}/repository
+%{_datadir}/%{name}/maven-project.xsd
This page took 0.087384 seconds and 4 git commands to generate.