]> git.pld-linux.org Git - packages/qesteidutil.git/blame - qesteidutil.spec
- Requires(post,postun): gtk-update-icon-cache
[packages/qesteidutil.git] / qesteidutil.spec
CommitLineData
ff9ad974
ER
1Summary: Estonian ID card utility
2Name: qesteidutil
3Version: 0.3.0
649204b2 4Release: 2
ff9ad974
ER
5License: LGPL v2+
6Group: X11/Applications
7URL: http://code.google.com/p/esteid/
8Source0: http://esteid.googlecode.com/files/%{name}-%{version}.tar.bz2
9# Source0-md5: f91ddc6022ecf86753dc3492a8e33baf
10# Use system qtsingleapplication, backported from upstream SVN
11Patch0: %{name}-0.3.0-system_qtsingleapplication.patch
49ca6d3d 12Patch1: desktop.patch
ff9ad974
ER
13BuildRequires: QtSingleApplication-devel
14BuildRequires: QtWebKit-devel
15BuildRequires: cmake
16BuildRequires: desktop-file-utils
17BuildRequires: libp11-devel
18BuildRequires: openssl-devel
19BuildRequires: qt4-build
20BuildRequires: smartcardpp-devel
649204b2
AF
21Requires(post,postun): gtk-update-icon-cache
22Requires(post,postun): hicolor-icon-theme
ff9ad974
ER
23Requires: hicolor-icon-theme
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27QEsteidUtil is an application for managing Estonian ID Card. In an
28user-friendly interface it is possible to change and unlock PINs,
29examine detailed information about personal data file on the card,
30extract and view certificates, set up mobile ID, and configure
31@eesti.ee email.
32
33%prep
34%setup -q
35%patch0 -p0
49ca6d3d 36%patch1 -p1
ff9ad974
ER
37
38# Remove bundled qtsingleapplication to make sure it isn't used
39rm -rf qtsingleapplication
40
41%build
42install -d build
43cd build
44%cmake ..
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49%{__make} -C build install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/qesteidutil.desktop
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post
58%update_icon_cache hicolor
59
60%postun
61%update_icon_cache hicolor
62
63%files
64%defattr(644,root,root,755)
65%doc AUTHORS NEWS README
66%attr(755,root,root) %{_bindir}/qesteidutil
67%{_desktopdir}/qesteidutil.desktop
68%{_iconsdir}/hicolor/*/apps/qesteidutil.png
This page took 0.104102 seconds and 4 git commands to generate.