Blame libgbinder.spec

efbbfca
Name: libgbinder
cf12095
Version: 1.1.36
cf12095
Release: 1%{?dist}
efbbfca
Summary: Binder client library
efbbfca
License: BSD
efbbfca
URL: https://github.com/mer-hybris/libgbinder
efbbfca
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
efbbfca
e7441d6
%global libglibutil_version 1.0.52
efbbfca
efbbfca
BuildRequires: pkgconfig(glib-2.0)
efbbfca
BuildRequires: pkgconfig(libglibutil) >= %{libglibutil_version}
efbbfca
BuildRequires: pkgconfig
efbbfca
BuildRequires: make
efbbfca
BuildRequires: gcc
efbbfca
BuildRequires: bison flex
efbbfca
Requires: libglibutil >= %{libglibutil_version}
efbbfca
efbbfca
%description
efbbfca
GLib-style interface to binder (Android IPC mechanism)
efbbfca
efbbfca
Key features:
efbbfca
1. Integration with GLib event loop
efbbfca
2. Detection of 32 vs 64 bit kernel at runtime
efbbfca
3. Asynchronous transactions that don't block the event thread
efbbfca
4. Stable service manager and low-level transaction APIs
efbbfca
efbbfca
Android keeps changing both low-level RPC and service manager
efbbfca
protocols from version to version. To counter that, libgbinder
efbbfca
implements configirable backends for different variants of those,
efbbfca
and yet keeping its own API unchanged.
efbbfca
efbbfca
%package devel
efbbfca
Summary: Development library for %{name}
efbbfca
Requires: %{name}%{?_isa} = %{version}-%{release}
efbbfca
efbbfca
%description devel
efbbfca
This package contains the development library for %{name}.
efbbfca
efbbfca
%prep
efbbfca
%setup -q
efbbfca
efbbfca
%build
efbbfca
%{make_build} LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig
efbbfca
%{make_build} -C test/binder-bridge KEEP_SYMBOLS=1 release
efbbfca
%{make_build} -C test/binder-list KEEP_SYMBOLS=1 release
efbbfca
%{make_build} -C test/binder-ping KEEP_SYMBOLS=1 release
efbbfca
%{make_build} -C test/binder-call KEEP_SYMBOLS=1 release
efbbfca
efbbfca
%install
efbbfca
%{make_build} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install-dev
efbbfca
%{make_build} -C test/binder-bridge DESTDIR=%{buildroot} install
efbbfca
%{make_build} -C test/binder-list DESTDIR=%{buildroot} install
efbbfca
%{make_build} -C test/binder-ping DESTDIR=%{buildroot} install
efbbfca
%{make_build} -C test/binder-call DESTDIR=%{buildroot} install
efbbfca
efbbfca
%check
efbbfca
%{make_build} -C unit test
efbbfca
efbbfca
%files
efbbfca
%{_libdir}/%{name}.so.*
efbbfca
%license LICENSE
efbbfca
efbbfca
%files devel
efbbfca
%{_libdir}/pkgconfig/*.pc
efbbfca
%{_libdir}/%{name}.so
efbbfca
%{_includedir}/gbinder
efbbfca
efbbfca
# Tools
efbbfca
# Missing manpages: https://github.com/mer-hybris/libgbinder/issues/107
efbbfca
%package tools
efbbfca
Summary: Binder tools
efbbfca
Requires: %{name} >= %{version}
efbbfca
efbbfca
%description tools
efbbfca
Binder command line utilities
efbbfca
efbbfca
%files tools
efbbfca
%{_bindir}/binder-bridge
efbbfca
%{_bindir}/binder-list
efbbfca
%{_bindir}/binder-ping
efbbfca
%{_bindir}/binder-call
efbbfca
efbbfca
%changelog
cf12095
* Wed Feb 14 2024 Alessandro Astone <ales.astone@gmail.com> - 1.1.36-1
cf12095
- new version
cf12095
29bcd41
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.34-4
29bcd41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
29bcd41
0077182
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.34-3
0077182
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
0077182
3f5f022
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.34-2
3f5f022
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
3f5f022
ef85ff4
* Tue May 23 2023 Alessandro Astone <ales.astone@gmail.com> - 1.1.34-1
ef85ff4
- Update to 1.1.34
ef85ff4
49a5567
* Mon Feb 27 2023 Alessandro Astone <ales.astone@gmail.com> - 1.1.33-1
49a5567
- Update to 1.1.33
49a5567
aef48e6
* Mon Jan 23 2023 Alessandro Astone <ales.astone@gmail.com> - 1.1.32-1
aef48e6
- Update to 1.1.32
aef48e6
117fdea
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.31-2
117fdea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
117fdea
57dc585
* Fri Jan 06 2023 Alessandro Astone <ales.astone@gmail.com> - 1.1.31-1
57dc585
- Update to 1.1.31
57dc585
- Re-enable s390x builds
57dc585
001cba2
* Mon Dec 05 2022 Alessandro Astone <ales.astone@gmail.com> - 1.1.30-1
001cba2
- Update to 1.1.30
001cba2
efbbfca
* Sat Nov 26 2022 Alessandro Astone <ales.astone@gmail.com> - 1.1.29-1
efbbfca
- Update to 1.1.29
efbbfca
- Build binder-call tool
efbbfca
efbbfca
* Sat Oct 29 2022 Alessandro Astone <ales.astone@gmail.com> - 1.1.26-1
efbbfca
- Update to 1.1.26
efbbfca
efbbfca
* Tue Jul 19 2022 Alessandro Astone <ales.astone@gmail.com> - 1.1.25-1
efbbfca
- Handle RPC protocol change at run time
efbbfca
efbbfca
* Wed Jul 06 2022 Alessandro Astone <ales.astone@gmail.com> - 1.1.23-1
efbbfca
- Support API 31
efbbfca
efbbfca
* Mon Jun 20 2022 Alessandro Astone <ales.astone@gmail.com> - 1.1.21-1
efbbfca
- Tests pass again!
efbbfca
efbbfca
* Sat Jun 11 2022 Alessandro Astone <ales.astone@gmail.com> - 1.1.20-1
efbbfca
- Make RPC protocol selectable at runtime
efbbfca
efbbfca
* Tue Feb 22 2022 Mo 森 <rmnscnce@ya.ru> - 1.1.19-1
efbbfca
- Added reader and writer for aidl parcelables
efbbfca
efbbfca
* Wed Jan 19 2022 Mo 森 <rmnscnce@ya.ru> - 1.1.18-1
efbbfca
- Make sure stale object pointers don't hang around
efbbfca
- Properly shut down remote object inside the proxy
efbbfca
- Read ref_count from GObject atomically
efbbfca
- Don't release remote proxy handle too early (sometimes never)
efbbfca
- Disassociate auto-created proxies to stop them from piling up
efbbfca
efbbfca
* Tue Dec 28 2021 Mo 森 <rmnscnce@ya.ru> - 1.1.15-1
efbbfca
- Added readers and writers for int8 and int16
efbbfca
efbbfca
* Sun Nov 28 2021 Mo 森 <rmnscnce@ya.ru> - 1.1.14-2
efbbfca
- Support for FMQ (Fast Message Queues)
efbbfca
- Support for Android 11 (API level 30)
efbbfca
- Made GBinderReader API slightly more NULL tolerant
efbbfca
- Added gbinder_client_rpc_header()
efbbfca
- Added gbinder_reader_get_data()
efbbfca
- Added gbinder_writer_get_data()
efbbfca
- Added gbinder_servicemanager_device()
efbbfca
- Added gbinder_local_reply_append_fd()