2 Summary: Open Source Telephony
5 Group: Communications/Connectivity Adaptation
8 Source0: %{name}-%{version}.tar.bz2
11 Requires(post): /bin/ln
13 BuildRequires: pkgconfig(glib-2.0)
14 BuildRequires: pkgconfig(dbus-1)
15 BuildRequires: pkgconfig(libudev) >= 145
16 BuildRequires: pkgconfig(bluez) >= 4.85
17 BuildRequires: libtool
18 BuildRequires: automake
19 BuildRequires: autoconf
20 BuildRequires: pkgconfig(mobile-broadband-provider-info)
28 Summary: Headers for oFono
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
33 Development headers and libraries for oFono
36 Summary: Test Scripts for oFono
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
41 Scripts for testing oFono and its functionality
45 %setup -q -n %{name}-%{version}
48 autoreconf --force --install
50 %configure --disable-static \
52 --with-systemdunitdir="/usr/lib/systemd/system"
59 mkdir -p %{buildroot}/usr/lib/systemd/system/network.target.wants
60 ln -s ../ofono.service %{buildroot}/usr/lib/systemd/system/network.target.wants/ofono.service
62 mkdir -p %{buildroot}/etc/rc.d/init.d
63 cp %{SOURCE1} %{buildroot}/etc/rc.d/init.d/ofono
64 chmod +x %{buildroot}/etc/rc.d/init.d/ofono
67 ln -sf ../init.d/ofono /etc/rc.d/rc3.d/S61ofono
68 ln -sf ../init.d/ofono /etc/rc.d/rc5.d/S61ofono
73 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/*.conf
75 /usr/lib/systemd/system/network.target.wants/ofono.service
76 /usr/lib/systemd/system/ofono.service
77 /etc/ofono/phonesim.conf
81 %{_includedir}/ofono/*.h
82 %{_libdir}/pkgconfig/ofono.pc
85 %{_libdir}/%{name}/test/*