diff --git a/2.10.Final.tar.gz b/2.10.Final.tar.gz new file mode 100644 index 0000000..3ba6971 Binary files /dev/null and b/2.10.Final.tar.gz differ diff --git a/hibernate-jpa-2.1-api-1.0.0.Final.pom b/hibernate-jpa-2.1-api-1.0.0.Final.pom new file mode 100644 index 0000000..7992e4b --- /dev/null +++ b/hibernate-jpa-2.1-api-1.0.0.Final.pom @@ -0,0 +1,53 @@ + + + 4.0.0 + org.hibernate.javax.persistence + hibernate-jpa-2.1-api + 1.0.0.Final + Java Persistence API, Version 2.1 + Clean-room definition of JPA APIs intended for use in developing Hibernate JPA implementation. See README.md for details + http://hibernate.org + + jira + http://opensource.atlassian.com/projects/hibernate/browse/JPA + + + http://github.com/hibernate/hibernate-jpa-api + scm:git:http://github.com/hibernate/hibernate-jpa-api.git + scm:git:git@github.com:hibernate/hibernate-jpa-api.git + + + + Eclipse Public License (EPL), Version 1.0 + http://www.eclipse.org/legal/epl-v10.html + repo + + + Eclipse Distribution License (EDL), Version 1.0 + http://www.eclipse.org/org/documents/edl-v10.php + + + + + epbernard + Emmanuel Bernard + emmanuel@hibernate.org + Red Hat, Inc. + http://in.relation.to/Bloggers/Emmanuel + + + hardy.ferentschik + Hardy Ferentschik + hferents@redhat.com + Red Hat, Inc. + http://in.relation.to/Bloggers/Hardy + + + sebersole + Steve Ebersole + steve@hibernate.org + Red Hat, Inc. + http://in.relation.to/Bloggers/Steve + + + diff --git a/hibernate-jpa-2.1-api.spec b/hibernate-jpa-2.1-api.spec new file mode 100644 index 0000000..8c23956 --- /dev/null +++ b/hibernate-jpa-2.1-api.spec @@ -0,0 +1,46 @@ +%global apiversion 2.1 +%global minversion 0 +%global _summary Java Persistence %{apiversion} API + +Name: hibernate-jpa-2.1-api +Summary: %{_summary} +Version: 1.0.0 +Release: 7 +License: EPL and BSD +URL: http://www.hibernate.org/ + +Source0: https://github.com/hibernate/hibernate-jpa-api/archive/%{?apiversion}%{?minversion}.Final.tar.gz +Source1: http://repo1.maven.org/maven2/org/hibernate/javax/persistence/%{name}/%{version}.Final/%{name}-%{version}.Final.pom + + +BuildRequires: maven-local maven-plugin-bundle + +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} + +BuildArch: noarch + +%description +%{_summary} + +%prep +%setup -q -n hibernate-jpa-api-2.10.Final +find . -name "*.jar" -delete +cp -p %{SOURCE1} pom.xml +sed -i 's/\r//' src/main/javadoc/jdstyle.css +%mvn_file :%{name} %{name} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles -f .mfiles-javadoc +%doc README.md +%license license.txt + +%changelog +* Fri Dec 13 2019 dingyiming - 1.0.0-7 +- Package init +