Package hibernate-jpa-2.0-api: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | Group: Development/Other AutoReq: yes,noosgi BuildRequires: rpm-build-java-osgi BuildRequires: /proc rpm-build-java BuildRequires: jpackage-11-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} # %%version is ahead of its definition. Predefining for rpm 4.0 compatibility. %define version 1.0.1 %global namedreltag .Final %global namedversion %{version}%{?namedreltag} Name: hibernate-jpa-2.0-api Version: 1.0.1 Release: alt4_29jpp11 Summary: Java Persistence 2.0 (JSR 317) API License: EPL and BSD URL: http://www.hibernate.org/ # 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 # tar -zcvf hibernate-jpa-2.0-api-1.0.1.Final.tar.gz hibernate-jpa-2.0-api-1.0.1.Final Source0: %{name}-%{namedversion}.tar.gz Patch0: %{name}-%{namedversion}-encoding.patch Patch1: %{name}-%{namedversion}-osgi-manifest.patch BuildArch: noarch BuildRequires: maven-local Source44: import.info %description Hibernate definition of the Java Persistence 2.0 (JSR 317) API. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{name}-%{namedversion} %patch0 -p1 %patch1 -p1 %pom_xpath_remove pom:build/pom:extensions %pom_remove_plugin :maven-release-plugin %pom_remove_plugin :maven-source-plugin # remove maven-compiler-plugin configuration that is broken with Java 11 %pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration' %build %mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 %install %mvn_install %files -f .mfiles %doc readme.txt %doc --no-dereference license.txt %files javadoc -f .mfiles-javadoc %doc --no-dereference license.txt %changelog * Tue Jun 01 2021 Igor Vlasenko <viy@altlinux.org> 1.0.1-alt4_29jpp11 - update * Thu May 13 2021 Igor Vlasenko <viy@altlinux.org> 1.0.1-alt4_26jpp8 - new version * Thu Apr 29 2021 Igor Vlasenko <viy@altlinux.org> 1.0.1-alt3_26jpp11 - update * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_23jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_22jpp8 - fc29 update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_21jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_20jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_19jpp8 - new jpp release * Fri Dec 16 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_18jpp8 - new fc release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_17jpp8 - new fc release * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_16jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_12jpp7 - new release * Sat Aug 23 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_11jpp7 - new release * Thu Aug 07 2014 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt3_7jpp7 - rebuild with maven-local * Mon Oct 01 2012 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt2_7jpp7 - added OSGi info * Mon Oct 01 2012 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt1_7jpp7 - added OSGi info * Thu Sep 06 2012 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt1_4jpp7 - new version |