Accepting request 496739 from Java:packages
1 OBS-URL: https://build.opensuse.org/request/show/496739 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/werken-xpath?expand=0&rev=16
This commit is contained in:
commit
fe4b01a29d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 11:55:54 UTC 2017 - dziolkowski@suse.com
|
||||
|
||||
- New build dependency: javapackages-local
|
||||
- cleaned spec using spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 18 09:46:24 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package werken-xpath
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,13 +17,13 @@
|
||||
|
||||
|
||||
%define dotname werken.xpath
|
||||
|
||||
Name: werken-xpath
|
||||
Version: 0.9.4
|
||||
Release: 0
|
||||
Summary: XPath implementation using JDOM
|
||||
License: Apache-1.1
|
||||
Group: Development/Libraries/Java
|
||||
Url: http://sourceforge.net/projects/werken-xpath/
|
||||
Source0: %{dotname}-%{version}-beta-src.tar.bz2
|
||||
Source1: %{name}-%{version}.pom
|
||||
Patch0: %{name}-ElementNamespaceContext.patch
|
||||
@ -35,18 +35,18 @@ Patch5: %{name}-StringFunction.patch
|
||||
Patch6: %{name}-Test.patch
|
||||
Patch7: %{name}-Driver.patch
|
||||
Patch8: %{name}-runtests_sh.patch
|
||||
Url: http://sourceforge.net/projects/werken-xpath/
|
||||
Requires: jdom
|
||||
BuildRequires: ant >= 1.6
|
||||
BuildRequires: antlr
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: jdom
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xml-commons-apis
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: jdom
|
||||
Provides: werken.xpath = %{version}-%{release}
|
||||
Obsoletes: werken.xpath <= 0.9.4
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
werken.xpath is an implementation of the W3C XPath Recommendation, on
|
||||
@ -101,17 +101,17 @@ sh runtests.sh
|
||||
|
||||
%install
|
||||
# jars
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||
cp -p build/%{dotname}.jar $RPM_BUILD_ROOT%{_javadir}/%{dotname}.jar
|
||||
(cd $RPM_BUILD_ROOT%{_javadir}; ln -sf %{dotname}.jar %{name}.jar)
|
||||
mkdir -p %{buildroot}%{_javadir}
|
||||
cp -p build/%{dotname}.jar %{buildroot}%{_javadir}/%{dotname}.jar
|
||||
(cd %{buildroot}%{_javadir}; ln -sf %{dotname}.jar %{name}.jar)
|
||||
# pom
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||
cp %{SOURCE1} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-werken-xpath.pom
|
||||
mkdir -p %{buildroot}%{_mavenpomdir}
|
||||
cp %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-werken-xpath.pom
|
||||
%add_maven_depmap
|
||||
|
||||
# javadoc
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
cp -pr build/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr build/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
|
Loading…
x
Reference in New Issue
Block a user