This repository has been archived by the owner on Sep 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
/
charmtimetracker.spec
98 lines (83 loc) · 3.12 KB
/
charmtimetracker.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Name: charmtimetracker
Version: 1.12.0
Release: 0
Summary: Time Tracking Application
Source: %{name}-%{version}.tar.gz
Url: https://github.com/KDAB/Charm
Group: Productivity/Other
License: GPL-2.0+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Vendor: Klaralvdalens Datakonsult AB (KDAB)
Packager: Klaralvdalens Datakonsult AB (KDAB) <[email protected]>
BuildRequires: cmake extra-cmake-modules desktop-file-utils
%if %{defined suse_version}
BuildRequires: update-desktop-files libqt5-qtbase-devel qtkeychain-qt5-devel
%endif
%if %{defined fedora}
BuildRequires: qt5-qtbase-devel qtkeychain-qt5-devel
%endif
%if %{defined rhel}
BuildRequires: qt5-qtbase-devel qtkeychain-qt5-devel
%endif
%description
Charm is a program for OS X, Linux and Windows that helps to keep
track of time. It is built around two major ideas - tasks, and
events. Tasks are the things time is spend on, repeatedly. For
example, ironing laundry is a task. The laundry done for two hours on
last Tuesday is an event in that task. When doing laundry multiple
times, the events will be accumulated, and can later be printed in
activity reports or weekly time sheets. So in case laundry would be
done for three hours on Wednesday again, the activity report for the
"Ironing Laundry" task would list the event on tuesday, the event on
wednesday and a total of five hours.
Authors:
--------
Klaralvdalens Datakonsult AB (KDAB) <[email protected]>
%define debug_package %{nil}
%global __debug_install_post %{nil}
%prep
%setup -T -c
%{__tar} -zxf %{SOURCE0} --strip-components=1
%build
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCharm_VERSION=%{version}
%__make %{?_smp_mflags}
%install
%make_install
%if %{defined suse_version}
%suse_update_desktop_file -r charmtimetracker Utility DesktopUtility
%endif
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_prefix}/share/doc/HTML
%dir %{_prefix}/share/doc/HTML/charmtimetracker
%{_prefix}/share/doc/HTML/charmtimetracker/*
%{_prefix}/share/icons/hicolor
%{_prefix}/share/applications/charmtimetracker.desktop
%{_prefix}/bin/charmtimetracker
%changelog
* Mon Jul 09 2018 Allen Winter <[email protected]> 1.12.0
- 1.12.0
* Sat Jul 07 2018 Allen Winter <[email protected]> 1.12.0rc2
- 1.12.0 RC2
* Tue Nov 01 2016 Steffen Hansen <[email protected]> 1.11.4
- 1.11.4 release
* Tue Nov 01 2016 Steffen Hansen <[email protected]> 1.11.3
- 1.11.3 release
* Sat Apr 30 2016 Allen Winter <[email protected]> 1.11.1
- 1.11.1 release
* Mon Apr 25 2016 Allen Winter <[email protected]> 1.11.0
- 1.11.0 release
* Mon Oct 05 2015 Allen Winter <[email protected]> 1.10.0
- 1.10.0 release
* Thu Mar 26 2015 Allen Winter <[email protected]> 1.9.0
- 1.9.0 release
* Tue Jul 02 2013 Kevin Ottens <[email protected]> 1.8.0
- 1.8.0 release
* Fri Jul 27 2012 Frank Osterfeld <[email protected]> 1.7.0
- 1.7.0 release
* Thu Feb 23 2012 Mike McQuaid <[email protected]> 1.6.0
- 1.6.0 release
* Wed Apr 20 2011 Mike McQuaid <[email protected]> 1.5.2
- Initial setup of 1.5.2 version (based on Kevin Ottens work).