Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Latest commit

 

History

History
84 lines (63 loc) · 1.72 KB

libcontacts-qt5.spec

File metadata and controls

84 lines (63 loc) · 1.72 KB
 
1
2
Name: libcontacts-qt5
Summary: Nemo contact cache library
4
5
6
7
8
9
10
11
12
13
14
Release: 1
Group: System/Libraries
License: BSD
URL: https://github.com/nemomobile/libcontacts
Source0: %{name}-%{version}.tar.bz2
Requires: qtcontacts-sqlite-qt5
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Contacts)
BuildRequires: pkgconfig(Qt5Versit)
BuildRequires: pkgconfig(mlite5)
17
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions) >= 0.2.1
18
19
BuildRequires: qt5-qttools
BuildRequires: qt5-qttools-linguist
20
21
22
23
24
25
26
%description
%{summary}.
%package tests
Summary: Nemo contact cache library tests
Group: System/Libraries
28
29
30
31
32
33
34
35
36
37
38
39
40
Requires: %{name} = %{version}-%{release}
%description tests
%{summary}.
%package devel
Summary: Nemo contact cache library headers
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
%{summary}.
41
42
43
44
45
46
47
48
49
50
51
52
53
54
%package ts-devel
Summary: Translation source for libcontacts
Group: System/Applications
%description ts-devel
Translation source for libcontacts
%files ts-devel
%defattr(-,root,root,-)
%{_datadir}/translations/source/libcontacts.ts
55
56
57
58
59
%prep
%setup -q -n %{name}-%{version}
%build
60
%qmake5 VERSION=%{version}
62
make %{?_smp_mflags}
63
64
65
%install
rm -rf %{buildroot}
67
68
69
70
71
72
73
74
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/libcontactcache-qt5.so*
75
%{_datadir}/translations/libcontacts_eng_en.qm
76
77
78
79
80
81
82
83
84
%files tests
%defattr(-,root,root,-)
/opt/tests/contactcache-qt5/*
%files devel
%defattr(-,root,root,-)
%{_includedir}/contactcache-qt5/*
%{_libdir}/pkgconfig/contactcache-qt5.pc