summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/hal-backend-tbm-vigs.manifest (renamed from packaging/libhal-backend-tbm-vigs.manifest)0
-rw-r--r--packaging/hal-backend-tbm-vigs.spec64
-rw-r--r--packaging/libtbm-vigs.manifest5
-rw-r--r--packaging/libtbm-vigs.spec123
4 files changed, 64 insertions, 128 deletions
diff --git a/packaging/libhal-backend-tbm-vigs.manifest b/packaging/hal-backend-tbm-vigs.manifest
index 017d22d..017d22d 100644
--- a/packaging/libhal-backend-tbm-vigs.manifest
+++ b/packaging/hal-backend-tbm-vigs.manifest
diff --git a/packaging/hal-backend-tbm-vigs.spec b/packaging/hal-backend-tbm-vigs.spec
new file mode 100644
index 0000000..29dcd2e
--- /dev/null
+++ b/packaging/hal-backend-tbm-vigs.spec
@@ -0,0 +1,64 @@
+Name: hal-backend-tbm-vigs
+Version: 3.0.5
+Release: 1
+License: MIT
+Summary: hal tbm backend module for vigs
+Group: System/Libraries
+Source0: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(hal-api-common)
+BuildRequires: pkgconfig(hal-api-tbm)
+BuildRequires: pkgconfig(dlog)
+
+%description
+description: hal tbm backend module for vigs
+
+%package devel
+Summary: hal-backend-tbm library for vigs
+Group: System/Libraries
+Requires: hal-backend-tbm-vigs
+
+%description devel
+description: hal tbm backend library headers for vigs
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+autoreconf -vfi
+./configure --prefix=%{_prefix} --libdir=%{_libdir} \
+ --with-hal-libdir=%{_hal_libdir} \
+ CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+# make rule and license files
+mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-vigs
+cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-vigs
+
+%post
+if [ -f %{_hal_libdir}/libhal-backend-tbm.so ]; then
+ rm -rf %{_hal_libdir}/libhal-backend-tbm.so
+fi
+ln -s libhal-backend-tbm-vigs.so %{_hal_libdir}/libhal-backend-tbm.so
+
+%postun -n hal-backend-tbm-vigs -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%{_hal_licensedir}/libhal-backend-tbm-vigs/COPYING
+%{_hal_libdir}/libhal-backend-*.so*
+
+%files devel
+%defattr(-,root,root,-)
+%dir %{_includedir}
+%{_includedir}/tbm-vigs/libhal_backend_tbm_vigs.h
+%{_hal_libdir}/libhal-backend-tbm*.so
+%{_libdir}/pkgconfig/hal-backend-tbm-vigs.pc
diff --git a/packaging/libtbm-vigs.manifest b/packaging/libtbm-vigs.manifest
deleted file mode 100644
index 017d22d..0000000
--- a/packaging/libtbm-vigs.manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
diff --git a/packaging/libtbm-vigs.spec b/packaging/libtbm-vigs.spec
deleted file mode 100644
index 385ab2c..0000000
--- a/packaging/libtbm-vigs.spec
+++ /dev/null
@@ -1,123 +0,0 @@
-Name: libtbm-vigs
-Version: 3.0.5
-Release: 1
-License: MIT
-Summary: Tizen Buffer Manager - vigs backend
-Group: System/Libraries
-Source0: %{name}-%{version}.tar.gz
-Source1001: libtbm-vigs.manifest
-Source1002: libhal-backend-tbm-vigs.manifest
-
-BuildRequires: pkgconfig(libdrm)
-BuildRequires: pkgconfig(libtbm)
-
-Requires: libtbm
-Requires: libdrm
-BuildRequires: pkgconfig(hal-api-common)
-BuildRequires: pkgconfig(hal-api-tbm)
-BuildRequires: pkgconfig(dlog)
-
-%description
-description: ${summary}
-
-%package devel
-Summary: Tizen Buffer Manager Library Backend for vigs
-Group: Development/Libraries
-
-%description devel
-TBM vigs backend. Developement Files.
-
-%package -n hal-backend-tbm-vigs
-Summary: hal-backend-tbm module for vigs
-Group: System/Libraries
-Requires: hal-api-tbm
-Requires: hal-api-common
-
-%description -n hal-backend-tbm-vigs
-descriptionion: hal tbm backend module for vigs
-
-%package -n hal-backend-tbm-vigs-devel
-Summary: hal-backend-tbm library for vigs
-Group: System/Libraries
-Requires: hal-backend-tbm-vigs
-
-%description -n hal-backend-tbm-vigs-devel
-descriptionion: hal tbm backend library headers for vigs
-
-
-%prep
-%setup -q
-cp %{SOURCE1001} .
-cp %{SOURCE1002} .
-
-%build
-autoreconf -vfi
-./configure --prefix=%{_prefix} --libdir=%{_libdir} \
- --with-hal-libdir=%{_hal_libdir} \
- CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
-
-make %{?_smp_mflags}
-
-%install
-rm -rf %{buildroot}
-%make_install
-
-# make rule and license files
-mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-vigs
-cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-vigs
-
-%post
-if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
- rm -rf %{_libdir}/bufmgr/libtbm_default.so
-fi
-ln -s libtbm_vigs.so %{_libdir}/bufmgr/libtbm_default.so
-
-if [ -f %{_libdir}/libtbm_vigs.so ]; then
- rm -rf %{_libdir}/libtbm_vigs.so
-fi
-ln -s bufmgr/libtbm_vigs.so %{_libdir}/libtbm_vigs.so
-
-if [ -f %{_libdir}/libtbm_vigs.so.0 ]; then
- rm -rf %{_libdir}/libtbm_vigs.so.0
-fi
-ln -s %{_libdir}/bufmgr/libtbm_vigs.so.0 %{_libdir}/libtbm_vigs.so.0
-
-if [ -f %{_libdir}/libtbm_vigs.so.0.0.0 ]; then
- rm -rf %{_libdir}/libtbm_vigs.so.0.0.0
-fi
-ln -s %{_libdir}/bufmgr/libtbm_vigs.so.0.0.0 %{_libdir}/libtbm_vigs.so.0.0.0
-
-%postun -p /sbin/ldconfig
-
-%post -n hal-backend-tbm-vigs
-if [ -f %{_hal_libdir}/libhal-backend-tbm.so ]; then
- rm -rf %{_hal_libdir}/libhal-backend-tbm.so
-fi
-ln -s libhal-backend-tbm-vigs.so %{_hal_libdir}/libhal-backend-tbm.so
-
-%postun -n hal-backend-tbm-vigs -p /sbin/ldconfig
-
-%files
-%manifest %{name}.manifest
-%defattr(-,root,root,-)
-%license COPYING
-%{_libdir}/bufmgr/libtbm_*.so*
-
-%files devel
-%defattr(-,root,root,-)
-%dir %{_includedir}
-%{_includedir}/tbm-vigs/tbm_vigs.h
-%{_libdir}/bufmgr/libtbm_*.so
-%{_libdir}/pkgconfig/libtbm-vigs.pc
-
-%files -n hal-backend-tbm-vigs
-%manifest libhal-backend-tbm-vigs.manifest
-%{_hal_licensedir}/libhal-backend-tbm-vigs/COPYING
-%{_hal_libdir}/libhal-backend-*.so*
-
-%files -n hal-backend-tbm-vigs-devel
-%defattr(-,root,root,-)
-%dir %{_includedir}
-%{_includedir}/tbm-vigs/libhal_backend_tbm_vigs.h
-%{_hal_libdir}/libhal-backend-tbm*.so
-%{_libdir}/pkgconfig/hal-backend-tbm-vigs.pc