Package jcommon: 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 118 119 120 121 122 123 124 125 126 | Epoch: 0 # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: jcommon Version: 1.0.23 Release: alt1_8jpp8 Summary: JFree Java utility classes License: LGPLv2+ Group: System/Libraries # Github: https://github.com/jfree/jcommon # There are no tags which we can use to get sources. See: # https://github.com/jfree/jcommon/issues/1 # Source retrieved via: # bash getsources.sh 1ea10aa82e30e0d60f57e1c562281a3ac7dd5cdd 1.0.23 Source: %{name}-%{version}.tar.gz URL: http://www.jfree.org/jcommon BuildRequires: maven-local BuildRequires: maven-plugin-bundle BuildRequires: sonatype-oss-parent Requires: jpackage-utils BuildArch: noarch Source44: import.info %description JCommon is a collection of useful classes used by JFreeChart, JFreeReport and other projects. %package javadoc Summary: Javadoc for %{name} Group: Development/Documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: jpackage-utils BuildArch: noarch %description javadoc Javadoc for %{name}. %description javadoc -l fr Javadoc pour %{name}. %prep %setup -q find . -name "*.jar" -exec rm -f {} \; MVN_BUNDLE_PLUGIN_EXTRA_XML="<extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName>org.jfree.jcommon</Bundle-SymbolicName> <Bundle-Vendor>Fedora Project</Bundle-Vendor> <Bundle-Version>%{version}</Bundle-Version> <!-- Do not autogenerate uses clauses in Manifests --> <_nouses>true</_nouses> </instructions> </configuration>" %pom_remove_plugin :maven-gpg-plugin %pom_remove_plugin :nexus-staging-maven-plugin %pom_remove_plugin :cobertura-maven-plugin %pom_remove_plugin :maven-site-plugin %pom_add_plugin org.apache.felix:maven-bundle-plugin . "$MVN_BUNDLE_PLUGIN_EXTRA_XML" # Change to packaging type bundle so as to be able to use it # as an OSGi bundle. %pom_xpath_set "pom:packaging" "bundle" %build %mvn_build %install %mvn_install %files -f .mfiles %doc LICENSE README.md %files javadoc -f .mfiles-javadoc %changelog * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 0:1.0.23-alt1_8jpp8 - fc29 update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 0:1.0.23-alt1_7jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:1.0.23-alt1_6jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 0:1.0.23-alt1_5jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:1.0.23-alt1_3jpp8 - new fc release * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 0:1.0.23-alt1_2jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.0.18-alt1_3jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 0:1.0.18-alt1_2jpp7 - new release * Wed Feb 13 2013 Igor Vlasenko <viy@altlinux.ru> 0:1.0.18-alt1_1jpp7 - fc update * Thu Sep 13 2012 Igor Vlasenko <viy@altlinux.ru> 0:1.0.17-alt1_4jpp7 - new version * Wed Oct 27 2010 Igor Vlasenko <viy@altlinux.ru> 0:1.0.16-alt2_2jpp6 - enabled repolib * Sat Oct 23 2010 Igor Vlasenko <viy@altlinux.ru> 0:1.0.16-alt1_2jpp6 - added pom * Sat Dec 20 2008 Igor Vlasenko <viy@altlinux.ru> 0:1.0.12-alt2_3jpp5 - new jpp release * Sat Sep 06 2008 Igor Vlasenko <viy@altlinux.ru> 0:1.0.12-alt1_2jpp5 - converted from JPackage by jppimport script * Fri Jun 29 2007 Igor Vlasenko <viy@altlinux.ru> 0:1.0.9-alt1_1jpp1.7 - converted from JPackage by jppimport script * Tue Apr 26 2005 Eugene V. Horohorin <genix@altlinux.ru> 1.0.0-alt0.1pre2 - First build for ALTLinux |