]>
Commit | Line | Data |
---|---|---|
4b82abda JB |
1 | Summary: oFono - Open Source Telephony |
2 | Summary(pl.UTF-8): oFono - telefonia o otwartych źródłach | |
3 | Name: ofono | |
8ae0ccbe | 4 | Version: 1.15 |
4b82abda JB |
5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: Networking/Daemons | |
c175805b | 8 | Source0: https://www.kernel.org/pub/linux/network/ofono/%{name}-%{version}.tar.xz |
8ae0ccbe | 9 | # Source0-md5: 4d03de85239d8100dc7721bf0dad2bd2 |
4b82abda JB |
10 | URL: https://ofono.org/ |
11 | BuildRequires: bluez-libs-devel >= 4.99 | |
12 | BuildRequires: dbus-devel >= 1.4 | |
13 | BuildRequires: glib2-devel >= 1:2.28 | |
14 | BuildRequires: libusb-devel >= 1.0 | |
15 | BuildRequires: mobile-broadband-provider-info-devel | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: systemd-devel | |
18 | BuildRequires: tar >= 1:1.22 | |
19 | BuildRequires: udev-devel >= 1:143 | |
20 | BuildRequires: xz | |
21 | Requires: dbus >= 1.4 | |
22 | Requires: glib2 >= 1:2.28 | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | oFono is an infrastructure for building mobile telephony (GSM/UMTS) | |
27 | applications. oFono is licensed under GPL v2, and it includes a | |
28 | high-level D-Bus API for use by telephony applications of any license. | |
29 | oFono also includes a low-level plug-in API for integrating with open | |
30 | source as well as third party telephony stacks, cellular modems and | |
31 | storage back-ends. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | oFono to infrastruktura do tworzenia aplikacji związanych z telefonią | |
35 | komórkową (GSM/UMTS). oFono jest wydawane na licencji GPL v2 i zawiera | |
36 | wysokopoziomowe API D-Bus do wykorzystywania przez aplikacje na | |
37 | dowolnej licencji. oFono zawiera także niskopoziomowe API wtyczek do | |
38 | integracji z oprogramowaniem o otwartych źródłach, a także stosami | |
39 | telefonicznych innych producentów, modemami komórkowymi oraz | |
40 | backendami do przechowywania danych. | |
41 | ||
42 | %package devel | |
43 | Summary: Header files for oFono plugins | |
44 | Summary(pl.UTF-8): Pliki nagłówkowe dla wtyczek oFono | |
45 | Group: Development/Libraries | |
46 | Requires: dbus-devel >= 1.4 | |
47 | Requires: glib2-devel >= 1:2.28 | |
48 | # doesn't require base | |
49 | ||
50 | %description devel | |
51 | Header files for oFono plugins. | |
52 | ||
53 | %description devel -l pl.UTF-8 | |
54 | Pliki nagłówkowe dla wtyczek oFono. | |
55 | ||
56 | %prep | |
57 | %setup -q | |
58 | ||
59 | %build | |
60 | %configure \ | |
61 | --disable-silent-rules \ | |
62 | --enable-dundee \ | |
63 | --enable-threads \ | |
64 | --enable-tools | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | install -d $RPM_BUILD_ROOT%{_libdir}/ofono/plugins | |
74 | ||
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
80 | %doc AUTHORS ChangeLog README TODO | |
81 | %attr(755,root,root) %{_sbindir}/dundee | |
82 | %attr(755,root,root) %{_sbindir}/ofonod | |
83 | %dir %{_libdir}/ofono | |
84 | %dir %{_libdir}/ofono/plugins | |
85 | %dir %{_sysconfdir}/ofono | |
86 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ofono/phonesim.conf | |
87 | /etc/dbus-1/system.d/dundee.conf | |
88 | /etc/dbus-1/system.d/ofono.conf | |
89 | /lib/systemd/system/dundee.service | |
90 | /lib/systemd/system/ofono.service | |
91 | %{_mandir}/man8/ofonod.8* | |
92 | ||
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
95 | %doc doc/*.txt | |
96 | %{_includedir}/ofono | |
97 | %{_pkgconfigdir}/ofono.pc |