rpms/trilead-ssh2/F-10 build.xml, NONE, 1.1 trilead-ssh2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Robert Marcano
robmv at fedoraproject.org
Mon Mar 23 13:25:05 UTC 2009
- Previous message (by thread): rpms/system-config-kdump/devel system-config-kdump-1.0.14-off-by-one.patch, NONE, 1.1 system-config-kdump.spec, 1.6, 1.7
- Next message (by thread): rpms/ncmpcpp/F-9 ncmpcpp-0.3.2-charset.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 import.log, 1.2, 1.3 ncmpcpp.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: robmv
Update of /cvs/extras/rpms/trilead-ssh2/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21766
Modified Files:
.cvsignore sources
Added Files:
build.xml trilead-ssh2.spec
Log Message:
first F-10 build
--- NEW FILE build.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="dist" name="trilead-ssh2">
<target name="init">
<property name="build.dir" value="build"/>
<property name="src.dir" value="src"/>
</target>
<target name="compile" depends="init">
<mkdir dir="${build.dir}"/>
<javac
debug="false"
deprecation="true"
destdir="${build.dir}"
srcdir="${src.dir}"
target="1.4"
source="1.4">
</javac>
</target>
<target name="clean" depends="init">
<delete includeEmptyDirs="true" dir="${build.dir}"/>
</target>
<target name="dist" depends="compile">
<jar jarFile="trilead-ssh2.jar" baseDir="${build.dir}" index="true"/>
</target>
</project>
--- NEW FILE trilead-ssh2.spec ---
%define with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}
Name: trilead-ssh2
Version: 213
Release: 4%{?dist}
Summary: SSH-2 protocol implementation in pure Java
Group: Development/Tools
License: BSD
URL: http://www.trilead.com/Products/Trilead_SSH_for_Java/
#http://www.trilead.com/DesktopModules/Releases/download_file.aspx?ReleaseId=4102
Source0: trilead-ssh2-build%{version}.zip
Source1: build.xml
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: jpackage-utils
BuildRequires: java-devel
BuildRequires: ant
Requires: jpackage-utils
Requires: java
%if %{with_gcj}
BuildRequires: java-gcj-compat-devel >= 1.0.31
Requires(post): java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%else
BuildArch: noarch
%endif
#Obsoletes: ganymed-ssh2 <= 210
%description
Trilead SSH-2 for Java is a library which implements the SSH-2 protocol in pure
Java (tested on J2SE 1.4.2 and 5.0). It allows one to connect to SSH servers
from within Java programs. It supports SSH sessions (remote command execution
and shell access), local and remote port forwarding, local stream forwarding,
X11 forwarding and SCP. There are no dependencies on any JCE provider, as all
crypto functionality is included.
%package javadoc
Summary: Javadoc for %{name}
Group: Development Documentation
Requires: %{name} = %{version}-%{release}
Requires: jpackage-utils
%description javadoc
Javadoc for trilead-ssh2.
%prep
%setup -q -n %{name}-build%{version}
cp %{SOURCE1} .
# change file encoding
iconv -f ISO-8859-1 -t UTF-8 -o HISTORY.txt HISTORY.txt
# delete the jars that are in the archive
rm %{name}-build%{version}.jar
# fixing wrong-file-end-of-line-encoding warnings
sed -i 's/\r//' LICENSE.txt README.txt HISTORY.txt faq/FAQ.html
find examples -name \*.java -exec sed -i 's/\r//' {} \;
%build
ant
%install
rm -rf $RPM_BUILD_ROOT
# jar
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
# javadoc
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr javadoc/* \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
# gcj support
%if %{with_gcj}
%{_bindir}/aot-compile-rpm
%endif
pushd $RPM_BUILD_ROOT%{_javadir}/
ln -s %{name}-%{version}.jar %{name}.jar
popd
%clean
rm -rf $RPM_BUILD_ROOT
%post
# gcj support
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%postun
# gcj support
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
%files
%defattr(-,root,root)
%{_javadir}/*
%doc LICENSE.txt HISTORY.txt README.txt faq examples
# gcj support
%if %{with_gcj}
%attr(-,root,root) %{_libdir}/gcj/%{name}
%endif
%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%changelog
* Tue Feb 16 2009 Robert Marcano <robert at marcanoonline.com> - 213-4
- Renaming package because main project moved, based on ganymed-ssh2
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/trilead-ssh2/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 16 Feb 2009 21:07:46 -0000 1.1
+++ .cvsignore 23 Mar 2009 13:24:34 -0000 1.2
@@ -0,0 +1 @@
+trilead-ssh2-build213.zip
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/trilead-ssh2/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 16 Feb 2009 21:07:46 -0000 1.1
+++ sources 23 Mar 2009 13:24:34 -0000 1.2
@@ -0,0 +1 @@
+f6ccb92074b60c1635c08796ad46a1fd trilead-ssh2-build213.zip
- Previous message (by thread): rpms/system-config-kdump/devel system-config-kdump-1.0.14-off-by-one.patch, NONE, 1.1 system-config-kdump.spec, 1.6, 1.7
- Next message (by thread): rpms/ncmpcpp/F-9 ncmpcpp-0.3.2-charset.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 import.log, 1.2, 1.3 ncmpcpp.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list