From fc787c7e4af11c16c9b529ff342ff27f0ac36b96 Mon Sep 17 00:00:00 2001 From: Qiu Tingting Date: Wed, 3 Mar 2021 20:10:05 +0800 Subject: Remove packaging folder Packaging folder contains files that defines package rule for other platform, which is useless anymore. Bug-AGL: SPEC-3835 Change-Id: Ia37facd9d341050d217f29845248d57e6fbeeb6a Signed-off-by: Qiu Tingting --- conf.d/packaging/deb/agl-app-afb-test.dsc | 24 ------ .../deb/debian.agl-app-afb-test-bin.install | 2 - .../deb/debian.agl-app-afb-test-dev.install | 1 - conf.d/packaging/deb/debian.changelog | 5 -- conf.d/packaging/deb/debian.compat | 1 - conf.d/packaging/deb/debian.control | 30 ------- conf.d/packaging/deb/debian.rules | 18 ----- conf.d/packaging/rpm/agl-app-afb-test.spec | 91 ---------------------- 8 files changed, 172 deletions(-) delete mode 100644 conf.d/packaging/deb/agl-app-afb-test.dsc delete mode 100644 conf.d/packaging/deb/debian.agl-app-afb-test-bin.install delete mode 100644 conf.d/packaging/deb/debian.agl-app-afb-test-dev.install delete mode 100644 conf.d/packaging/deb/debian.changelog delete mode 100644 conf.d/packaging/deb/debian.compat delete mode 100644 conf.d/packaging/deb/debian.control delete mode 100644 conf.d/packaging/deb/debian.rules delete mode 100644 conf.d/packaging/rpm/agl-app-afb-test.spec diff --git a/conf.d/packaging/deb/agl-app-afb-test.dsc b/conf.d/packaging/deb/agl-app-afb-test.dsc deleted file mode 100644 index d7cfcf3..0000000 --- a/conf.d/packaging/deb/agl-app-afb-test.dsc +++ /dev/null @@ -1,24 +0,0 @@ -Format: 1.0 -Source: agl-app-afb-test -Binary: agl-app-afb-test-bin, agl-app-afb-test-dev -Architecture: any -Version: 2.0-0 -Maintainer: romain.forlot -Standards-Version: 3.8.2 -Homepage: https://gerrit.automotivelinux.org/gerrit/apps/app-afb-test -Build-Depends: debhelper (>= 5), - pkg-config, - dpkg-dev, - cmake, - agl-libappcontroller-dev, - agl-libafb-helpers-dev, - agl-cmake-apps-module-bin, - agl-app-framework-binder-bin, - agl-app-framework-binder-dev, - lua5.3, - liblua5.3-dev, - libjson-c-dev, - libsystemd-dev, -DEBTRANSFORM-RELEASE: 1 -Files: - app-afb-test_2.0.tar.gz diff --git a/conf.d/packaging/deb/debian.agl-app-afb-test-bin.install b/conf.d/packaging/deb/debian.agl-app-afb-test-bin.install deleted file mode 100644 index e581d53..0000000 --- a/conf.d/packaging/deb/debian.agl-app-afb-test-bin.install +++ /dev/null @@ -1,2 +0,0 @@ -/opt/AGL/afTest/* -/opt/AGL/bin/afm-test diff --git a/conf.d/packaging/deb/debian.agl-app-afb-test-dev.install b/conf.d/packaging/deb/debian.agl-app-afb-test-dev.install deleted file mode 100644 index e71513b..0000000 --- a/conf.d/packaging/deb/debian.agl-app-afb-test-dev.install +++ /dev/null @@ -1 +0,0 @@ -/opt/AGL/lib/*/pkgconfig/*.pc diff --git a/conf.d/packaging/deb/debian.changelog b/conf.d/packaging/deb/debian.changelog deleted file mode 100644 index 552fc6d..0000000 --- a/conf.d/packaging/deb/debian.changelog +++ /dev/null @@ -1,5 +0,0 @@ -agl-app-afb-test (2.0-0) unstable; urgency=low - - * init build - - -- Romain Forlot Thu, 25 Oct 2018 10:50:38 +0100 diff --git a/conf.d/packaging/deb/debian.compat b/conf.d/packaging/deb/debian.compat deleted file mode 100644 index ec63514..0000000 --- a/conf.d/packaging/deb/debian.compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/conf.d/packaging/deb/debian.control b/conf.d/packaging/deb/debian.control deleted file mode 100644 index ae9cdc4..0000000 --- a/conf.d/packaging/deb/debian.control +++ /dev/null @@ -1,30 +0,0 @@ -Priority: optional -Maintainer: romain.forlot -Source: agl-app-afb-test -Build-Depends: - debhelper (>= 5), - pkg-config, - cmake, - agl-libappcontroller-dev, - agl-libafb-helpers-dev, - agl-cmake-apps-module-bin, - agl-app-framework-binder-bin, - agl-app-framework-binder-dev, - lua5.3, - liblua5.3-dev, - libjson-c-dev, - libsystemd-dev, -Standards-Version: 3.8.2 -Homepage: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/app-afb-test - -Package: agl-app-afb-test-bin -Section: libs -Architecture: any -Depends: jq -Description: afb-test is a test framework made to test other binding. - -Package: agl-app-afb-test-dev -Section: libs -Architecture: any -Depends: agl-app-afb-test-bin -Description: agl-app-afb-test-devel diff --git a/conf.d/packaging/deb/debian.rules b/conf.d/packaging/deb/debian.rules deleted file mode 100644 index 0ba33a4..0000000 --- a/conf.d/packaging/deb/debian.rules +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 -export VERSION=$(shell grep -E "^Version" $(shell find .. -name BUILD -prune -type d -o -name *dsc -print | head -n1) | sed -r 's/^.*: (.*)-.*/\1/') - -%: - bash /etc/profile.d/agl-app-framework-binder.sh - dh $@ - -override_dh_auto_configure: - dh_auto_configure -- -DVERSION=${VERSION} -DCMAKE_INSTALL_PREFIX=/opt/AGL -DCMAKE_INSTALL_LIBDIR:PATH=lib/${DEB_HOST_MULTIARCH} - -override_dh_auto_install: - dh_auto_install --destdir=/usr/src/packages/BUILD/debian/tmp - mkdir -p debian/tmp/opt/AGL/ - -override_dh_auto_test: diff --git a/conf.d/packaging/rpm/agl-app-afb-test.spec b/conf.d/packaging/rpm/agl-app-afb-test.spec deleted file mode 100644 index 8999c6b..0000000 --- a/conf.d/packaging/rpm/agl-app-afb-test.spec +++ /dev/null @@ -1,91 +0,0 @@ -# -# spec file for package app-afb-test -# - -%define _prefix /opt/AGL -%define __cmake cmake - -%if 0%{?fedora_version} -%global debug_package %{nil} -%endif - -Name: agl-app-afb-test -# WARNING {name} is not used for tar file name in source nor for setup -# Check hard coded values required to match git directory naming -Version: 2.0 -Release: 0 -License: Apache-2.0 -Summary: AGL app-afb-test -Group: Development/Libraries/C and C++ -Url: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/app-afb-test -Source: app-afb-test-%{version}.tar.gz -BuildRequires: pkgconfig(lua) >= 5.3 -BuildRequires: cmake -BuildRequires: agl-cmake-apps-module -BuildRequires: gcc-c++ -BuildRequires: pkgconfig(json-c) -BuildRequires: pkgconfig(afb-daemon) -BuildRequires: pkgconfig(appcontroller) -BuildRequires: pkgconfig(afb-helpers) -BuildRequires: pkgconfig(libsystemd) >= 222 -Requires: jq - -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -afb-test is a test framework made to test other binding. - -%package devel -Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} -Provides: pkgconfig(%{name}) = %{version} -Summary: AGL app-afb-test-devel -%description devel -afb-test is a test framework made to test other binding. - -%prep -%setup -q -n app-afb-test-%{version} - -%build -export PKG_CONFIG_PATH=%{_libdir}/pkgconfig -[ ! -d build ] && mkdir build -cd build -cmake -DCMAKE_BUILD_TYPE=DEBUG -DVERSION=%{version} .. -%__make %{?_smp_mflags} - -%install -[ -d build ] && cd build -%make_install - -%post - -%postun - -%files -%defattr(-,root,root) -%dir %{_prefix} -%dir %{_bindir} -%{_bindir}/afm-test -%dir %{_prefix} -%dir %{_prefix} -%dir %{_prefix}/afTest/ -%dir %{_prefix}/afTest/ -%dir %{_prefix}/afTest/etc -%{_prefix}/afTest/etc/aft-afbtest.json -%dir %{_prefix}/afTest/bin -%dir %{_prefix}/afTest/lib -%{_prefix}/afTest/lib/aft.so -%dir %{_prefix}/afTest/htdocs -%dir %{_prefix}/afTest/var -%{_prefix}/afTest/var/aft.lua -%{_prefix}/afTest/var/luaunit.lua - -%files devel -%defattr(-,root,root) -%dir %{_prefix} -%dir %{_libdir}/pkgconfig -%{_libdir}/pkgconfig/*.pc - -%changelog -* Thu Oct 25 2018 Romain -- initial creation -- cgit 1.2.3-korg