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