Blame SPECS/ongres-scram.spec

dc0225
%global		upstream_name    scram
dc0225
%global		upstream_version 1.0.0-beta.2
dc0225
dc0225
Name:		ongres-%upstream_name
dc0225
Version:	%(echo %upstream_version | sed 's/-/~/g')
dc0225
Release:	5%{?dist}
dc0225
Summary:	Salted Challenge Response Authentication Mechanism (SCRAM) - Java Implementation
dc0225
License:	BSD
dc0225
URL:		https://github.com/ongres/%upstream_name
dc0225
Source0:	https://github.com/ongres/%upstream_name/archive/%upstream_version/%upstream_name-%upstream_version.tar.gz
dc0225
BuildRequires:	maven-local
dc0225
BuildArch:	noarch
dc0225
dc0225
%description
dc0225
This is a Java implementation of SCRAM (Salted Challenge Response
dc0225
Authentication Mechanism) which is part of the family of Simple
dc0225
Authentication and Security Layer (SASL, RFC 4422) authentication
dc0225
mechanisms. It is described as part of RFC 5802 and RFC7677.
dc0225
dc0225
%package client
dc0225
Summary:	Client for %{name}
dc0225
dc0225
%description client
dc0225
This package contains the client for %{name}
dc0225
dc0225
%package javadoc
dc0225
Summary:	Javadoc for %{name}
dc0225
dc0225
%description javadoc
dc0225
This package contains javadoc for %{name}
dc0225
dc0225
%package parent
dc0225
Summary:	Parent POM of %{name}
dc0225
dc0225
%description parent
dc0225
This package contains the %{name} parent POM.
dc0225
dc0225
%prep
dc0225
%autosetup -p1 -n "%upstream_name-%upstream_version"
dc0225
find \( -name '*.jar' -o -name '*.class' \) -delete
dc0225
%pom_remove_plugin :nexus-staging-maven-plugin
dc0225
%pom_remove_plugin :maven-source-plugin
dc0225
%pom_remove_plugin :maven-dependency-plugin client
dc0225
%pom_remove_plugin -r :maven-javadoc-plugin
dc0225
dc0225
%build
dc0225
%mvn_build -s
dc0225
dc0225
%install
dc0225
%mvn_install
dc0225
dc0225
%files -f .mfiles-common
dc0225
%license LICENSE
dc0225
dc0225
%files client -f .mfiles-client
dc0225
%license LICENSE
dc0225
dc0225
%files javadoc -f .mfiles-javadoc
dc0225
%license LICENSE
dc0225
dc0225
%files parent -f .mfiles-parent
dc0225
%license LICENSE
dc0225
dc0225
%changelog
dc0225
* Wed May 30 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.0~beta.2-5
dc0225
- Remove explicit invocation of maven-javadoc-plugin
dc0225
dc0225
* Tue May 22 2018 Pavel Raiskup <praiskup@redhat.com> - 1.0.0~beta.2-4
dc0225
- BR javadoc maven plugin explicitly
dc0225
- use nicer Source0 format
dc0225
dc0225
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0~beta.2-3
dc0225
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dc0225
dc0225
* Mon Nov 27 2017 Pavel Raiskup <praiskup@redhat.com> - 1.0.0~beta.2-2
dc0225
- drop potential pre-compiled files from release tarball
dc0225
dc0225
* Fri Nov 24 2017 Augusto Caringi <acaringi@redhat.com> 1.0.0~beta.2-1
dc0225
- initial rpm