forked from pool/netcomponents
Accepting request 496985 from Java:packages
- Remove obsolete dep. Clean with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/496985 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcomponents?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 20 18:19:26 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Remove obsolete dep. Clean with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 23 21:14:48 CEST 2007 - coolo@suse.de
|
Mon Jul 23 21:14:48 CEST 2007 - coolo@suse.de
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package netcomponents (Version 1.3.8)
|
# spec file for package netcomponents
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,23 +15,20 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
# icecream 0
|
|
||||||
|
|
||||||
|
|
||||||
Name: netcomponents
|
Name: netcomponents
|
||||||
BuildRequires: ant java2-devel-packages xml-commons-apis
|
|
||||||
%define section free
|
|
||||||
Summary: Internet Protocol Suite Java Library
|
|
||||||
Version: 1.3.8
|
Version: 1.3.8
|
||||||
Release: 276
|
Release: 0
|
||||||
|
Summary: Internet Protocol Suite Java Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Source: http://www.savarese.org/downloads/NetComponents/NetComponents-1.3.8-src.tar.gz
|
|
||||||
Patch: %{name}-java14compat.patch
|
|
||||||
Url: http://www.savarese.org/java/
|
Url: http://www.savarese.org/java/
|
||||||
BuildArch: noarch
|
Source: http://www.savarese.org/downloads/NetComponents/NetComponents-1.3.8-src.tar.gz
|
||||||
|
Patch0: %{name}-java14compat.patch
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: xml-commons-apis
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
NetComponents is an Internet protocol suite Java library originally
|
NetComponents is an Internet protocol suite Java library originally
|
||||||
@@ -47,11 +44,7 @@ where applicable so that the programmer can construct custom
|
|||||||
implementations (for example, the TFTP packet classes and the TFTP
|
implementations (for example, the TFTP packet classes and the TFTP
|
||||||
packet send and receive methods are exposed).
|
packet send and receive methods are exposed).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
License: LGPL-2.1+
|
|
||||||
PreReq: coreutils
|
|
||||||
Summary: Javadoc for netcomponents
|
Summary: Javadoc for netcomponents
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
@@ -71,40 +64,21 @@ and receive methods are exposed).
|
|||||||
|
|
||||||
This package contains the javadoc documentation for netcomponents.
|
This package contains the javadoc documentation for netcomponents.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n NetComponents-%{version}
|
%setup -q -n NetComponents-%{version}
|
||||||
%patch -p1
|
%patch0 -p1
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ant jar javadocs
|
ant jar javadocs
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
mkdir -p %{buildroot}%{_javadir}
|
||||||
cp -p build/lib/NetComponents-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
cp -p build/lib/NetComponents-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
(cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||||
# javadoc
|
# javadoc
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -pr build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
cp -pr build/docs/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%post javadoc
|
|
||||||
rm -f %{_javadocdir}/%{name}
|
|
||||||
ln -s %{name}-%{version} %{_javadocdir}/%{name}
|
|
||||||
|
|
||||||
%postun javadoc
|
|
||||||
if [ "$1" = "0" ]; then
|
|
||||||
rm -f %{_javadocdir}/%{name}
|
|
||||||
fi
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
@@ -113,22 +87,6 @@ fi
|
|||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{_javadocdir}/%{name}-%{version}
|
%{_javadocdir}/%{name}
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jul 23 2007 coolo@suse.de
|
|
||||||
- fix build
|
|
||||||
* Thu Sep 21 2006 skh@suse.de
|
|
||||||
- don't try to build with icecream within SUSE build system
|
|
||||||
- use source=1.4 and target=1.4 for build with java 1.5
|
|
||||||
* Wed Jan 25 2006 mls@suse.de
|
|
||||||
- converted neededforbuild to BuildRequires
|
|
||||||
* Thu Jul 28 2005 jsmeix@suse.de
|
|
||||||
- Adjustments in the spec file.
|
|
||||||
* Mon Jul 18 2005 jsmeix@suse.de
|
|
||||||
- Current version 1.3.8 from JPackage.org
|
|
||||||
* Thu Sep 16 2004 skh@suse.de
|
|
||||||
- Fix prerequires of javadoc subpackages
|
|
||||||
* Thu Sep 02 2004 skh@suse.de
|
|
||||||
- Initial package created with version 1.3.8 (JPackage 1.5)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user