Sisyphus repository
Last update: 2018-03-22 23:07:11 +0300 | SRPMs: 18244 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0:1.3.2-alt2_13jpp8
p8: 0:1.3.2-alt1_9jpp8
p7: 0:1.3.2-alt1_2jpp7
t7: 0:1.3.2-alt1_2jpp7
Platform6: 0:1.3.0-alt1_1jpp6
t6: 0:1.3.0-alt1_1jpp6

Group :: Development/Other
Source RPM: apiviz

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

BuildRequires: maven-assembly-plugin
Epoch: 0
# BEGIN SourceDeps(oneline):
# END SourceDeps(oneline)

BuildRequires: /proc
BuildRequires: jpackage-generic-compat
%define fedora 26
# see

%define _localstatedir %{_var}
# %%version is ahead of its definition. Predefining for rpm 4.0 compatibility.

%define version 1.3.2
%global namedreltag .GA
%global namedversion %{version}%{?namedreltag}

Name:             apiviz
Version:          1.3.2
Release:          alt2_13jpp8
Summary:          APIviz is a JavaDoc doclet to generate class and package diagrams
Group:            Development/Other
License:          LGPLv2+
Patch0:           0001-JDK7-compatibility.patch
Patch1:           0002-JDK8-compatibility.patch
Patch2:           0003-fix-deprecated-assembly-goal.patch

BuildArch:        noarch

BuildRequires:    jpackage-utils
BuildRequires:    maven-local
BuildRequires:    maven-antrun-plugin
BuildRequires:    maven-compiler-plugin
BuildRequires:    maven-install-plugin
BuildRequires:    maven-jar-plugin
BuildRequires:    maven-javadoc-plugin
BuildRequires:    maven-release-plugin
BuildRequires:    maven-resources-plugin
BuildRequires:    maven-enforcer-plugin
BuildRequires:    maven-surefire-plugin
BuildRequires:    maven-surefire-provider-junit
BuildRequires:    maven-plugin-jxr
BuildRequires:    jboss-parent
BuildRequires:    jdepend
BuildRequires:    ant-contrib
BuildRequires:    junit

APIviz is a JavaDoc doclet which extends the Java standard doclet.
It generates comprehensive UML-like class and package diagrams for
quick understanding of the overall API structure. 

%package javadoc
Summary:          Javadocs for %{name}
Group:            Development/Java
BuildArch: noarch

%description javadoc
This package contains the API documentation for %{name}.

%setup -q -n apiviz-%{namedversion}
%patch0 -p1

%if 0%{?fedora} >= 21
%patch1 -p1

%if 0%{?fedora} >= 26
%patch2 -p0

find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;

#%pom_xpath_remove "pom:dependencies/pom:dependency[pom:artifactId = 'tools']/pom:scope"

#%pom_xpath_remove "pom:dependencies/pom:dependency[pom:artifactId = 'tools']/pom:systemPath"

%pom_remove_dep com.sun:tools
%pom_add_dep com.sun:tools

%mvn_alias "org.jboss.apiviz:apiviz" "net.gleamynode.apiviz:apiviz"



%files -f .mfiles
%doc COPYRIGHT.txt LICENSE.jdepend.txt LICENSE.txt NOTICE.txt

%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt

* Sat Nov 18 2017 Igor Vlasenko <viy at> 0:1.3.2-alt2_13jpp8
- added BR: maven-assembly-plugin for javapackages 5

* Sun Oct 22 2017 Igor Vlasenko <viy at> 0:1.3.2-alt1_13jpp8
- new jpp release

* Tue Nov 22 2016 Igor Vlasenko <viy at> 0:1.3.2-alt1_10jpp8
- new fc release

* Thu Feb 04 2016 Igor Vlasenko <viy at> 0:1.3.2-alt1_9jpp8
- java 8 mass update

* Mon Sep 08 2014 Igor Vlasenko <viy at> 0:1.3.2-alt1_5jpp7
- new release

* Mon Jul 28 2014 Igor Vlasenko <viy at> 0:1.3.2-alt1_4jpp7
- new release

* Wed Feb 13 2013 Igor Vlasenko <viy at> 0:1.3.2-alt1_2jpp7
- fc update

* Tue Oct 02 2012 Igor Vlasenko <viy at> 0:1.3.1-alt1_8jpp7
- new fc release

* Thu Sep 13 2012 Igor Vlasenko <viy at> 0:1.3.1-alt1_7jpp7
- new release

* Wed Mar 21 2012 Igor Vlasenko <viy at> 0:1.3.1-alt1_4jpp7
- fc version

* Mon Jan 16 2012 Igor Vlasenko <viy at> 0:1.3.1-alt1_3.GA_jpackage_1jpp6
- new jpp relase

* Fri Sep 03 2010 Igor Vlasenko <viy at> 0:1.3.0-alt1_1jpp6
- new version

© 2009–2018 Igor Zubkov