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