Package jdepend: 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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | Group: Development/Java # 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} # Copyright (c) 2000-2005, JPackage Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the # distribution. # 3. Neither the name of the JPackage Project nor the names of its # contributors may be used to endorse or promote products derived # from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Name: jdepend Version: 2.9.1 Release: alt3_18jpp8.qa1 Epoch: 0 Summary: Java Design Quality Metrics License: BSD URL: http://www.clarkware.com/ #Downloaded from http://github.com/clarkware/jdepend/tarball/2.9.1 Source0: clarkware-jdepend-5798059.tar.gz Source1: %{name}-%{version}.pom BuildArch: noarch BuildRequires: ant BuildRequires: java-devel BuildRequires: javapackages-local Source44: import.info %description JDepend traverses a set of Java class and source file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to effectively manage and control package dependencies. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc Javadoc for %{name}. %package demo Group: Development/Java Summary: Demos for %{name} Requires: %{name} = %{EVR} %description demo Demonstrations and samples for %{name}. %prep %setup -q -n clarkware-jdepend-5798059 # remove all binary libs find . -name "*.jar" -delete # fix strange permissions find . -type d -exec chmod 755 {} \; %mvn_file %{name}:%{name} %{name} %build ant jar javadoc %install %mvn_artifact %{SOURCE1} dist/%{name}-%{version}.jar %mvn_install -J build/docs/api rm -rf build/docs/api # demo install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} cp -pr sample $RPM_BUILD_ROOT%{_datadir}/%{name} %files -f .mfiles %doc README docs %doc --no-dereference LICENSE %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE %files demo %{_datadir}/%{name} %changelog * Thu Jul 12 2018 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_18jpp8.qa1 - NMU (by repocop). See http://www.altlinux.org/Tools/Repocop - applied repocop fixes: * beehive-log-dependency-needs-epoch-x86_64 for jdepend * Tue May 08 2018 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_18jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_17jpp8 - fc27 update * Thu Nov 02 2017 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_16jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_15jpp8 - new fc release * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_13jpp8 - new version * Tue Aug 26 2014 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_8jpp7 - new release * Mon Apr 22 2013 Repocop Q. A. Robot <repocop@altlinux.org> 0:2.9.1-alt3_7jpp7.qa1 - NMU (by repocop). See http://www.altlinux.org/Tools/Repocop - applied repocop fixes: * beehive-log-dependency-needs-epoch-x86_64 for jdepend * Sun Mar 17 2013 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_7jpp7 - fc update * Sat Oct 23 2010 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_3jpp6 - added pom * Sun Feb 21 2010 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_1jpp5 - new jpackage release * Mon Apr 30 2007 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt3_1jpp1.7 - rebuild with new packages * Wed Apr 18 2007 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt2_1jpp1.7 - converted from JPackage by jppimport script * Wed Apr 04 2007 Igor Vlasenko <viy@altlinux.ru> 0:2.9.1-alt1_1jpp1.7 - converted from JPackage by jppimport script * Mon Sep 20 2004 Mikhail Zabaluev <mhz@altlinux.ru> 2.8.2-alt1 - Updated to upstream release 2.8.2 - Disabled debug compiler option by default * Mon Jun 07 2004 Mikhail Zabaluev <mhz@altlinux.ru> 2.7-alt1 - New upstream release * Fri Oct 10 2003 Mikhail Zabaluev <mhz@altlinux.ru> 2.6-alt1 - Ported to Sisyphus from JPackage |