Package vldocking: Specfile
# BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-macros-java BuildRequires: unzip # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: vldocking Version: 2.1.5 Release: alt1_13jpp8 Summary: A Java a.. docking system for JFC Swing applications Group: Development/Java License: CeCILL URL: http://www.vlsolutions.com/en/download/ # the zip file can be downloaded from the redirect # from http://www.vlsolutions.com/en/download/downloader2_0.php Source0: vldocking_%{version}.zip Patch1: vldocking-build.patch BuildArch: noarch BuildRequires: java-devel >= 1.5 BuildRequires: jpackage-utils ant Requires: java >= 1.5 Requires: jpackage-utils Source44: import.info %description Docking windows allow the user to reorganize the application's workspace according to his needs: * Drag and Drop parts of the application ("Dockables") * Hide the dockables not often used to save screen space * Detach some dockables and have them floating outside the window * Easily switch between different workspaces * And much more... %package javadoc Summary: Javadocs for %{name} Group: Development/Java Requires: %{name} = %{version}-%{release} Requires: jpackage-utils BuildArch: noarch %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{name}_%{version} find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \; %build ant jar ant javadoc %install install -D jar/%{name}_%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name} cp -rp doc/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} %files %doc Licence_CeCILL-V1_VF.pdf Licence_CeCILL-V1.1_VA.pdf %{_javadir}/* %files javadoc %{_javadocdir}/* %changelog * Mon Apr 16 2018 Igor Vlasenko <viy@altlinux.ru> 2.1.5-alt1_13jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 2.1.5-alt1_12jpp8 - fc27 update * Tue Oct 17 2017 Igor Vlasenko <viy@altlinux.ru> 2.1.5-alt1_11jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 2.1.5-alt1_10jpp8 - new fc release * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 2.1.5-alt1_9jpp8 - new version * Mon Sep 08 2014 Igor Vlasenko <viy@altlinux.ru> 2.1.5-alt1_6jpp7 - new release * Mon Jul 28 2014 Igor Vlasenko <viy@altlinux.ru> 2.1.5-alt1_5jpp7 - new release * Mon Sep 17 2012 Igor Vlasenko <viy@altlinux.ru> 2.1.5-alt1_4jpp7 - new version |