1 %define _unpackaged_files_terminate_build 0
6 Summary: Wayland GBM for TIZEN
8 Version: %{MAJOR_VER}.%{MINOR_VER}.1
10 Group: System/Libraries
12 Source: %{name}-%{version}.tar.gz
14 BuildRequires: autoconf
15 BuildRequires: libtool
16 BuildRequires: systemd-devel
17 BuildRequires: pkgconfig(libtbm)
18 BuildRequires: pkgconfig(wayland-tbm-server)
21 Wayland Generic Buffer Management for TIZEN
24 Summary: Development header files for use with GBM
25 Group: System/Libraries
35 %reconfigure --disable-static --enable-tbm --enable-tbm-queue \
36 CFLAGS="${CFLAGS} -Wall -Werror"
37 make libdir=%{_libdir} major_ver=%{MAJOR_VER} minor_ver=%{MINOR_VER}
40 %makeinstall major_ver=%{MAJOR_VER} minor_ver=%{MINOR_VER}
41 rm -f %{buildroot}/%{_libdir}/*.la
43 ln -sf libgbm.so.%{MAJOR_VER}.%{MINOR_VER}.0 %{buildroot}%{_libdir}/libgbm.so.%{MAJOR_VER}
45 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
50 %manifest packaging/libgbm.manifest
52 %defattr(-,root,root,-)
53 %{_libdir}/libgbm.so.%{MAJOR_VER}
54 %{_libdir}/libgbm.so.%{MAJOR_VER}.%{MINOR_VER}.0
57 %defattr(-,root,root,-)