]> git.pld-linux.org Git - packages/libgbinder.git/blame - libgbinder.spec
- pl, added download URL
[packages/libgbinder.git] / libgbinder.spec
CommitLineData
81e774f2 1Summary: Android binder client library
fe39dad1 2Summary(pl.UTF-8): Biblioteka kliencka Android binder
81e774f2
JR
3Name: libgbinder
4Version: 1.1.30
5Release: 0.1
6License: BSD
7Group: Libraries
fe39dad1 8#Source0Download: https://github.com/mer-hybris/libgbinder/tags
81e774f2
JR
9Source0: https://github.com/mer-hybris/libgbinder/archive/%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: ab55fd8341f8e36367299fc39810df4c
11Patch0: install.patch
12URL: https://github.com/mer-hybris/libgbinder
13BuildRequires: libglibutil-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17C interfaces for Android binder.
18
fe39dad1
JB
19%description -l pl.UTF-8
20Biblioteka kliencka Android binder.
21
81e774f2 22%package devel
fe39dad1
JB
23Summary: Header files for gbinder library
24Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gbinder
81e774f2
JR
25Group: Development/Libraries
26Requires: %{name} = %{version}-%{release}
27
28%description devel
fe39dad1 29Header files for gbinder library.
81e774f2
JR
30
31%description devel -l pl.UTF-8
fe39dad1 32Pliki nagłówkowe biblioteki gbinder.
81e774f2
JR
33
34%package tools
fe39dad1
JB
35Summary: Android binder tools
36Summary(pl.UTF-8): Narzędzia Android binder
81e774f2
JR
37Group: Applications/System
38Requires: %{name} = %{version}-%{release}
39
40%description tools
fe39dad1
JB
41Android binder command line utilities.
42
43%description tools -l pl.UTF-8
44Narzędzia Android binder działające z linii poleceń.
81e774f2
JR
45
46%prep
47%setup -q
48%patch0 -p1
49
50%build
51%{__make} LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig
52
53for util in test/binder-bridge test/binder-list test/binder-ping test/binder-call; do
54 %{__make} -C ${util} KEEP_SYMBOLS=1 release
55done
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} install-dev \
61 LIBDIR=%{_libdir} \
62 DESTDIR=$RPM_BUILD_ROOT
63
64for util in test/binder-bridge test/binder-list test/binder-ping test/binder-call; do
65 %{__make} -C ${util} DESTDIR=$RPM_BUILD_ROOT install
66done
67
68
69%clean
70rm -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
fe39dad1
JB
78%attr(755,root,root) %{_libdir}/libgbinder.so.*.*.*
79%attr(755,root,root) %ghost %{_libdir}/libgbinder.so.1
81e774f2
JR
80
81%files devel
82%defattr(644,root,root,755)
fe39dad1 83%attr(755,root,root) %{_libdir}/libgbinder.so
81e774f2 84%{_includedir}/gbinder
fe39dad1 85%{_pkgconfigdir}/libgbinder.pc
81e774f2
JR
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.09557 seconds and 4 git commands to generate.