]> git.pld-linux.org Git - packages/libgbinder.git/blob - libgbinder.spec
- pl, added download URL
[packages/libgbinder.git] / libgbinder.spec
1 Summary:        Android binder client library
2 Summary(pl.UTF-8):      Biblioteka kliencka Android binder
3 Name:           libgbinder
4 Version:        1.1.30
5 Release:        0.1
6 License:        BSD
7 Group:          Libraries
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
11 Patch0:         install.patch
12 URL:            https://github.com/mer-hybris/libgbinder
13 BuildRequires:  libglibutil-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 C interfaces for Android binder.
18
19 %description -l pl.UTF-8
20 Biblioteka kliencka Android binder.
21
22 %package devel
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}
27
28 %description devel
29 Header files for gbinder library.
30
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki gbinder.
33
34 %package tools
35 Summary:        Android binder tools
36 Summary(pl.UTF-8):      Narzędzia Android binder
37 Group:          Applications/System
38 Requires:       %{name} = %{version}-%{release}
39
40 %description tools
41 Android binder command line utilities.
42
43 %description tools -l pl.UTF-8
44 Narzędzia Android binder działające z linii poleceń.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49
50 %build
51 %{__make} LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig
52
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
55 done
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install-dev \
61         LIBDIR=%{_libdir} \
62         DESTDIR=$RPM_BUILD_ROOT
63
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
66 done
67
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS README
78 %attr(755,root,root) %{_libdir}/libgbinder.so.*.*.*
79 %attr(755,root,root) %ghost %{_libdir}/libgbinder.so.1
80
81 %files devel
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/libgbinder.so
84 %{_includedir}/gbinder
85 %{_pkgconfigdir}/libgbinder.pc
86
87 %files tools
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
This page took 0.102296 seconds and 3 git commands to generate.