summaryrefslogtreecommitdiff
path: root/packaging/libscl-common.spec
blob: c429f3c9b00ac4b3b984ffe1ed7d0da7896618cc (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
Name:       libscl-common
Summary:    A library for developing software keyboards
Version:    0.4.1
Release:    1
Group:      Graphics & UI Framework/Input
License:    Apache-2.0
Source0:    libscl-common-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  pkgconfig(evas)


%description
A library that helps developing S/W Keyboard

%package devel
Summary:    SCL-Common header file
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
A devel package of libscl-common library that helps developing S/W Keyboard

%prep
%setup -q


%build
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir}
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}

%make_install



%post

%postun

%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/libscl-common.so
%license LICENSE

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/pkgconfig/libscl-common.pc