~igor-cali/bilancio/packaging

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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
Name:		openmoneybox
Version:	3.4.2
Release:	6
Summary:	Budget management application

License:	GPLv3+
URL:		https://launchpad.net/bilancio
Source:		https://launchpad.net/bilancio/stable/openmoneybox3.4/+download/openmoneybox_3.4.2.6.tar.gz

Packager:	2014-2023 Igor Calì <igor.cali0@gmail.com>

BuildRequires:	redhat-lsb-core
BuildRequires:	gcc-c++
BuildRequires:	wxGTK-devel
#BuildRequires:	wxsqlite3-devel
BuildRequires:	sqlcipher-devel
BuildRequires:	desktop-file-utils
BuildRequires:	osm-gps-map-devel

Requires:	wxGTK
#Requires:	wxsqlite3
Requires:	sqlcipher
#Requires:	python-matplotlib
Requires:	osm-gps-map
Requires:	highcontrast-icon-theme

%description
OpenMoneyBox is an application designed to manage small personal
money budgets in the easiest way.

%prep
%setup -q

%build
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
%make_install
# https://fedoraproject.org/wiki/PackagingDrafts/find_lang
%find_lang %{name}

%files -f %{name}.lang
/bin/openmoneybox
/bin/ombmapviewer
%{_datadir}/applications/openmoneybox.desktop
%{_datadir}/doc/openmoneybox/*
%{_datadir}/glib-2.0/schemas/*
%{_datadir}/locale/*
%{_sysconfdir}/openmoneybox/logo.png
%{_sysconfdir}/openmoneybox/alarm_clock.wav
%{_sysconfdir}/openmoneybox/images/*
%{_sysconfdir}/openmoneybox/en/*
%{_sysconfdir}/openmoneybox/it/*
%{_datadir}/icons/*
%{_datadir}/mime/packages/openmoneybox.xml
%{_datadir}/help/*
%{_sysconfdir}/openmoneybox/ombmapviewer.ui
%{_sysconfdir}/openmoneybox/categories/*

%post
/sbin/ldconfig
glib-compile-schemas /usr/share/glib-2.0/schemas

USR_HOME="$(getent passwd $SUDO_USER | cut -d: -f6)"
DIR=/.config/autostart/
FILE=ombtray.desktop
NEW_FILE=openmoneybox.desktop
FULL_PATH=$USR_HOME$DIR$FILE

if [ -f "$FULL_PATH" ]; then
    echo "Autostart file $FULL_PATH found..."
    sed -i "s/ombtray/openmoneybox --tray --force/g" $FULL_PATH
    mv $FULL_PATH $USR_HOME$DIR$NEW_FILE
    echo "Autostart file converted in $USR_HOME$DIR$NEW_FILE."
fi

%postun
/sbin/ldconfig
glib-compile-schemas /usr/share/glib-2.0/schemas

%changelog
* Tue Dec 19 2023 Igor Calì <igor.cali0@gmail.com> - 3.4.2-6
- Code maturity: wxFormBuilder classes updated to v4.0.0;
- Standardization: removed __DEBIAN__ compile flag;
- Standardization: removed __FEDORA__ compile flag;
- Standardization: _OMB_INSTALLEDUPDATE compile switch used on Omb_StrToDate().
- Fedora 39: Added dependency to highcontrast-icon-theme for mark-location.png

* Sat Aug 05 2023 Igor Calì <igor.cali0@gmail.com> - 3.4.2-5
- Fixed crash if less funds in archive than in current budget;
- Show alarm date in tree-list for lent and borrowed objects;
- Show currency in tree-list for funds, credits and debts;
- Improved toolbar colors with dark theme.

* Mon May 29 2023 Igor Calì <igor.cali0@gmail.com> - 3.4.2-4
- Fix LP #2021414: Category change not saved from drop-down list in report.

* Mon May 01 2023 Igor Calì <igor.cali0@gmail.com> - 3.4.2-3
- Fix LP #2018240: crash if master db folder does not exist;
- [RPM] ombmapviewer feature added in Fedora 38; rpmlint cleanup;
- Fix LP #2018221: ombMapViewer zoom and centering improved;
- [Desktop] Code Cleanup (cppcheck):
- Fix LP #2017172; Debian Lintian cleanup; rpmlint cleanup. 

* Sat Apr 15 2023 Igor Calì <igor.cali0@gmail.com> - 3.4.2-2
- Yelp manual;
- Fix LP #2015934: Language detection not working on wxWidgets 3.2 builds.

* Mon Mar 20 2023 Igor Calì <igor.cali0@gmail.com> - 3.4.2.1
- Monolitich build;
- New feature: show complete trend chart;
- Graph trend color based on first date value. 

* Sat Nov 12 2022 Igor Calì <igor.cali0@gmail.com> - 3.4.1.18
- Fix LP #1996427: Report cannot be edited;
- LP #1995712: Category selectable from drop-down list in the report;
- LP #1995712: Shopping list popup menu moved onto shopping list view.

* Sat Oct 15 2022 Igor Calì <igor.cali0@gmail.com> - 3.4.1.17
- Closes LP #1990718 - English translation improvement (remit).

* Wed Jul 20 2022 Igor Calì <igor.cali0@gmail.com> - 3.4.1.16
- Fix LP #1981371 - Contact image for credit, debt, objects (if available) not shown in the report after removal;
- Close LP #1981499 - Added generic image in case contact picture is not available.

* Sun May 22 2022 Igor Calì <igor.cali0@gmail.com> - 3.4.1.15
- Swedish translation updated, thanks to Simon Nilsson (Simon@Observeramera.com).

* Sat Apr 30 2022 Igor Calì <igor.cali0@gmail.com> - 3.4.1.14
- Swedish translation added, thanks to Simon Nilsson (Simon@Observeramera.com).

* Tue Mar 08 2022 Igor Calì <igor.cali0@gmail.com> - 3.4.1.13
- Fix LP #1963827 - Error if custom category icon not available in the device.

* Wed Oct 13 2021 Igor Calì <igor.cali0@gmail.com> - 3.4.1.12
- Fix LP #1946607 - Wizard does not create the document.

* Sun Aug 15 2021 Igor Calì <igor.cali0@gmail.com> - 3.4.1.11
- Fix LP #1937902 - Crash if no contact with specified ID;
- Italian translation updated;
- New icon for Add Shopping-list item.

* Fri Mar 26 2021 Igor Calì <igor.cali0@gmail.com> - 3.4.1.8
- Added the capability to store old debits and credits.

* Sun Feb 28 2021 Igor Calì <igor.cali0@gmail.com> - 3.4.1.7
- Trend chart visualization improved.

* Fri Feb 05 2021 Igor Calì <igor.cali0@gmail.com> - 3.4.1.6
- Fix LP #1910931 - New date not added after Shopping List item is added;
- Top categories improved when less than three items are shown;
- Message dialog on selecting unexisting external tool;
- Fixed code errors in XML export for archive;
- New icon for Remove Fund and Remove Shopping list item.

* Sat Nov 21 2020 Igor Calì <igor.cali0@gmail.com> - 3.4.1.5
- Fix LP #1902354 - [ombTray] Exception when exiting after OpenMoneyBox is launched from menu.

* Mon Aug 17 2020 Igor Calì <igor.cali0@gmail.com> - 3.4.1.4
- French translation added (application only);
- fix LP #1888134 - About dialog missing translations.

* Tue Mar 10 2020 Igor Calì <igor.cali0@gmail.com> - 3.4.1.3
- Fix LP #1848840 - Splash screen removed.

* Wed Dec 04 2019 Igor Calì <igor.cali0@gmail.com> - 3.4.1.1
- Category icons and Top categories added;
- fix LP #1848840 - Wrong category id assigned in operation;
- fix LP #1848370 - Custom currency fields not exported in archive;
- fix LP #1852021 - Wrong object shown in alarm dialog.

* Fri Sep 06 2019 Igor Calì <igor.cali0@gmail.com> - 3.3.1.7
- Fix LP #1841362 - Cannot open crypted document.

* Mon Aug 12 2019 Igor Calì <igor.cali0@gmail.com> - 3.3.1.6
- Fix LP #1835113 - modified trailname ' [*]' not shown when archive is attached;

* Sun Jun 23 2019 Igor Calì <igor.cali0@gmail.com> - 3.3.1.5
- Fix LP #1833806 - Wrong categories shown in archive.

* Wed May 22 2019 Igor Calì <igor.cali0@gmail.com> - 3.3.1.3
- Fix LP #1827244 - Location icon look with dark theme;
- Custom currency added.

* Wed Apr 3 2019 Igor Calì <igor.cali0@gmail.com> - 3.3.1.1
- New upstream release (v3.3.1.1)
- Encryption added.

* Wed Dec 5 2018 Igor Calì <igor.cali0@gmail.com> - 3.2.2.9
- Category change fixed.

* Sat Dec 1 2018 Igor Calì <igor.cali0@gmail.com> - 3.2.2.8
- XML export fixed (quotes in values).

* Mon Nov 19 2018 Igor Calì <igor.cali0@gmail.com> - 3.2.2.6
- fixed bug LP #1801611 - Wizard creates document in old format;
- theme improvement in charts.

* Thu Oct 11 2018 Igor Calì <igor.cali0@gmail.com> - 3.2.2.5
- Show contact thumbnails from archive.

* Sun Aug 19 2018 Igor Calì <igor.cali0@gmail.com> - 3.2.1.4
- fixed bug LP #1787562 - Error on operation after archive is browsed;
- fixed bug LP #1787560 - Error copying data from archive;
- dialogs optimized for Gnome desktop;
- removed old user path conversion;
- code cleanup.

* Tue Jun 05 2018 Igor Calì <igor.cali0@gmail.com> - 3.2.1.1
- added support for phone contacts chosen in mobile app;
- added support for locations stored by mobile app;
- fixed bug LP #1737495 - Shoplist item not removed when confirmed on external alertBox. 

* Mon Oct 16 2017 Igor Calì <igor.cali0@gmail.com> - 3.1.2.4
- Fixed bug LP #1709438 - Datababase is still recognizied as modified after 'revert';
- Fixed bug LP #1715025 - Broken convertion app;
- Chart rendering improved;
- Ubuntu Artful package (17.10) - notification applet in GNOME desktop.

* Wed Aug 02 2017 Igor Calì <igor.cali0@gmail.com> - 3.1.2.2
- Updated chart rendering.

* Sat Jun 03 2017 Igor Calì <igor.cali0@gmail.com> - 3.1.2.1
- Renamed to OpenMoneyBox and rebranded;
- Added GSettings support for user settings;
- Feature LP #1664378 - User setting for export prefix;
- Fixed bug LP #1664735 - Wrong export folder name;
- Fixed bug LP #1667978 - Notifications have no icons.

* Wed Jan 11 2017 Igor Calì <igor.cali0@gmail.com> - 3.1.1.5
- Fixed bug LP #1654686 - Trend chart not created for master archive;
- Fixed bug LP #1578367 - Biltray icon size.
- Update library included for Fedora and OpenSuse.

* Mon Jan 02 2017 Igor Calì <igor.cali0@gmail.com> - 3.1.1.4
- Fixed bug LP #1653461 - Master database wrongly reported;

* Fri Dec 09 2016 Igor Calì <igor.cali0@gmail.com> - 3.1.1.2
- Export XML from archive.

* Mon Nov 28 2016 Igor Calì <igor.cali0@gmail.com> - 3.1.1.1
- New upstream release (v3.1.1.1)

* Thu Jul 07 2016 Igor Calì <igor.cali0@gmail.com> - 3.0.2-9
- Initial version of the package (closes LP #1599325).