Blame SPECS/geronimo-jaspic-spec.spec

b14010
%define api_version 1.0
b14010
%define pkg_name geronimo-jaspic_%{api_version}_spec
b14010
Name:          geronimo-jaspic-spec
b14010
Version:       1.1
b14010
Release:       9%{?dist}
b14010
Summary:       Java Authentication SPI for Containers
b14010
License:       ASL 2.0 and W3C
b14010
Group:         Development/Libraries
b14010
URL:           http://geronimo.apache.org/
b14010
Source0:       http://repo2.maven.org/maven2/org/apache/geronimo/specs/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.tar.gz
b14010
b14010
BuildArch:     noarch
b14010
b14010
BuildRequires: java-devel
b14010
BuildRequires: maven-local
b14010
BuildRequires: maven-plugin-bundle
b14010
BuildRequires: geronimo-osgi-support
b14010
BuildRequires: geronimo-parent-poms
b14010
BuildRequires: jpackage-utils
b14010
b14010
%description
b14010
Java Authentication Service Provider Interface for Containers (JSR-196) api.
b14010
b14010
%package javadoc
b14010
Group:          Documentation
b14010
Summary:        API documentation for %{name}
b14010
Requires:       jpackage-utils
b14010
b14010
%description javadoc
b14010
%{summary}.
b14010
b14010
b14010
%prep
b14010
%setup -q -n %{pkg_name}-%{version}
b14010
b14010
for d in LICENSE NOTICE ; do
b14010
  iconv -f iso8859-1 -t utf-8 $d > $d.conv && mv -f $d.conv $d
b14010
  sed -i 's/\r//' $d
b14010
done
b14010
b14010
%pom_xpath_remove "pom:parent"
b14010
%pom_xpath_inject "pom:project" "
b14010
    <parent>
b14010
      <groupId>org.apache.geronimo.specs</groupId>
b14010
      <artifactId>specs</artifactId>
b14010
      <version>any</version>
b14010
    </parent>"
b14010
b14010
%build
b14010
%mvn_file  : %{name}
b14010
%mvn_alias : org.eclipse.jetty.orbit:javax.security.auth.message
b14010
%mvn_build
b14010
b14010
%install
b14010
%mvn_install
b14010
b14010
%files -f .mfiles
b14010
%doc LICENSE NOTICE
b14010
b14010
%files javadoc -f .mfiles-javadoc
b14010
%doc LICENSE NOTICE
b14010
b14010
%changelog
b14010
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1-9
b14010
- Mass rebuild 2013-12-27
b14010
b14010
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-8
b14010
- Rebuild to regenerate API documentation
b14010
- Resolves: CVE-2013-1571
b14010
b14010
* Mon Mar  4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-7
b14010
- Add depmap for org.eclipse.jetty.orbit
b14010
- Resolves: rhbz#917621
b14010
b14010
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
b14010
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b14010
b14010
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.1-5
b14010
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
b14010
- Replace maven BuildRequires with maven-local
b14010
b14010
* Thu Jan 17 2013 Michal Srb <msrb@redhat.com> - 1.1-4
b14010
- Build with xmvn
b14010
b14010
* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-3
b14010
- Fix license tag
b14010
b14010
* Mon Jul 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-2
b14010
- Add BR: geronimo-osgi-support
b14010
b14010
* Mon Jul 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-1
b14010
- Update to upstream version 1.1
b14010
b14010
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
b14010
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b14010
b14010
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
b14010
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b14010
b14010
* Mon Dec 19 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-1
b14010
- Initial package (based on Mageia version)