Update to current packaging guidelines
This commit is contained in:
parent
e0be6b9e78
commit
bb8f385631
22
jsch.spec
22
jsch.spec
@ -30,12 +30,13 @@
|
|||||||
|
|
||||||
Name: jsch
|
Name: jsch
|
||||||
Version: 0.1.51
|
Version: 0.1.51
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 0
|
|
||||||
Summary: Pure Java implementation of SSH2
|
Summary: Pure Java implementation of SSH2
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.jcraft.com/jsch/
|
URL: http://www.jcraft.com/jsch/
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Source0: http://download.sourceforge.net/sourceforge/jsch/jsch-%{version}.zip
|
Source0: http://download.sourceforge.net/sourceforge/jsch/jsch-%{version}.zip
|
||||||
# wget \
|
# wget \
|
||||||
# http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/com.jcraft.jsch_0.1.41.v200903070017.jar
|
# http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/com.jcraft.jsch_0.1.41.v200903070017.jar
|
||||||
@ -56,8 +57,6 @@ BuildRequires: jzlib >= 0:1.0.5
|
|||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
Requires: jzlib >= 0:1.0.5
|
Requires: jzlib >= 0:1.0.5
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -67,19 +66,16 @@ functionality into your own Java programs.
|
|||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
Group: Documentation
|
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%package demo
|
%package demo
|
||||||
Summary: Examples for %{name}
|
Summary: Examples for %{name}
|
||||||
Group: Documentation
|
|
||||||
|
|
||||||
%description demo
|
%description demo
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -113,22 +109,22 @@ install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
|||||||
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
%add_maven_depmap
|
%add_maven_depmap
|
||||||
|
|
||||||
%files
|
%files -f .mfiles
|
||||||
%{_javadir}/*.jar
|
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%{_mavenpomdir}/JPP-%{name}.pom
|
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%doc %{_javadocdir}/%{name}*
|
%doc %{_javadocdir}/%{name}
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%doc %{_datadir}/%{name}*
|
%doc %{_datadir}/%{name}-%{version}
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.51-2
|
||||||
|
- Update to current packaging guidelines
|
||||||
|
|
||||||
* Tue Mar 18 2014 Alexander Kurtakov <akurtako@redhat.com> 0:0.1.51-1
|
* Tue Mar 18 2014 Alexander Kurtakov <akurtako@redhat.com> 0:0.1.51-1
|
||||||
- Update to latest upstream 0.1.51.
|
- Update to latest upstream 0.1.51.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user