1 Summary: Android binder client library
7 Source0: https://github.com/mer-hybris/libgbinder/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: ab55fd8341f8e36367299fc39810df4c
10 URL: https://github.com/mer-hybris/libgbinder
11 BuildRequires: libglibutil-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 C interfaces for Android binder.
18 Summary: Header files for %{name} library
19 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
20 Group: Development/Libraries
21 Requires: %{name} = %{version}-%{release}
24 Header files for %{name} library.
26 %description devel -l pl.UTF-8
27 Pliki nagłówkowe biblioteki %{name}.
31 Group: Applications/System
32 Requires: %{name} = %{version}-%{release}
35 Binder command line utilities
42 %{__make} LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig
44 for util in test/binder-bridge test/binder-list test/binder-ping test/binder-call; do
45 %{__make} -C ${util} KEEP_SYMBOLS=1 release
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} install-dev \
53 DESTDIR=$RPM_BUILD_ROOT
55 for util in test/binder-bridge test/binder-list test/binder-ping test/binder-call; do
56 %{__make} -C ${util} DESTDIR=$RPM_BUILD_ROOT install
61 rm -rf $RPM_BUILD_ROOT
63 %post -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
67 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_libdir}/%{name}.so.*.*.*
70 %attr(755,root,root) %ghost %{_libdir}/%{name}.so.1
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_libdir}/%{name}.so
75 %{_includedir}/gbinder
76 %{_pkgconfigdir}/%{name}.pc
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/binder-bridge
81 %attr(755,root,root) %{_bindir}/binder-list
82 %attr(755,root,root) %{_bindir}/binder-ping
83 %attr(755,root,root) %{_bindir}/binder-call