Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > 720458cddf19f05fe455e277a273a7f3 > files > 2

htrace-3.1.0-3.mga7.src.rpm

Name: htrace
Version: 3.1.0
Release: %mkrel 3
Group:   Development/Java
Summary: Tracing framework for java based distributed systems
License: ASL 2.0
URL:     https://%{name}.incubator.apache.org
Source0: https://archive.apache.org/dist/incubator/%{name}/%{name}-%{version}-incubating/%{name}-%{version}-incubating-src.tar.gz

#BuildRequires: golang
BuildRequires: java-devel
BuildRequires: jackson-core
BuildRequires: jackson-databind
BuildRequires: jetty-util-ajax
#BuildRequires: pkgconfig(leveldb)
BuildRequires: libthrift-java
BuildRequires: maven-local
BuildRequires: apache-parent
BuildArch: noarch

%description
HTrace is a tracing framework intended for use with distributed systems
written in java. 

%package javadoc
Summary: Javadoc for %{name}

%description javadoc
This package contains javadoc for %{name}.

%prep
%autosetup -p1 -n %{name}-%{version}-incubating

# disable hbase module because hbase package was retired
%pom_disable_module htrace-hbase

# disable flume module because flume is currently not packaged
%pom_disable_module htrace-flume

# remove test jar plugin
%pom_remove_plugin :maven-jar-plugin

# Remove apache-rat-plugin because it causes build failure on xmvn generated
# files
%pom_remove_plugin org.apache.rat:apache-rat-plugin
%pom_remove_plugin org.apache.rat:apache-rat-plugin htrace-core
%pom_remove_plugin org.apache.rat:apache-rat-plugin htrace-zipkin

# Remove assembly plugins not needed
%pom_remove_plugin :maven-assembly-plugin htrace-zipkin

# remove go build 
%pom_remove_plugin :maven-antrun-plugin htrace-core

# remove problematic javadoc
%pom_remove_plugin :maven-javadoc-plugin htrace-core
%pom_remove_plugin :maven-javadoc-plugin htrace-zipkin

# remove source plugin
%pom_remove_plugin :maven-source-plugin htrace-core
%pom_remove_plugin :maven-source-plugin htrace-zipkin

# remove shaded plugin to prevent bundling 
%pom_remove_plugin :maven-shade-plugin htrace-core

# skip install for zipkin
%mvn_package ":%{name}-zipkin" __noinstall

%mvn_package ":%{name}-core"

%build
%mvn_build -j -- -DskipTests

%install
%mvn_install

%files -f .mfiles
%doc LICENSE.txt
%doc NOTICE.txt
%doc README.md
%doc DISCLAIMER.txt



%changelog
* Thu Sep 20 2018 umeabot <umeabot> 3.1.0-3.mga7
  (not released yet)
+ Revision: 1278666
- Mageia 7 Mass Rebuild

* Fri Sep 01 2017 daviddavid <daviddavid> 3.1.0-2.mga7
+ Revision: 1150456
- Sync with fc27:
  * No BuildRequires: golang
  * Add missing build-requires on apache-parent
  * Resolves: rhbz#1307625

* Wed May 17 2017 neoclust <neoclust> 3.1.0-1.mga6
+ Revision: 1102646
- New version 3.1.0

* Wed Mar 02 2016 neoclust <neoclust> 2.03-6.mga6
+ Revision: 982530
- Second rebuild of the java stack

* Sun Feb 28 2016 daviddavid <daviddavid> 2.03-5.mga6
+ Revision: 980264
- let xmvn generate javadocs (fix build)
+ neoclust <neoclust>
- First rebuild of the java stack
- sync package htrace with fedora