Package java-base64: 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 | Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-default # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %global oname base64 Name: java-base64 Version: 2.3.8 Release: alt1_15jpp11 Summary: Java class for encoding and decoding Base64 notation # pom file license comment # I have released this software into the Public Domain. That # means you can do whatever you want with it. Really. You don't # have to match it up with any other open source license - # just use it. You can rename the files, move the Java packages, # whatever you want. If your lawyers say you have to have a # license, contact me, and I'll make a special release to you # under whatever reasonable license you desire: MIT, BSD, GPL, # whatever. License: Public Domain URL: http://iharder.net/base64/ Source0: https://github.com/omalley/base64/archive/release-%{version}.tar.gz Patch0: %{name}-2.3.8-elasticsearch.patch # test deps BuildRequires: junit BuildRequires: maven-local Provides: %{oname} = %{version}-%{release} BuildArch: noarch Source44: import.info %description Base64 is a Public Domain Java class for encoding and decoding Base64 notation. There are one-liner convenience methods as well as Input and Output Streams. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{oname}-release-%{version} %patch0 -p0 sed -i "s|<version>2.3.9-SNAPSHOT</version>|<version>%{version}</version>|" pom.xml # Unwanted %pom_remove_plugin :maven-release-plugin %pom_remove_plugin :maven-scm-plugin # Unwanted - disable javadoc source jar %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-javadoc-plugin %mvn_file :%{oname} %{name} %mvn_file :%{oname} %{oname} sed -i "s|<source>1.6</source>|<source>1.8</source>|" pom.xml sed -i "s|<target>1.6</target>|<target>1.8</target>|" pom.xml %build %mvn_build %install %mvn_install ( cd %{buildroot}%{_javadocdir} ln -sf %{name} %{oname} ) %files -f .mfiles %files javadoc -f .mfiles-javadoc %{_javadocdir}/%{oname} %changelog * Tue Aug 16 2022 Igor Vlasenko <viy@altlinux.org> 2.3.8-alt1_15jpp11 - jdk17 support * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_15jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_14jpp8 - fc29 update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_13jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_12jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_11jpp8 - new jpp release * Fri Dec 16 2016 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_10jpp8 - new fc release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_9jpp8 - new fc release * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_8jpp8 - new version * Tue Aug 26 2014 Igor Vlasenko <viy@altlinux.ru> 2.3.8-alt1_2jpp7 - new release |