Files
JGoogleAnalyticsTracker/JGoogleAnalyticsTracker.spec

66 lines
1.9 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package JGoogleAnalyticsTracker
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: JGoogleAnalyticsTracker
Version: 1.2.1
Release: 0
Summary: A Java library for tracking your Java application with Google Analytics
License: MIT
URL: https://github.com/MarkusBernhardt/proxy-vole
Source0: %{name}-%{version}.tar.xz
Source1: https://raw.githubusercontent.com/dmurph/jgoogleanalyticstracker/master/LICENSE
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildArch: noarch
%description
JGoogleAnalyticsTracker is a lightweight Java library for tracking
your Java application with Google Analytics. It was made so I could
use Googles fantastic analytics software on java gui applications,
as Google never made a java implementation for sending tracking
data.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation/HTML
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q
cp %{SOURCE1} .
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-release-plugin
%build
%{mvn_build} -f
%install
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog