-
Notifications
You must be signed in to change notification settings - Fork 0
/
cherrytree-future.spec
493 lines (373 loc) · 18.2 KB
/
cherrytree-future.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
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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
%global progname cherrytree
%global srcpkgdir %{progname}-%{version}
Name: %{progname}-future
Version: 1.2.0
Release: 1%{?dist}
Summary: Hierarchical note taking application
License: GPL-3.0-or-later
URL: https://www.giuspen.net/cherrytree/
Source0: https://github.com/giuspen/cherrytree/archive/refs/tags/v%{version}.zip
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++ libtool autoconf gtkmm30-devel gtksourceview4-devel libxml++-devel
BuildRequires: libsq3-devel gettext-devel gettext intltool python3-lxml libxml2 gspell-devel
BuildRequires: libcurl-devel uchardet-devel
BuildRequires: fmt-devel
BuildRequires: spdlog-devel
BuildRequires: vte291-devel
Requires: atk
Requires: atkmm
Requires: at-spi2-atk
Requires: at-spi2-core
Requires: cairo
Requires: cairo-gobject
Requires: cairomm
Requires: enchant2
Requires: expat
Requires: fontconfig
Requires: freetype
Requires: fribidi
Requires: gdk-pixbuf2
Requires: glibc
Requires: glibmm24
Requires: graphite2
Requires: gspell
Requires: gtk3
Requires: gtkmm30
Requires: gtksourceview4
Requires: harfbuzz
Requires: pango
Requires: pangomm
Requires: pcre
Requires: pcre2
Requires: pixman
Requires: vte291
# I have not been able to get CherryTree to build with system p7zip and upstream
# maintains changes to their bundled p7zip.
Provides: bundled(p7zip) = 16.02
%description
CherryTree is a hierarchical note taking application, featuring rich text and
syntax highlighting, storing all the data (including images) in a single XML
or SQLite file.
%prep
%setup -q -n %{srcpkgdir}
# Remove bundled SPDLOG and FMT
rm -rf %{_builddir}/%{srcpkgdir}/src/spdlog
%build
mkdir build
cd build
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig/
cmake -DUSE_SHARED_7ZIP=ON -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Debug ..
make %{?_smp_mflags}
%install
cmake -DCMAKE_INSTALL_PREFIX="%{buildroot}/usr" -P %{_builddir}/%{srcpkgdir}/build/cmake_install.cmake
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{progname}.desktop
# Put a few things in the places we expect
mkdir -p %{buildroot}%{_datadir}/mime/packages
mv %{buildroot}%{_datadir}/mime-info/* %{buildroot}/%{_datadir}/mime/packages
rmdir %{buildroot}/%{_datadir}/mime-info/
%find_lang %{progname}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
touch --no-create %{_datadir}/mime/packages &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
update-mime-database %{_datadir}/mime &> /dev/null || :
fi
%files -f %{progname}.lang
%license license.txt
%{_bindir}/%{progname}
%dir %{_datadir}/cherrytree
%dir %{_datadir}/cherrytree/data
%{_datadir}/cherrytree/data/user-style.xml
%{_datadir}/cherrytree/data/script3.js
%{_datadir}/cherrytree/data/styles4.css
%dir %{_datadir}/cherrytree/language-specs
%{_datadir}/cherrytree/language-specs/abap.lang
%{_datadir}/cherrytree/language-specs/AutoHoykey.lang
%{_datadir}/cherrytree/language-specs/clisp.lang
%{_datadir}/cherrytree/language-specs/elixir.lang
%{_datadir}/cherrytree/language-specs/hcl.lang
%{_datadir}/cherrytree/language-specs/markdown-extra.lang
%{_datadir}/cherrytree/language-specs/nasm.lang
%dir %{_datadir}/cherrytree/icons
%{_datadir}/cherrytree/icons/ct_home.svg
%{_datadir}/cherrytree/icons/Breeze_Light_icons/*svg
%{_datadir}/cherrytree/icons/Breeze_Dark_icons/*svg
%dir %{_datadir}/cherrytree/styles
%{_datadir}/cherrytree/styles/Amy.xml
%{_datadir}/cherrytree/styles/cobalt-darkened.xml
%{_datadir}/cherrytree/styles/classic.xml
%{_datadir}/cherrytree/styles/cobalt.xml
%{_datadir}/cherrytree/styles/gruvbox-dark.xml
%{_datadir}/cherrytree/styles/gruvbox-light.xml
%{_datadir}/cherrytree/styles/kate.xml
%{_datadir}/cherrytree/styles/oblivion.xml
%{_datadir}/cherrytree/styles/solarized-dark.xml
%{_datadir}/cherrytree/styles/solarized-light.xml
%{_datadir}/cherrytree/styles/styles.rng
%{_datadir}/cherrytree/styles/tango.xml
%{_datadir}/cherrytree/styles/xed.xml
%{_datadir}/applications/%{progname}.desktop
%{_datadir}/metainfo/net.giuspen.%{progname}.metainfo.xml
%{_datadir}/mime/packages/%{progname}.mime
%{_datadir}/mime/packages/%{progname}.keys
%{_datadir}/icons/hicolor/scalable/apps/%{progname}.svg
%{_mandir}/man1/%{progname}.1.gz
%changelog
* Fri Oct 04 2024 Ben Cotton <[email protected]> - 1.2.0-1
- Upstream release 1.2.0
* Tue Sep 03 2024 Ben Cotton <[email protected]> - 1.1.4.20240903gitb0953c4-1
- New upstream snapshot
- Changes from gtksourceview3 to gtksourceview4
- Drops language specs for dart, gdscript, solidity, typescript
* Fri Aug 23 2024 Ben Cotton <[email protected]> - 1.1.4.20240823gitfc1d749-1
- New snapshot to fix upstream #2548
* Mon Jul 29 2024 Ben Cotton <[email protected]> - 1.1.4-1
- Upstream release 1.1.4
* Thu Jun 20 2024 Ben Cotton <[email protected]> - 1.1.3-1
- Upstream release 1.1.3
* Thu Apr 11 2024 Ben Cotton <[email protected]> - 1.1.2-1
- Upstream release 1.1.2
* Fri Mar 22 2024 Ben Cotton <[email protected]> - 1.1.0-1
- Upstream release 1.1.0
* Sat Dec 23 2023 Ben Cotton <[email protected]> - 1.0.4-1
- Upstream release 1.0.4
* Mon Dec 11 2023 Ben Cotton <[email protected]> - 1.0.3-1
- Upstream release 1.0.3
* Wed Sep 27 2023 Ben Cotton <[email protected]> - 1.0.2-1
- Upstream release 1.0.2
* Fri Aug 25 2023 Ben Cotton <[email protected]> - 1.0.1-1
- Upstream release 1.0.1
* Sat Jul 22 2023 Ben Cotton <[email protected]> - 1.0.0-2
- Remove unused bundled at build time SPDLOG/FMT
* Mon Jul 17 2023 Ben Cotton <[email protected]> - 1.0.0-1
- Upstream release 1.0.0
* Wed Jun 28 2023 Ben Cotton <[email protected]> - 0.99.56.20230628gitda855f9-1
- Updated to version 0.99.56
* Fri Jun 02 2023 Ben Cotton <[email protected]> - 0.99.55.20230602git99a1a64-1
- Updated to latest upstream snapshot
* Tue Mar 07 2023 Ben Cotton <[email protected]> - 0.99.55.20230307git655e07e-1
- Updated to version 0.99.55
* Thu Dec 08 2022 Ben Cotton <[email protected]> - 0.99.52.20221208git91c9339-1
- Updated to version 0.99.52
* Wed Oct 12 2022 Ben Cotton <[email protected]> - 0.99.50.20221012git778e685-1
- Updated to version 0.99.50
- Adds virtual terminal (and thus vte dependency)
- Final version built for armhfp
* Wed Sep 07 2022 Ben Cotton <[email protected]> - 0.99.48.20220907git1547782-1
- Update to latest upstream snapshot
* Tue Jul 26 2022 Ben Cotton <[email protected]> - 0.99.48.20220726git3f1c7ca-1
- Update to latest upstream snapshot
* Fri Jul 22 2022 Ben Cotton <[email protected]> - 0.99.48.20220722git81f9a56-1
- Update to latest upstream snapshot (includes version 0.99.48)
* Tue Apr 26 2022 Ben Cotton <[email protected]> - 0.99.47.20220426gitf3ab818-1
- Update to version 0.99.47
* Tue Feb 22 2022 Ben Cotton <[email protected]> - 0.99.46.20220222git0f84c12-1
- Update to version 0.99.46
* Wed Jan 19 2022 Ben Cotton <[email protected]> - 0.99.45.20220119gite343006-1
- Update to version 0.99.45
* Tue Dec 14 2021 Ben Cotton <[email protected]> - 0.99.44.20211214git4c0ed4b-1
- Update to version 0.99.44
* Mon Nov 15 2021 Ben Cotton <[email protected]> - 0.99.43.20211115git1576855-1
- Update to version 0.99.43
* Fri Nov 12 2021 Ben Cotton <[email protected]> - 0.99.42.20211112git7b21a32-1
- Update to latest upstream snapshot
- Includes version 0.99.42
* Tue Sep 21 2021 Ben Cotton <[email protected]> - 0.99.41.20210921git07fbfa2-1
- Update to latest upstream snapshot
- Includes version 0.99.41
* Wed Sep 15 2021 Ben Cotton <[email protected]> - 0.99.40.20210915git05d0378-1
- Update to latest upstream snapshot
* Mon Sep 13 2021 Ben Cotton <[email protected]> - 0.99.40.20210913git561cc44-1
- Update to latest upstream snapshot
* Sat Aug 07 2021 Ben Cotton <[email protected]> - 0.99.40.20210807giteff9cc9-1
- Update to version 0.99.40
* Tue Jul 20 2021 Ben Cotton <[email protected]> - 0.99.39.20210720git0c8903d-1
- Update to version 0.99.39
* Mon Jun 28 2021 Ben Cotton <[email protected]> - 0.99.28.20210628gitac7af91-1
- Update to latest upstream snapshot
* Wed Jun 16 2021 Ben Cotton <[email protected]> - 0.99.38.20210616git2633d5f-1
- Update to version 0.99.38
* Wed May 19 2021 Ben Cotton <[email protected]> - 0.99.37.20210519git6ee5bc4-1
- Update to version 0.99.37
* Thu May 13 2021 Ben Cotton <[email protected]> - 0.99.36.20210513git1e34cc1-1
- Update to latest upstream snapshot
- Includes new translations and keyboard shortcuts
* Sat May 01 2021 Ben Cotton <[email protected]> - 0.99.36.20210501gitef48471-1
- Update to latest upstream snapshot
* Tue Apr 13 2021 Ben Cotton <[email protected]> - 0.99.33.20210413gitc8f974e-1
- Update to latest upstream snapshot
- Updates translations
- Makes headings configurable
* Tue Mar 30 2021 Ben Cotton <[email protected]> - 0.99.33.20210330git68a5ef3-1
- Update to latest upstream snapshot
- Adds support for Korean dialogs
* Tue Mar 23 2021 Ben Cotton <[email protected]> - 0.99.33.20210323gitcdb41a6-1
- Update to version 0.99.33
* Fri Mar 19 2021 Ben Cotton <[email protected]> - 0.99.32.20210319git5c731cd-3
- Address more fedora-review issues
* Fri Mar 19 2021 Ben Cotton <[email protected]> - 0.99.32.20210319git5c731cd-1
- Update to latest upstream snapshot
- Address a few more fedora-review issues
* Thu Mar 18 2021 Ben Cotton <[email protected]> - 0.99.32.20210318git4d58c84-2
- Fixes for fedora-review output
* Thu Mar 18 2021 Ben Cotton <[email protected]> - 0.99.32.20210318git4d58c84-1
- Update to latest upstream snapshot
* Mon Mar 15 2021 Ben Cotton <[email protected]> - 0.99.32.20210315git7bdc5f8-1
- Update to version 0.99.32
* Tue Mar 09 2021 Ben Cotton <[email protected]> - 0.99.31.20210308gitbbe53fa-1
- Update to latest upstream snapshot
- Includes version 0.99.31
* Fri Feb 19 2021 Ben Cotton <[email protected]> - 0.99.30.20210219git277601d-1
- Update to latest upstream snapshot
* Sat Feb 06 2021 Ben Cotton <[email protected]> - 0.99.30.20210206git1f4962e-1
- Update to latest upstream snapshot
* Sat Jan 30 2021 Ben Cotton <[email protected]> - 0.99.30.20210130gitf466dc6-1
- Update to latest upstream snapshot
* Mon Jan 25 2021 Ben Cotton <[email protected]> - 0.99.30.20210125git4ecd0e6-1
- Update to version 0.99.30
* Sat Jan 23 2021 Ben Cotton <[email protected]> - 0.99.29.20210123git2484970-1
- Update to latest upstream snapshot
* Tue Jan 19 2021 Ben Cotton <[email protected]> - 0.99.29.20210118git9cb2d9c-1
- Update to latest upstream snapshot
- Includes version 0.99.29
* Mon Jan 04 2021 Ben Cotton <[email protected]> - 0.99.28.20210104git5a77e32-1
- Update to latest upstream snapshot
- Includes version 0.99.28
* Thu Dec 17 2020 Ben Cotton <[email protected]> - 0.99.25.20201217git7fe5cc3-2
- Includes a fix for build failures on Rawhide.
* Thu Dec 17 2020 Ben Cotton <[email protected]> - 0.99.25.20201217git44ad7a6-1
- Update to latest upstream snapshot
- Includes version 0.99.25
* Wed Dec 02 2020 Ben Cotton <[email protected]> - 0.99.24.20201202git890ba12-1
- Update to version 0.99.24
* Wed Nov 18 2020 Ben Cotton <[email protected]> - 0.99.20.20201118git95f358f-1
- Update to latest upstream snapshot
* Tue Nov 17 2020 Ben Cotton <[email protected]> - 0.99.20.20201117git736ca99-1
- Update to latest upstream snapshot
- Includes version 0.99.20
* Wed Nov 11 2020 Ben Cotton <[email protected]> - 0.99.19.20201111gitd61e746-1
- Update to latest upstream snapshot
- Includes version 0.99.19
* Mon Nov 02 2020 Ben Cotton <[email protected]> - 0.99.18.20201106git84ce680-1
- Update to latest upstream snapshot
* Mon Nov 02 2020 Ben Cotton <[email protected]> - 0.99.18.20201102gitdea7e7c-1
- Update to latest upstream snapshot
* Thu Oct 29 2020 Ben Cotton <[email protected]> - 0.99.18.20201029gitfaa68ab-1
- Update to version 0.99.18
* Mon Oct 26 2020 Ben Cotton <[email protected]> - 0.99.17.20201026git6aa84df-1
- Update to latest upstream snapshot
- Includes version 0.99.17
* Fri Oct 16 2020 Ben Cotton <[email protected]> - 0.99.16.20201016git3cc2d92-1
- Update to latest upstream snapshot
* Wed Oct 14 2020 Ben Cotton <[email protected]> - 0.99.15.20201014gite3e08ba-1
- Update to latest upstream snapshot
- Includes support for huge xml files
* Thu Oct 08 2020 Ben Cotton <[email protected]> - 0.99.15.20201008git82b401a-1
- Update to version 0.99.15
* Thu Oct 01 2020 Ben Cotton <[email protected]> - 0.99.14.20201001gitb6a0ac3-1
- Update to version 0.99.14
* Mon Sep 28 2020 Ben Cotton <[email protected]> - 0.99.13.20200928gitc2b7465-1
- Update to version 0.99.13
* Fri Sep 25 2020 Ben Cotton <[email protected]> - 0.99.12.20200925gite164abc-1
- Update to latest upstream snapshot
- Includes 100% translations for: sl, tr
* Thu Sep 24 2020 Ben Cotton <[email protected]> - 0.99.12.20200924git872d59b-1
- Update to latest upstream snapshot
* Wed Sep 23 2020 Ben Cotton <[email protected]> - 0.99.12.20200923gitba29f32-1
- Update to latest upstream snapshot
- Includes 100% translations for: hy, it, pl, ru, sv, uk
- Includes single-file HTML export
* Mon Sep 21 2020 Ben Cotton <[email protected]> - 0.99.12.20200921gitf2cfad1-1
- Update to latest upstream snapshot
- Includes 0.99.12 release
- Includes translations for: cs, nl, hy, it, and sv
* Fri Sep 18 2020 Ben Cotton <[email protected]> - 0.99.11.20200918git370f605-1
- Update to latest upstream snapshot
- Fixes issue where styles are not packaged
* Thu Sep 17 2020 Ben Cotton <[email protected]> - 0.99.11.20200917gita9cc562-1
- Update to latest upstream snapshot
- Adds 'Amy' style for gtksourceview
* Wed Sep 16 2020 Ben Cotton <[email protected]> - 0.99.11.20200916git344ae23-1
- Update to latest upstream snapshot
* Sun Sep 13 2020 Ben Cotton <[email protected]> - 0.99.11.20200913gita562f76-1
- Update to version 0.99.11
* Fri Sep 11 2020 Ben Cotton <[email protected]> - 0.99.10.20200911git9c30668-1
- Update to latest upstream snapshot
- Includes implentation of "reload after external update to ct* file" feature
* Tue Sep 08 2020 Ben Cotton <[email protected]> - 0.99.10.20200908gitecbaada-1
- Update to latest upstream snapshot
- Includes 0.99.10 release
* Tue Sep 01 2020 Ben Cotton <[email protected]> - 0.99.9.20200901gitcc43bb2-1
- Update to latest upstream snapshot
* Mon Aug 24 2020 Ben Cotton <[email protected]> - 0.99.9.20200824git0e5f27a-1
- Update to latest upstream snapshot
- Includes 0.99.9 release
* Tue Aug 18 2020 Ben Cotton <[email protected]> - 0.99.8.20200813git54c529f-1
- Update to latest upstream snapshot
- Includes 0.99.8 release
* Wed Aug 12 2020 Ben Cotton <[email protected]> - 0.99.7.20200812git72ba066-1
- Update to latest upstream snapshot
* Sun Aug 9 2020 Ben Cotton <[email protected]> - 0.99.7.20200809git551237c-1
- Update to latest upstream snapshot
- Includes "future becomes present" (still tagged 0.99.7 in upstream config)
* Thu Aug 6 2020 Ben Cotton <[email protected]> - 0.99.7.20200806git5151d6a-1
- Update to latest upstream snapshot
* Mon Aug 3 2020 Ben Cotton <[email protected]> - 0.99.7.20200803git63db740-1
- Update to latest upstream snapshot
- Includes 0.99.7 release
* Fri Jul 31 2020 Ben Cotton <[email protected]> - 0.99.6.20200731git80f2886-1
- Update to latest upstream snapshot
* Tue Jul 28 2020 Ben Cotton <[email protected]> - 0.99.6.20200728git36c4bc9-1
- Update to latest upstream snapshot
* Mon Jul 20 2020 Ben Cotton <[email protected]> - 0.99.6.20200720git801430e-1
- Update to the latest upstream snapshot
- Includes 0.99.6 release
* Fri Jul 17 2020 Ben Cotton <[email protected]> - 0.99.5.20200717git06242e7-1
- Update to the latest upstream snapshot
- Includes a fix for PDF exports
* Thu Jul 16 2020 Ben Cotton <[email protected]> - 0.99.5.20200716gitbc31203-1
- Update to the latest upstream snapshot
- Includes 0.99.5 release
- Includes support for importing Leo files
* Thu Jul 09 2020 Ben Cotton <[email protected]> - 0.99.4.20200708git088c243-1
- Update to the latest upstream snaphot
- Includes 0.99.4 release
* Wed Jul 01 2020 Ben Cotton <[email protected]> - 0.99.3.20200701gitc94c9df-1
- Missed that upstream bumped the release version. This is only a packaging update.
* Wed Jul 01 2020 Ben Cotton <[email protected]> - 0.99.2.20200701gitc94c9df-1
- Update to latest upstream snapshot
* Wed Jun 24 2020 Ben Cotton <[email protected]> - 0.99.2.20200623git90c4526-1
- Update to latest upstream snapshot
- Includes Pandoc import support
- Includes support for inserting a table of contents
- Includes debuginfo
* Tue Jun 09 2020 Ben Cotton <[email protected]> - 0.99.1.20200609giteb02517-1
- Update to latest upstream snapshot
* Mon Jun 01 2020 Ben Cotton <[email protected]> - 0.99.0.20200601git33f4bc1-1
- Update to latest upstream snapshot
- Includes support for importing markdown and Zim files
* Tue May 26 2020 Ben Cotton <[email protected]> - 0.99.0.20200526git4e15514-1
- Update to latest upstream snapshot
- Includes support for file importing
* Tue May 19 2020 Ben Cotton <[email protected]> - 0.99.0.20200519git11a58ef-1
- Update to latest upstream snapshot
* Mon May 11 2020 Ben Cotton <[email protected]> - 0.99.0.20200511git6bac8ac-1
- Update to latest upstream snapshot
- Inludes language support
* Wed May 06 2020 Ben Cotton <[email protected]> - 0.0.1.20200506gitc1b48d5-1
- Update to latest upstream snapshot
- Includes fixes for 32-bit compilation
- Includes the ability to skip tests
* Tue May 05 2020 Ben Cotton <[email protected]> - 0.0.1.20200505git26afcc6-1
- Update to latest upstream snapshot
* Sun May 03 2020 Ben Cotton <[email protected]> - 0.0.1.1b8db2b-1
- Update to latest upstream snapshot
* Fri May 01 2020 Ben Cotton <[email protected]> - 0.0.1.20200429git7a26f27-2
- Add desktop niceties
* Wed Apr 29 2020 Ben Cotton <[email protected]> - 0.0.1.20200429git7a26f27-1
- Bring the version string closer to Fedora's requirements
* Wed Apr 29 2020 Ben Cotton <[email protected]> - 0.0.1.git7a26f27-1
- Initial COPR packaging