-
Notifications
You must be signed in to change notification settings - Fork 29
/
Qt-SESAM.spec
65 lines (48 loc) · 1.59 KB
/
Qt-SESAM.spec
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
Name: Qt-SESAM
Version: 2.0.6
Release: 1%{?dist}
Summary: Super Easy & Secure Authentication Management
Group: Applications/Internet
License: GPLv3+ and Boost
URL: https://github.com/ola-ct/%{name}
Source0: https://github.com/ola-ct/%{name}/archive/v%{version}.tar.gz
# build uses qmake, i.e. doesn't use information from pkconfig() or cmake()
# @TODO: what is correct BR for qmake-qt5?
BuildRequires: pkgconfig(Qt5)
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Widgets)
# for lrelease-qt5
BuildRequires: cmake(Qt5LinguistTools)
# @TODO: we need a better description text
%description
Super Easy & Secure Authentication Management
This program uses the Crypto++ library.
%prep
%setup -q -n %{name}-%{version}
%build
lrelease-qt5 %{name}/%{name}.pro
qmake-qt5 %{name}.pro
make %{?_smp_mflags}
make %{?_smp_mflags} check
%install
%{make_install} INSTALL_ROOT=%{buildroot}
%{find_lang} QtSESAM --with-qt --without-mo
%clean
rm -rf %{buildroot}
%files -f QtSESAM.lang
%defattr(-,root,root,-)
%doc README.md
%license LICENSE libSESAM/3rdparty/cryptopp/Crypto++-License
%{_bindir}/%{name}
%changelog
* Mon Sep 28 2015 Oliver Lau <[email protected]> - 2.0.6-1
- update to 2.0.6
* Fri Sep 18 2015 Stefan Becker <[email protected]> - 2.0.5-1
- update to 2.0.5
* Wed Sep 16 2015 Stefan Becker <[email protected]> - 2.0.4-1
- update to 2.0.4
* Tue Sep 15 2015 Stefan Becker <[email protected]> - 2.0.3-1
- Initial packaging.