Fridrich Strba 2019-01-27 06:46:03 +00:00 committed by Git OBS Bridge
parent 9901e5011f
commit f629b058f0

View File

@ -1,7 +1,7 @@
#
# spec file for package bsf
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -22,7 +22,7 @@ Release: 0
Summary: Bean Scripting Framework
License: Apache-2.0
Group: Development/Libraries/Java
Url: http://commons.apache.org/bsf/
URL: http://commons.apache.org/bsf/
Source0: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{version}.tar.gz
Source1: bsf-pom.xml
Source1000: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{version}.tar.gz.asc
@ -34,10 +34,9 @@ BuildRequires: apache-commons-logging
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: rhino
BuildRequires: xalan-j2
BuildRequires: xml-commons-apis
Requires: mvn(commons-logging:commons-logging)
BuildArch: noarch
%description
@ -83,12 +82,9 @@ Framework.
%prep
%setup -q
# remove all binary libs
find . -name "*.jar" -exec rm -f {} \;
rm -fr bsf
%patch0 -p1
%patch1 -p1
find -name \*.jar -delete
%build
mkdir -p lib
@ -110,14 +106,12 @@ install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
%files
%doc LICENSE.txt AUTHORS.txt CHANGES.txt NOTICE.txt README.txt TODO.txt RELEASE-NOTE.txt
%{_javadir}/*
%{_mavenpomdir}/JPP-%{name}.pom
%{_datadir}/maven-metadata/%{name}.xml
%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%doc AUTHORS.txt CHANGES.txt README.txt TODO.txt RELEASE-NOTE.txt
%files javadoc
%dir %{_javadocdir}/%{name}
%license LICENSE.txt NOTICE.txt
%{_javadocdir}/%{name}
%changelog