aboutsummaryrefslogtreecommitdiff
path: root/infcloud.spec
blob: 4268e5c2c403d9c61e1a74c3f14ce6afaf5c2e65 (plain)
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
%define branch stackrpms
%define pname RadicaleInfCloud
Name:		infcloud
Version:	0.13.5.3stackrpms
Release:	1%{?dist}
Summary:	Rich web client for carddav and caldav
BuildArch: noarch

License:	AGPL 3.0
URL:		https://Unrud/RadicaleInfCloud
Source0:	https://gitlab.com/bgstack15/%{pname}/-/archive/%{branch}/%{pname}-%{branch}.tar.gz

#BuildRequires:	python3
#Requires:	   python3

%description
This is the RadicaleInfCloud fork of InfCloud, a 
web-based carddav+caldav client. This includes stackrpms
customizations. Use at your own risk!

%prep
%setup -q -n %{pname}-%{branch}

%build

%install
%{__install} --directory -m0755 \
   %{buildroot}%{_datadir}/%{name} \
   %{buildroot}%{_sysconfdir}/%{name} \
   %{buildroot}%{_sbindir}
%{__cp} -pr * %{buildroot}%{_datadir}/%{name}
%{__install} -m0755 update-infcloud-cache %{buildroot}%{_sbindir}/update-infcloud-cache
mv %{buildroot}%{_datadir}/%{name}/radicale_infcloud/web/config.js %{buildroot}%{_sysconfdir}/%{name}/
mv %{buildroot}%{_datadir}/%{name}/radicale_infcloud/web/cache.manifest %{buildroot}%{_sysconfdir}/%{name}/
ln -s %{_sysconfdir}/%{name}/config.js %{buildroot}%{_datadir}/%{name}/radicale_infcloud/web/config.js
ln -s %{_sysconfdir}/%{name}/cache.manifest %{buildroot}%{_datadir}/%{name}/radicale_infcloud/web/cache.manifest

%post
/sbin/update-infcloud-cache 1>/dev/null 2>&1 || :

%files
%{_datadir}/%{name}
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%{_sbindir}/*
%doc README-stackrpms.md

%changelog
* Fri Nov 10 2023 B. Stack <bgstack15@gmail.com> - 0.13.5.3stackrpms-1
- Add desktop notifications

* Fri Apr 21 2023 B. Stack <bgstack15@gmail.com> - 0.13.5.2stackrpms-2
- Rebuild on local equipment

* Thu Apr 20 2023 B. Stack <bgstack15@gmail.com> - 0.13.5.2stackrpms-1
- Add help and about dialogs

* Thu Mar 09 2023 B. Stack <bgstack15@gmail.com> - 0.13.5.1-1
- Version bump to ensure my prod environment has all improvements

* Sat Jan 07 2023 B. Stack <bgstack15@gmail.com> - 0.13.5-1
- Add CTRL+Enter reaction on edit dialog, which presses save button
- Add resize handle on note field of calendar events regardless
- Document local storage functionality

* Sun Aug 14 2022 B. Stack <bgstack15@gmail.com> - 0.13.4-1
- Add auto-login feature using manually-set localStorage values in browser

* Fri Aug 12 2022 B. Stack <bgstack15@gmail.com> - 0.13.3-1
- Add fully-working upload function

* Thu May 26 2022 B. Stack <bgstack15@gmail.com> - 0.13.1-1stackrpms1.3
- added visible outlines for keyboard navigation
- enabled selectable and navigable input for login button

* Sat May 21 2022 B. Stack <bgstack15@gmail.com> - 0.13.1-1stackrpms1.2
- Disable upload button and stub functions which caused problems

* Thu May 19 2022 B. Stack <bgstack15@gmail.com> - 0.13.1-1stackrpms1.1
- Improve patches

* Tue May 17 2022 B. Stack <bgstack15@gmail.com> - 0.13.1-1
- Initial rpm built
bgstack15