commit 0bbf243307f118a0444b97b4104f5f25952bdbb05b8d95010873a88d80154e84 Author: Darin Perusich Date: Tue Apr 15 16:29:19 2014 +0000 Accepting request 230085 from science Moving scilab related packages to Java repository OBS-URL: https://build.opensuse.org/request/show/230085 OBS-URL: https://build.opensuse.org/package/show/Java:packages/cpptasks?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/cpptasks-1.0b5.tar.gz b/cpptasks-1.0b5.tar.gz new file mode 100644 index 0000000..ea2eb26 --- /dev/null +++ b/cpptasks-1.0b5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d181cee0c4e28bed202f8bf582dc42bbc824c7712ea29c7b17f036fc7cdfc209 +size 902930 diff --git a/cpptasks.changes b/cpptasks.changes new file mode 100644 index 0000000..c375c74 --- /dev/null +++ b/cpptasks.changes @@ -0,0 +1,46 @@ +------------------------------------------------------------------- +Fri Sep 14 17:53:00 UTC 2012 - dmitry_r@opensuse.org + +- Update to version 1.0 beta 5 + +------------------------------------------------------------------- +Wed Oct 04 2006 - r.apel@r-apel.de + +- Release to 1.7 (thanks Mary Ellen) +- Add post/postun Requires for javadoc +- Add gcj_support option + +------------------------------------------------------------------- +Wed Oct 04 2006 - mefoster@gmail.com + +- Upgrade to 1.0.b4 +- Add antcontrib.xml (it's missing in the tarball) + +------------------------------------------------------------------- +Mon Sep 06 2004 - r.apel@r-apel.de + +- Upgrade to Ant 1.6.X +- Build with ant-1.6.2 +- Upgraded to 1.0.b3 + +------------------------------------------------------------------- +Fri Aug 20 2004 - r.apel@r-apel.de + +- Build with ant-1.6.2 +- Relax versioned BuildReq +- Drop junit runtime requirement + +------------------------------------------------------------------- +Fri Aug 06 2004 - r.apel@r-apel.de + +- Also runtime dep to Ant 1.6.X + +------------------------------------------------------------------- +Tue Jun 01 2004 - rwatler@finali.com + +- Upgrade to Ant 1.6.X + +------------------------------------------------------------------- +Wed Mar 24 2004 - r.apel@r-apel.de + +- First JPackage release diff --git a/cpptasks.spec b/cpptasks.spec new file mode 100644 index 0000000..ff55b12 --- /dev/null +++ b/cpptasks.spec @@ -0,0 +1,79 @@ +# +# spec file for package cpptasks +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: cpptasks +Version: 1.0b5 +Release: 0 +Summary: Compile and link task +License: Apache-2.0 +Group: Development/Libraries/Java +Url: http://ant-contrib.sourceforge.net/ +Source0: http://downloads.sourceforge.net/ant-contrib/%{name}-%{version}.tar.gz + +BuildRequires: ant +BuildRequires: ant-junit +BuildRequires: jpackage-utils +BuildRequires: junit + +Requires: ant +Requires: java + +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This ant task can compile various source languages and produce +executables, shared libraries and static libraries. Compiler adaptors +are currently available for several C/C++ compilers, FORTRAN, +MIDL and Windows Resource files. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/Other + +%description javadoc +Javadoc documentation for %{summary}. + +%prep +%setup -q -n %{name}-%{version} +find . -name '*.jar' -type f -delete -print + +%build +export OPT_JAR_LIST="ant/ant-junit junit" +export CLASSPATH="" +%ant jars javadocs + +%install +# jars +install -Dpm 644 target/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar +ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +# javadoc +install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version} +cp -pr target/javadocs/* %{buildroot}%{_javadocdir}/%{name}-%{version} +ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # ghost symlink + +%files +%defattr(-,root,root,-) +%{_javadir}/*.jar + +%files javadoc +%defattr(-,root,root,-) +%doc %{_javadocdir}/%{name}-%{version} +%doc %{_javadocdir}/%{name} + +%changelog