- Remove unneeded deps
OBS-URL: https://build.opensuse.org/package/show/Java:packages/velocity?expand=0&rev=24
This commit is contained in:
parent
ab931ecd0e
commit
df69ccfecf
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 19 16:41:19 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Remove unneeded deps
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 19 09:23:26 UTC 2017 - dziolkowski@suse.com
|
Fri May 19 09:23:26 UTC 2017 - dziolkowski@suse.com
|
||||||
|
|
||||||
|
@ -22,21 +22,10 @@ Release: 0
|
|||||||
Summary: Java-based template engine
|
Summary: Java-based template engine
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
Url: http://velocity.apache.org/
|
||||||
Source0: http://www.apache.org/dist/velocity/engine/1.7/%{name}-%{version}.tar.gz
|
Source0: http://www.apache.org/dist/velocity/engine/1.7/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}-%{version}.pom
|
Source1: %{name}-%{version}.pom
|
||||||
Patch0: velocity-build_xml.patch
|
Patch0: velocity-build_xml.patch
|
||||||
Url: http://velocity.apache.org/
|
|
||||||
Requires: avalon-logkit
|
|
||||||
Requires: commons-collections
|
|
||||||
Requires: commons-lang
|
|
||||||
Requires: java >= 1.5.0
|
|
||||||
Requires: jdom >= 1.0-1
|
|
||||||
Requires: log4j >= 1.1
|
|
||||||
#Requires: jakarta-oro
|
|
||||||
Requires: oro
|
|
||||||
# Use servletapi4 instead of servletapi5
|
|
||||||
Requires: servletapi4
|
|
||||||
Requires: werken-xpath
|
|
||||||
BuildRequires: ant >= 1.6.5
|
BuildRequires: ant >= 1.6.5
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
BuildRequires: antlr
|
BuildRequires: antlr
|
||||||
@ -45,6 +34,7 @@ BuildRequires: classworlds
|
|||||||
BuildRequires: commons-collections
|
BuildRequires: commons-collections
|
||||||
BuildRequires: commons-lang
|
BuildRequires: commons-lang
|
||||||
BuildRequires: commons-logging
|
BuildRequires: commons-logging
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: hsqldb
|
BuildRequires: hsqldb
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
@ -52,14 +42,19 @@ BuildRequires: jdom >= 1.0-1
|
|||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: log4j >= 1.1
|
BuildRequires: log4j >= 1.1
|
||||||
BuildRequires: oro
|
BuildRequires: oro
|
||||||
# Use servletapi4 instead of servletapi5
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: servletapi4
|
BuildRequires: servletapi4
|
||||||
BuildRequires: werken-xpath
|
BuildRequires: werken-xpath
|
||||||
Requires(post): javapackages-tools
|
Requires: avalon-logkit
|
||||||
Requires(postun): javapackages-tools
|
Requires: commons-collections
|
||||||
BuildArch: noarch
|
Requires: commons-lang
|
||||||
|
Requires: java >= 1.5.0
|
||||||
|
Requires: jdom >= 1.0-1
|
||||||
|
Requires: log4j >= 1.1
|
||||||
|
Requires: oro
|
||||||
|
Requires: servletapi4
|
||||||
|
Requires: werken-xpath
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Velocity is a Java-based template engine. It permits anyone to use the
|
Velocity is a Java-based template engine. It permits anyone to use the
|
||||||
@ -110,9 +105,6 @@ applications to be developed according to a true MVC model.
|
|||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
Requires(post): %{__rm}
|
|
||||||
Requires(post): /bin/ln
|
|
||||||
Requires(postun): %{__rm}
|
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
Velocity is a Java-based template engine. It permits anyone to use the
|
Velocity is a Java-based template engine. It permits anyone to use the
|
||||||
@ -162,7 +154,7 @@ Velocity+Turbine provides a template service that will allow web
|
|||||||
applications to be developed according to a true MVC model.
|
applications to be developed according to a true MVC model.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
# Remove all binary libs used in compiling the package.
|
# Remove all binary libs used in compiling the package.
|
||||||
# Note that velocity has some jar files containing macros under
|
# Note that velocity has some jar files containing macros under
|
||||||
# examples and test that should not be removed.
|
# examples and test that should not be removed.
|
||||||
@ -208,21 +200,21 @@ ant \
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
# jars
|
# jars
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
install -d -m 755 %{buildroot}%{_javadir}
|
||||||
install -p -m 644 bin/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
install -p -m 644 bin/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
# pom
|
# pom
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||||
install -pm 644 %{SOURCE1} \
|
install -pm 644 %{SOURCE1} \
|
||||||
$RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
%add_maven_depmap
|
%add_maven_depmap
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -pr docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
cp -pr docs/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
rm -rf docs/api
|
rm -rf docs/api
|
||||||
# data
|
# data
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
install -d -m 755 %{buildroot}%{_datadir}/%{name}
|
||||||
cp -pr examples test $RPM_BUILD_ROOT%{_datadir}/%{name}
|
cp -pr examples test %{buildroot}%{_datadir}/%{name}
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user