102 lines
2.4 KiB
RPMSpec
102 lines
2.4 KiB
RPMSpec
|
|
Name: ofono
|
|
Summary: Open Source Telephony
|
|
Version: 1.14
|
|
Release: 5%{?dist}
|
|
|
|
License: GPLv2
|
|
URL: http://ofono.org/
|
|
Source0: http://www.kernel.org/pub/linux/network/ofono/ofono-%{version}.tar.xz
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
BuildRequires: pkgconfig(libudev) >= 145
|
|
BuildRequires: pkgconfig(bluez)
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
|
BuildRequires: pkgconfig(mobile-broadband-provider-info)
|
|
|
|
BuildRequires: systemd
|
|
Requires(post): systemd
|
|
Requires(preun): systemd
|
|
Requires(postun): systemd
|
|
|
|
%description
|
|
oFono.org is a place to bring developers together around designing an
|
|
infrastructure for building mobile telephony (GSM/UMTS) applications.
|
|
oFono includes a high-level D-Bus API for use by telephony applications.
|
|
oFono also includes a low-level plug-in API for integrating with telephony
|
|
stacks, cellular modems and storage back-ends.
|
|
|
|
%package devel
|
|
Summary: Development files for oFono
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
%description devel
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure \
|
|
--enable-bluetooth \
|
|
--enable-pie \
|
|
--disable-silent-rules
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%make_install
|
|
|
|
# create/own this
|
|
mkdir -p %{buildroot}%{_libdir}/ofono/plugins
|
|
|
|
|
|
%check
|
|
make check
|
|
|
|
|
|
%post
|
|
%systemd_post ofono.service
|
|
|
|
%preun
|
|
%systemd_preun ofono.service
|
|
|
|
%postun
|
|
%systemd_postun_with_restart ofono.service
|
|
|
|
%files
|
|
%doc COPYING ChangeLog AUTHORS README
|
|
%{_sysconfdir}/dbus-1/system.d/ofono.conf
|
|
%dir %{_sysconfdir}/ofono/
|
|
%config(noreplace) %{_sysconfdir}/ofono/phonesim.conf
|
|
%{_sbindir}/ofonod
|
|
%{_unitdir}/ofono.service
|
|
%{_mandir}/man8/ofonod.8*
|
|
%dir %{_libdir}/ofono/
|
|
%dir %{_libdir}/ofono/plugins/
|
|
|
|
%files devel
|
|
%{_includedir}/ofono/
|
|
%{_libdir}/pkgconfig/ofono.pc
|
|
|
|
|
|
%changelog
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Tue Feb 04 2014 Rex Dieter <rdieter@fedoraproject.org> 1.14-1
|
|
- first try (borrowed from obs)
|
|
|