1 Summary: Android binder client library
2 Summary(pl.UTF-8): Biblioteka kliencka Android binder
8 #Source0Download: https://github.com/mer-hybris/libgbinder/tags
9 Source0: https://github.com/mer-hybris/libgbinder/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: ab55fd8341f8e36367299fc39810df4c
12 URL: https://github.com/mer-hybris/libgbinder
13 BuildRequires: libglibutil-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 C interfaces for Android binder.
19 %description -l pl.UTF-8
20 Biblioteka kliencka Android binder.
23 Summary: Header files for gbinder library
24 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gbinder
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
29 Header files for gbinder library.
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki gbinder.
35 Summary: Android binder tools
36 Summary(pl.UTF-8): Narzędzia Android binder
37 Group: Applications/System
38 Requires: %{name} = %{version}-%{release}
41 Android binder command line utilities.
43 %description tools -l pl.UTF-8
44 Narzędzia Android binder działające z linii poleceń.
51 %{__make} LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig
53 for util in test/binder-bridge test/binder-list test/binder-ping test/binder-call; do
54 %{__make} -C ${util} KEEP_SYMBOLS=1 release
58 rm -rf $RPM_BUILD_ROOT
60 %{__make} install-dev \
62 DESTDIR=$RPM_BUILD_ROOT
64 for util in test/binder-bridge test/binder-list test/binder-ping test/binder-call; do
65 %{__make} -C ${util} DESTDIR=$RPM_BUILD_ROOT install
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
76 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/libgbinder.so.*.*.*
79 %attr(755,root,root) %ghost %{_libdir}/libgbinder.so.1
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/libgbinder.so
84 %{_includedir}/gbinder
85 %{_pkgconfigdir}/libgbinder.pc
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/binder-bridge
90 %attr(755,root,root) %{_bindir}/binder-list
91 %attr(755,root,root) %{_bindir}/binder-ping
92 %attr(755,root,root) %{_bindir}/binder-call