Package jnr-unixsocket: 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 | Group: Development/Other BuildRequires: /proc rpm-build-java BuildRequires: jpackage-11-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: jnr-unixsocket Version: 0.21 Release: alt1_8jpp11 Summary: Unix sockets for Java License: ASL 2.0 URL: https://github.com/jnr/%{name}/ Source0: https://github.com/jnr/%{name}/archive/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(com.github.jnr:jnr-constants) BuildRequires: mvn(com.github.jnr:jnr-enxio) BuildRequires: mvn(com.github.jnr:jnr-ffi) BuildRequires: mvn(com.github.jnr:jnr-posix) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) Source44: import.info %description Unix sockets for Java. %package javadoc Group: Development/Java Summary: Javadocs for %{name} BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} find ./ -name '*.jar' -delete find ./ -name '*.class' -delete # remove unnecessary dependency on parent POM %pom_remove_parent # remove unnecessary wagon extension %pom_xpath_remove pom:build/pom:extensions # Unnecessary for RPM builds %pom_remove_plugin :maven-checkstyle-plugin %pom_remove_plugin :findbugs-maven-plugin %pom_remove_plugin :maven-pmd-plugin %pom_remove_plugin :maven-javadoc-plugin # Can't run integration tests %pom_remove_plugin :maven-assembly-plugin %pom_remove_plugin :exec-maven-plugin # Remove enxio classes to avoid OSGi split-package problems, # see https://github.com/jnr/jnr-unixsocket/pull/41 rm -r src/main/java/jnr/enxio # Fix jar plugin usage %pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" %build # Tests fails on some arches %mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8 %install %mvn_install %files -f .mfiles %doc --no-dereference LICENSE %doc README.md %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE %changelog * Thu Jun 10 2021 Igor Vlasenko <viy@altlinux.org> 0.21-alt1_8jpp11 - fc34 update * Wed Jan 29 2020 Igor Vlasenko <viy@altlinux.ru> 0.21-alt1_4jpp8 - fc update * Fri May 24 2019 Igor Vlasenko <viy@altlinux.ru> 0.21-alt1_2jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0.18-alt1_6jpp8 - fc29 update * Tue May 08 2018 Igor Vlasenko <viy@altlinux.ru> 0.18-alt1_5jpp8 - java update * Fri Nov 10 2017 Igor Vlasenko <viy@altlinux.ru> 0.18-alt1_3jpp8 - new version * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 0.12-alt1_3jpp8 - new jpp release * Fri Dec 16 2016 Igor Vlasenko <viy@altlinux.ru> 0.12-alt1_1jpp8 - new version * Fri Nov 25 2016 Igor Vlasenko <viy@altlinux.ru> 0.10-alt1_1jpp8 - new version * Sun Feb 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.8-alt1_3jpp8 - java 8 mass update * Tue Aug 26 2014 Igor Vlasenko <viy@altlinux.ru> 0.2-alt1_1jpp7 - new release |