-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeepin-calendar.spec
67 lines (51 loc) · 1.8 KB
/
deepin-calendar.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
66
67
%global project dde-calendar
%global reponame %{project}
Name: deepin-calendar
Version: 1.0.11
Release: 2%{?dist}
Summary: Calendar for Deepin Desktop Environment
License: GPLv3+
URL: https://github.com/linuxdeepin/dde-calendar
Source0: %{url}/archive/%{version}/%{reponame}-%{version}.tar.gz
BuildRequires: qt5-linguist
BuildRequires: qt5-qtbase-devel
BuildRequires: deepin-tool-kit-devel
BuildRequires: deepin-gettext-tools
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
Calendar for Deepin Desktop Environment.
%prep
%setup -q -n %{reponame}-%{version}
sed -i 's|lrelease|lrelease-qt5|g' translate_generation.sh
%build
%qmake_qt5 PREFIX=%{_prefix}
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{reponame}.desktop
%files
%doc README.md
%license LICENSE
%{_bindir}/%{reponame}
%{_datadir}/%{reponame}/
%{_datadir}/applications/%{reponame}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{reponame}.svg
%changelog
* Sun Aug 06 2017 Zamir SUN <[email protected]> - 1.0.11-2
- Add check for desktop file
* Fri Jul 14 2017 mosquito <[email protected]> - 1.0.11-1.gitd2c7b9e
- Update to 1.0.11
* Fri May 19 2017 mosquito <[email protected]> - 1.0.7-1.gita8a4f5b
- Update to 1.0.7
* Sun Feb 26 2017 mosquito <[email protected]> - 1.0.4-1.gitb59053f
- Update to 1.0.4
* Tue Jan 17 2017 mosquito <[email protected]> - 1.0.3-1.gitd7e42a1
- Update to 1.0.3
* Mon Dec 19 2016 Jaroslav <[email protected]> Stepanek 1.0.3-1
- Update to version 1.0.3
* Fri Dec 09 2016 Jaroslav <[email protected]> Stepanek 1.0.2-2
- Rebuild with newer deepin-tool-kit
* Sun Oct 09 2016 Jaroslav <[email protected]> Stepanek 1.0.2-1
- Initial package build