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