summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/capi-system-media-key.spec51
1 files changed, 51 insertions, 0 deletions
diff --git a/packaging/capi-system-media-key.spec b/packaging/capi-system-media-key.spec
new file mode 100644
index 0000000..0564a81
--- /dev/null
+++ b/packaging/capi-system-media-key.spec
@@ -0,0 +1,51 @@
+Name: capi-system-media-key
+Summary: A System Information library in SLP C API
+Version: 0.1.0
+Release: 6
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(utilX)
+
+%description
+
+
+%package devel
+Summary: A Media Key library in SLP C API (Development)
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%{_libdir}/libcapi-system-media-key.so.*
+%manifest capi-system-media-key.manifest
+
+%files devel
+%{_includedir}/system/media_key.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-system-media-key.so
+
+