summaryrefslogtreecommitdiff
path: root/rpm/telepathy-ring.spec
blob: 11952d27dc11cba3afc7004ab852ec0faa8bf817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.26
# 

Name:       telepathy-ring

# >> macros
# << macros
%define keepstatic 1

Summary:    GSM connection manager for the Telepathy framework
Version:    2.2.1
Release:    2
Group:      System/Libraries
License:    LGPLv2.1
URL:        https://github.com/nemomobile/telepathy-ring/
Source0:    %{name}-%{version}.tar.bz2
Source100:  telepathy-ring.yaml
Requires:   ofono
Requires:   telepathy-mission-control
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(check)
BuildRequires:  pkgconfig(libxslt)
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(uuid)
BuildRequires:  pkgconfig(telepathy-glib) >= 0.11.7
BuildRequires:  pkgconfig(mission-control-plugins)
BuildRequires:  python >= 2.5

%description
%{summary}.

%package tests
Summary:    Tests for %{name}
Group:      System/Libraries
Requires:   %{name} = %{version}-%{release}

%description tests
%{summary}.

%package devel
Summary:    Development files for %{name}
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
%{summary}.

%prep
%setup -q -n %{name}-%{version}

# >> setup
# << setup

%build
# >> build pre
mkdir m4 || true
# << build pre

%reconfigure 
make %{?jobs:-j%jobs}

# >> build post
# << build post

%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install

# >> install post
# << install post

%files
%defattr(-,root,root,-)
%{_datadir}/dbus-1/services/*
%{_datadir}/telepathy/managers/*
%{_libexecdir}/*
%{_libdir}/mission-control-plugins.0/mcp-account-manager-ring.so
%doc %{_mandir}/man8/telepathy-ring.8.gz
# >> files
# << files

%files tests
%defattr(-,root,root,-)
/opt/tests/%{name}/*
# >> files tests
# << files tests

%files devel
%defattr(-,root,root,-)
%{_libdir}/*.a
%{_includedir}/*
# >> files devel
# << files devel