1 %define nam isf-control
5 # Something's not quite right with libtool....
6 %define __libtoolize echo
8 Summary: Tizen platform ISF control library
13 Group: System Environment/Libraries
14 BuildRoot: %{_tmppath}/%{name}-%{version}-root
16 Source0: %{name}-%{version}.tar.gz
19 PreReq: /sbin/ldconfig, /bin/sh
21 BuildRequires: pkgconfig >= 0.12
24 ISF-CONTROL provides the functions of isf_control API.
27 Summary: Tizen platform ISF control library
28 Group: Development/Libraries
29 Requires: %{name} = %{version}
30 Requires: pkgconfig >= 0.12
33 The isf-control-devel package includes the static libraries and header files
34 for the isf-control package.
36 #--------------------------------------------------
40 %setup -n %{name}-%{version}
43 CFLAGS="-O3" CXXFLAGS="-O3" \
49 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
51 make DESTDIR=${RPM_BUILD_ROOT} install
53 rm -f ${RPM_BUILD_ROOT}/%{_libdir}/isf-control/*/*/*.{a,la}
56 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
66 %defattr(-, root, root)
67 %dir %{_sysconfdir}/isf-control
68 %{_bindir}/isf-control
69 %{_libdir}/isf-control.so.*
72 %defattr(-, root, root)
73 %{_libdir}/libisf-control.so
76 %{_libdir}/pkgconfig/*.pc
77 %{_includedir}/isf-control