Blame SPECS/ongres-scram.spec

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