d4de34d
%global namedreltag .Final
d4de34d
%global namedversion %{version}%{?namedreltag}
d4de34d
d4de34d
Name:             hibernate-jpa-2.0-api
d4de34d
Version:          1.0.1
6d72472
Release:          24%{?dist}
d4de34d
Summary:          Java Persistence 2.0 (JSR 317) API
d4de34d
License:          EPL and BSD
d4de34d
URL:              http://www.hibernate.org/
d4de34d
# svn export http://anonsvn.jboss.org/repos/hibernate/jpa-api/tags/hibernate-jpa-2.0-api-1.0.1.Final/ hibernate-jpa-2.0-api-1.0.1.Final
d4de34d
# tar -zcvf hibernate-jpa-2.0-api-1.0.1.Final.tar.gz hibernate-jpa-2.0-api-1.0.1.Final
d4de34d
Source0:          %{name}-%{namedversion}.tar.gz
197f950
Patch0:           %{name}-%{namedversion}-encoding.patch
ad1667a
Patch1:           %{name}-%{namedversion}-osgi-manifest.patch
d4de34d
d4de34d
BuildArch:        noarch
d4de34d
Stanislav Ochotnicky 41c7834
BuildRequires:    maven-local
d4de34d
BuildRequires:    maven-release-plugin
d4de34d
d4de34d
%description
d4de34d
Hibernate definition of the Java Persistence 2.0 (JSR 317) API.
d4de34d
d4de34d
%package javadoc
ae597be
Summary:        Javadoc for %{name}
d4de34d
d4de34d
%description javadoc
d4de34d
This package contains the API documentation for %{name}.
d4de34d
d4de34d
%prep
d4de34d
%setup -q -n %{name}-%{namedversion}
197f950
%patch0 -p1
ad1667a
%patch1 -p1
d4de34d
Marek Goldmann e4e2416
%pom_xpath_remove pom:build/pom:extensions
Marek Goldmann e4e2416
ae597be
%pom_remove_plugin :maven-source-plugin
ae597be
ae597be
# Fixing wrong-file-end-of-line-encoding
ae597be
sed -i 's/\r//' src/main/javadoc/jdstyle.css
ae597be
d4de34d
%build
Marek Goldmann c2dd422
%mvn_build
d4de34d
d4de34d
%install
d4de34d
# Fixing wrong-file-end-of-line-encoding
d4de34d
sed -i 's/\r//' target/site/apidocs/jdstyle.css
Marek Goldmann c2dd422
%mvn_install
d4de34d
Marek Goldmann c2dd422
%files -f .mfiles
ae597be
%doc readme.txt
ae597be
%license license.txt
d4de34d
Marek Goldmann c2dd422
%files javadoc -f .mfiles-javadoc
ae597be
%license license.txt
d4de34d
d4de34d
%changelog
6d72472
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-24
6d72472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6d72472
bda01cf
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-23
bda01cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
bda01cf
2126479
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-22
2126479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2126479
d393789
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-21
d393789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d393789
a305d75
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-20
a305d75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a305d75
1b917d9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-19
1b917d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1b917d9
ae597be
* Tue Jun 21 2016 gil cattaneo <puntogil@libero.it> 1.0.1-18
ae597be
- fix BR list
ae597be
- adapt to current guideline
ae597be
- introduce license macro
ae597be
- fix some rpmlint problem
ae597be
8a70611
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-17
8a70611
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8a70611
e6d99b4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-16
e6d99b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e6d99b4
Marek Goldmann c2dd422
* Mon Jul 21 2014 Marek Goldmann <mgoldman@redhat.com> - 1.0.1-15
Marek Goldmann c2dd422
- Switch to xmvn
Marek Goldmann c2dd422
dbbfbce
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-14
dbbfbce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dbbfbce
88575b2
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.0.1-13
88575b2
- Use Requires: java-headless rebuild (#1067528)
88575b2
a1fff7e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-12
a1fff7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a1fff7e
Marek Goldmann e4e2416
* Tue Feb 19 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.1-11
Marek Goldmann e4e2416
- Removed wagon extension
Marek Goldmann e4e2416
6266738
* Fri Feb 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.1-10
6266738
- Don't install depmap for javax.persistence:persistence-api
6266738
90ee1cd
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-9
90ee1cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
90ee1cd
Stanislav Ochotnicky 41c7834
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0.1-8
Stanislav Ochotnicky 41c7834
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 41c7834
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 41c7834
ceccfb7
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
ceccfb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ceccfb7
ad1667a
* Tue Jun 19 2012 Gerard Ryan <galileo@fedoraproject.org> 1.0.1-6
ad1667a
- Add OSGI info to MANIFEST.MF
ad1667a
cdf7537
* Fri Mar 16 2012 Marek Goldmann <mgoldman@redhat.com> 1.0.1-5
cdf7537
- Relocated jars to _javadir
cdf7537
- Added javax.persistence:persistence-api POM mapping
cdf7537
197f950
* Sun Jan 15 2012 Marek Goldmann <mgoldman@redhat.com> 1.0.1-4
197f950
- Fixed encoding
197f950
319d58f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
319d58f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
319d58f
d4de34d
* Wed Jul 27 2011 Marek Goldmann <mgoldman@redhat.com> 1.0.1-2
d4de34d
- Removed unnecessary macros, using new add_maven_depmap
d4de34d
- License fix
d4de34d
d4de34d
* Tue Jul 05 2011 Marek Goldmann <mgoldman@redhat.com> 1.0.1-1
d4de34d
- Upstream release, license fix
d4de34d
d4de34d
* Fri May 20 2011 Marek Goldmann <mgoldman@redhat.com> 1.0.0-1
d4de34d
- Initial packaging
d4de34d