blob: d24a34137d15ce139423a4f64f3179b2a042d7f3 (
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
|
%define PREFIX /opt/apps/org.tizen.pwlock
Name: org.tizen.pwlock
Summary: Password Lock application
Version: 0.2.1
Release: 1
Group: User Experience
License: Samsung Proprietary License
Source0: %{name}-%{version}.tar.gz
Source1001: packaging/org.tizen.pwlock.manifest
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(ui-gadget)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(appcore-efl)
BuildRequires: pkgconfig(tapi)
BuildRequires: pkgconfig(utilX)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(sysman)
BuildRequires: gettext-tools
BuildRequires: cmake
BuildRequires: edje-tools
Requires(post): /usr/bin/vconftool
%description
Password lock application.
%prep
%setup -q
%build
cp %{SOURCE1001} .
LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed";export LDFLAGS
cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
make
%install
%make_install
%find_lang pwlock
%post
GOPTION="-g 6514"
vconftool $GOPTION set -t bool db/setting/pwlock_boot "1"
chown -R 5000:5000 /opt/apps/org.tizen.pwlock/data
#%files -f %{name}.lang
%files
%manifest org.tizen.pwlock.manifest
%defattr(-,root,root,-)
%dir /opt/apps/org.tizen.pwlock/data
/opt/share/applications/org.tizen.pwlock.desktop
/opt/apps/org.tizen.pwlock/bin/pwlock
/opt/apps/org.tizen.pwlock/res/locale/*/LC_MESSAGES/pwlock.mo
|