summaryrefslogtreecommitdiffstats
path: root/packaging/app-framework-binder.spec
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-08 10:20:34 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-06-08 10:20:34 +0000
commit2f876805d8179fe46a0984deaa4e716926e6a96b (patch)
treed2de08e95ccae9a7d0023cce403ea429c781b641 /packaging/app-framework-binder.spec
parentb596b217c9b82d6be2b1d5486cdced31831aebc3 (diff)
parent0c97b16872a20c0f1b6dffc52e607e69a8d823f1 (diff)
Merge "Add rpm and deb packaging"
Diffstat (limited to 'packaging/app-framework-binder.spec')
-rw-r--r--packaging/app-framework-binder.spec79
1 files changed, 79 insertions, 0 deletions
diff --git a/packaging/app-framework-binder.spec b/packaging/app-framework-binder.spec
new file mode 100644
index 00000000..3bdb7682
--- /dev/null
+++ b/packaging/app-framework-binder.spec
@@ -0,0 +1,79 @@
+#
+# spec file for package app-framework-binder
+#
+
+Name: app-framework-binder
+Version: 2.0
+Release: 0
+License: GPL-2.0
+Summary: app-framework-binder
+Group: Development/Libraries/C and C++
+Url: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/app-framework-binder
+Source: %{name}_%{version}.orig.tar.gz
+#BuildRequires: gdb
+BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.54
+BuildRequires: make
+BuildRequires: cmake
+BuildRequires: pkgconfig(libsystemd)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(uuid)
+BuildRequires: libgcrypt-devel
+BuildRequires: pkgconfig(gnutls)
+BuildRequires: pkgconfig(json-c)
+BuildRequires: file-devel
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+app-framework-binder
+
+%package devel
+Summary: app-framework-binder-devel
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+app-framework-binder-devel
+
+%prep
+%setup -q
+
+%build
+%cmake
+%__make %{?_smp_mflags}
+
+
+%install
+[ -d build ] && cd build
+%make_install
+
+%post
+
+%postun
+
+%files
+%defattr(-,root,root)
+%{_bindir}/afb-client-demo
+%{_bindir}/afb-daemon
+%{_bindir}/afb-genskel
+%{_bindir}/afb-exprefs
+%{_bindir}/afb-json2c
+
+%dir %{_libdir}/afb
+%{_libdir}/afb/afb-dbus-binding.so
+%{_libdir}/afb/authLogin.so
+%{_libdir}/libafbwsc.so.1
+%{_libdir}/libafbwsc.so.1.0
+
+#app-framework-binder demo
+%{_libdir}/afb/demoContext.so
+%{_libdir}/afb/demoPost.so
+%{_libdir}/afb/helloWorld.so
+%{_libdir}/afb/tic-tac-toe.so
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libafbwsc.so
+%dir %{_includedir}/afb
+%{_includedir}/afb/*.h
+%{_libdir}/pkgconfig/*.pc