/[smecontribs]/rpms/smeserver-radicale/contribs10/smeserver-radicale.spec
ViewVC logotype

Annotation of /rpms/smeserver-radicale/contribs10/smeserver-radicale.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Thu Aug 4 05:04:30 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
Changes since 1.2: +3 -2 lines
* Thu Aug 04 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.3-4.sme
- import to SME10
- python 3.6

1 jpp 1.1 %define name smeserver-radicale
2     %define version 0.0.3
3 jpp 1.2 %define release 4
4 jpp 1.1
5     Summary: smserver rpm to setup radicale, a carddav and caldav client
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}%{?dist}
9     Source: %{name}-%{version}.tar.gz
10 jpp 1.2 Patch0: smeserver-radicale-0.0.3-sme10.patch
11    
12 jpp 1.1 License: GNU GPL version 2
13     URL: http://www.contribs.org
14     Group: SMEserver/addon
15     BuildRoot: %{_tmppath}/%{name}-buildroot
16     Prefix: %{_prefix}
17     BuildArchitectures: noarch
18     BuildRequires: e-smith-devtools
19 jpp 1.2 Requires: e-smith-release >= 10.0
20 jpp 1.3 Requires: python36-pip
21 jpp 1.1 AutoReqProv: no
22    
23     %description
24     smserver rpm to setup the roundcube IMAP mail client.
25    
26     %changelog
27 jpp 1.2 * Thu Aug 04 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.3-4.sme
28 jpp 1.3 - import to SME10
29     - python 3.6
30 jpp 1.2
31 jpp 1.1 * Sun Oct 18 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.3-3
32     - change path and permissions to collections
33    
34     * Sat Oct 17 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.3-2
35     - /etc/rc.d/init.d/masq & /etc/services are expanding on radicale-update
36    
37     * Sun Oct 4 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.3-1
38     - specific ssl certificate is used
39     - the user/group radicale run the init script
40     - hosts.allow is used now
41    
42     * Thu Oct 1 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.1-3
43     - First release to sme9
44     - Thanks to JM LE CORGUILLE <jean-michel@le-corguille.org> for the code and idea.
45    
46     %prep
47     %setup
48 jpp 1.2 %patch0 -p1
49 jpp 1.1
50 jpp 1.2 rm -rf root/etc/rc.d
51 jpp 1.1
52     %build
53     perl createlinks
54     %{__mkdir_p} root/home/e-smith/files/radicale/collections
55     %{__mkdir_p} root/etc/radicale/
56     %{__mkdir_p} root/var/log/radicale
57 jpp 1.2 %{__mkdir_p} root/run/radicale
58 jpp 1.1
59     %install
60     rm -rf $RPM_BUILD_ROOT
61     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
62     rm -f %{name}-%{version}-filelist
63     /sbin/e-smith/genfilelist \
64     --dir /etc/radicale/ 'attr(0755,root,root)' \
65     --dir /home/e-smith/files/radicale 'attr(0750,radicale,radicale)' \
66     --dir /home/e-smith/files/radicale/collections 'attr(0750,radicale,radicale)' \
67     --dir /var/log/radicale 'attr(0755,radicale,radicale)' \
68     --file /var/log/radicale/radicale.log 'attr(0755,radicale,radicale)' \
69     --dir /var/run/radicale 'attr(0755,radicale,radicale)' \
70     $RPM_BUILD_ROOT > %{name}-%{version}-filelist
71     echo "%doc COPYING" >> %{name}-%{version}-filelist
72    
73     %clean
74     cd ..
75     rm -rf %{name}-%{version}
76    
77     %pre
78    
79     /sbin/e-smith/create-system-user radicale 1948 "Radicale server" /home/e-smith/files/.radicale/ /bin/bash
80    
81     #echo "### Radicale Installation"
82     #pip install --upgrade pip radicale >/dev/null 2>&1
83    
84     %preun
85    
86     %post
87     chkconfig --add radicale
88    
89     %postun
90    
91     %files -f %{name}-%{version}-filelist
92     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed