summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/control26
-rw-r--r--debian/copyright38
-rw-r--r--debian/local/netbeans-ide.desktop.in12
-rwxr-xr-xdebian/local/netbeans-ide.in5
-rw-r--r--debian/local/netbeans-ide.lintian-overrides.in12
-rwxr-xr-xdebian/local/netbeans-ide.postinst.in22
-rwxr-xr-xdebian/local/netbeans-ide.prerm.in22
-rwxr-xr-xdebian/rules54
-rw-r--r--debian/source/format1
10 files changed, 197 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5cb37aa
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+netbeans-ide-10.0 (10.0-0+progress5u1) engywuck-extras; urgency=low
+
+ * Initial upload to engywuck-extras.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 16 Jan 2019 19:38:12 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..feb3287
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: netbeans-ide-10.0
+Section: non-free/java
+Priority: optional
+Maintainer: Progress Linux Maintainers <maintainers@lists.progress-linux.org>
+XSBC-Uploaders: Daniel Baumann <daniel.baumann@progress-linux.org>
+Bugs: mailto:bugs@lists.progress-linux.org
+Build-Depends:
+ debhelper-compat (= 12),
+ unzip,
+Rules-Requires-Root: no
+Standards-Version: 4.3.0
+Homepage: https://netbeans.apache.org
+Vcs-Browser: https://git.progress-linux.org/distributions/engywuck-extras/packages/netbeans-ide-10.0
+Vcs-Git: https://git.progress-linux.org/distributions/engywuck-extras/packages/netbeans-ide-10.0
+
+Package: netbeans-ide-10.0
+Section: non-free/java
+Architecture: all
+Depends:
+ default-jre | openjdk-11-jre,
+ ${misc:Depends},
+Description: NetBeans IDE 10.0
+ NetBeans is an integrated development environment (IDE). It allows applications
+ to be developed from a set of modular software components called modules. In
+ addition to Java development, it has extensions for other languages like PHP,
+ C, C++, HTML5, and JavaScript.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5eb2016
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: NetBeans IDE
+Upstream-Contact: dev@netbeans.incubator.apache.org
+Source: https://netbeans.apache.org/download/
+
+Files: *
+Copyright: 2017-2018 The Apache Software Foundation
+ 1997-2016 Oracle
+ 1997-2006 Sun Microsystems, Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2010-2019 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: PD
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ The complete text of the Apache License
+ can be found in /usr/share/common-licenses/Apache-2.0 file.
+
+License: PD
+ This program is free software: you have unlimited permission
+ to copy, distribute and modify it.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/debian/local/netbeans-ide.desktop.in b/debian/local/netbeans-ide.desktop.in
new file mode 100644
index 0000000..e21b4c1
--- /dev/null
+++ b/debian/local/netbeans-ide.desktop.in
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=NetBeans IDE @RELEASE@
+GenericName=NetBeans IDE
+Comment=Integrated Development Environment
+Icon=/usr/lib/@PACKAGE@/nb/netbeans.png
+Exec=/usr/bin/@PACKAGE@
+Terminal=false
+Categories=Development;IDE;
+Keywords=IDE
+StartupNotify=true
diff --git a/debian/local/netbeans-ide.in b/debian/local/netbeans-ide.in
new file mode 100755
index 0000000..8fab4d0
--- /dev/null
+++ b/debian/local/netbeans-ide.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+exec /usr/lib/@PACKAGE@/bin/netbeans ${@}
diff --git a/debian/local/netbeans-ide.lintian-overrides.in b/debian/local/netbeans-ide.lintian-overrides.in
new file mode 100644
index 0000000..68d6319
--- /dev/null
+++ b/debian/local/netbeans-ide.lintian-overrides.in
@@ -0,0 +1,12 @@
+@PACKAGE@: arch-independent-package-contains-binary-or-object
+@PACKAGE@: binary-or-shlib-defines-rpath
+@PACKAGE@: classpath-contains-relative-path
+@PACKAGE@: codeless-jar
+@PACKAGE@: executable-not-elf-or-script
+@PACKAGE@: jar-contains-source
+@PACKAGE@: jar-not-in-usr-share
+@PACKAGE@: library-not-linked-against-libc
+@PACKAGE@: missing-dependency-on-libc
+@PACKAGE@: python-script-but-no-python-dep
+@PACKAGE@: shared-lib-without-dependency-information
+@PACKAGE@: unstripped-binary-or-object
diff --git a/debian/local/netbeans-ide.postinst.in b/debian/local/netbeans-ide.postinst.in
new file mode 100755
index 0000000..2d32b16
--- /dev/null
+++ b/debian/local/netbeans-ide.postinst.in
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ configure)
+ update-alternatives --quiet --install /usr/bin/netbeans-ide netbeans-ide /usr/bin/netbeans-ide-@RELEASE@ @PRIORITY@
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/local/netbeans-ide.prerm.in b/debian/local/netbeans-ide.prerm.in
new file mode 100755
index 0000000..b58ce72
--- /dev/null
+++ b/debian/local/netbeans-ide.prerm.in
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ remove|upgrade|deconfigure)
+ update-alternatives --quiet --remove netbeans-ide /usr/bin/netbeans-ide-@RELEASE@
+ ;;
+
+ failed-upgrade)
+
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5fb1d48
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,54 @@
+#!/usr/bin/make -f
+
+SHELL := sh -e
+
+PACKAGE := $(shell dh_listpackages)
+RELEASE := $(word 1, $(subst -0+progress, ,$(shell dpkg-parsechangelog -SVersion)))
+PRIORITY := $(subst .,,$(RELEASE))
+
+%:
+ dh ${@}
+
+override_dh_auto_clean:
+ dh_auto_clean
+
+ # debian
+ rm -f debian/$(PACKAGE).desktop debian/$(PACKAGE).lintian-overrides debian/$(PACKAGE).postinst debian/$(PACKAGE).prerm
+
+ # upstream
+ rm -rf netbeans
+
+override_dh_auto_build:
+ dh_auto_build
+
+ # debian
+ for FILE in desktop lintian-overrides postinst prerm; \
+ do \
+ sed -e "s|@PACKAGE@|$(PACKAGE)|g" \
+ -e "s|@RELEASE@|$(RELEASE)|g" \
+ -e "s|@PRIORITY@|$(PRIORITY)|g" \
+ debian/local/netbeans-ide.$${FILE}.in > debian/$(PACKAGE).$${FILE}; \
+ done
+
+ # upstream
+ unzip -q *netbeans*-bin.zip
+
+override_dh_auto_install:
+ # upstream
+ mkdir -p debian/$(PACKAGE)/usr/lib
+ mv netbeans debian/$(PACKAGE)/usr/lib/$(PACKAGE)
+
+ # bin
+ mkdir -p debian/$(PACKAGE)/usr/bin
+ sed -e "s|@PACKAGE@|$(PACKAGE)|g" \
+ -e "s|@RELEASE@|$(RELEASE)|g" \
+ debian/local/netbeans-ide.in > debian/$(PACKAGE)/usr/bin/${PACKAGE}
+
+override_dh_dwz:
+ # disabled
+
+override_dh_strip:
+ # disabled
+
+override_dh_strip_nondeterminism:
+ # disabled
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)