diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c3796d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +vldocking_2.0.6e.zip +vldocking_2.1.5.zip diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..f7c8b00 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ee2ecd6c659d20f154b9f685fd583dfe vldocking_2.1.5.zip diff --git a/vldocking-build.patch b/vldocking-build.patch new file mode 100644 index 0000000..8f1346a --- /dev/null +++ b/vldocking-build.patch @@ -0,0 +1,23 @@ +--- build.xml.orig 2008-08-27 00:16:02.000000000 +0200 ++++ build.xml 2008-08-27 00:16:33.000000000 +0200 +@@ -64,9 +64,9 @@ + + + +- ++ + +- + + +@@ -82,7 +82,7 @@ + source="1.4" + overview="${src.dir}/com/vlsolutions/swing/docking/overview.html" + link="http://java.sun.com/j2se/1.5.0/docs/api" +- windowtitle="VLSolutions Docking Framework {$vldocking.version} API"> ++ windowtitle="VLSolutions Docking Framework ${vldocking.version} API"> + + + diff --git a/vldocking.spec b/vldocking.spec new file mode 100644 index 0000000..57f41e6 --- /dev/null +++ b/vldocking.spec @@ -0,0 +1,97 @@ +Name: vldocking +Version: 2.1.5 +Release: 1%{?dist} +Summary: A Java ™ docking system for JFC Swing applications +Group: Development/Tools +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 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: java-devel >= 1.5 +BuildRequires: jpackage-utils, ant + +Requires: java >= 1.5 +Requires: jpackage-utils + + +%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: Documentation +Requires: %{name} = %{version}-%{release} +Requires: jpackage-utils +%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 +rm -rf $RPM_BUILD_ROOT + +install -D jar/%{name}_%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar + +pushd $RPM_BUILD_ROOT%{_javadir} + ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar +popd + +mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name} +cp -rp doc/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Licence_CeCILL-V1_VF.pdf Licence_CeCILL-V1.1_VA.pdf +%{_javadir}/* + +%files javadoc +%defattr(-,root,root,-) +%{_javadocdir}/* + +%changelog +* Sun Aug 22 2010 Ismael Olea 2.1.5-1 +- updating to 2.1.5 +- vldocking-build.patch not needed anymore + +* Sun Jul 26 2009 Fedora Release Engineering - 2.0.6e-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 2.0.6e-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Sep 17 2008 Ismael Olea 2.0.6e-4olea +- Cosmetic changes. + +* Sun Aug 31 2008 Ismael Olea 2.0.6e-3olea +- Cosmetic changes. + +* Fri Aug 29 2008 Ismael Olea 2.0.6e-2olea +- QA revision + +* Wed Aug 27 2008 Ismael Olea 2.0.6e-1olea +- first version