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