summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/packaging/rpm')
-rw-r--r--conf.d/packaging/rpm/agl-app-afb-test.spec91
1 files changed, 0 insertions, 91 deletions
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