/[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.2 - (hide annotations) (download)
Thu Aug 4 04:52:29 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
Changes since 1.1: +10 -3 lines
* Thu Aug 04 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.3-4.sme
- fix [SME: ]

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.1 Requires: python-pip
21     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     - fix [SME: ]
29    
30 jpp 1.1 * Sun Oct 18 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.3-3
31     - change path and permissions to collections
32    
33     * Sat Oct 17 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.3-2
34     - /etc/rc.d/init.d/masq & /etc/services are expanding on radicale-update
35    
36     * Sun Oct 4 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.3-1
37     - specific ssl certificate is used
38     - the user/group radicale run the init script
39     - hosts.allow is used now
40    
41     * Thu Oct 1 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.1-3
42     - First release to sme9
43     - Thanks to JM LE CORGUILLE <jean-michel@le-corguille.org> for the code and idea.
44    
45     %prep
46     %setup
47 jpp 1.2 %patch0 -p1
48 jpp 1.1
49 jpp 1.2 rm -rf root/etc/rc.d
50 jpp 1.1
51     %build
52     perl createlinks
53     %{__mkdir_p} root/home/e-smith/files/radicale/collections
54     %{__mkdir_p} root/etc/radicale/
55     %{__mkdir_p} root/var/log/radicale
56 jpp 1.2 %{__mkdir_p} root/run/radicale
57 jpp 1.1
58     %install
59     rm -rf $RPM_BUILD_ROOT
60     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
61     rm -f %{name}-%{version}-filelist
62     /sbin/e-smith/genfilelist \
63     --dir /etc/radicale/ 'attr(0755,root,root)' \
64     --dir /home/e-smith/files/radicale 'attr(0750,radicale,radicale)' \
65     --dir /home/e-smith/files/radicale/collections 'attr(0750,radicale,radicale)' \
66     --dir /var/log/radicale 'attr(0755,radicale,radicale)' \
67     --file /var/log/radicale/radicale.log 'attr(0755,radicale,radicale)' \
68     --dir /var/run/radicale 'attr(0755,radicale,radicale)' \
69     $RPM_BUILD_ROOT > %{name}-%{version}-filelist
70     echo "%doc COPYING" >> %{name}-%{version}-filelist
71    
72     %clean
73     cd ..
74     rm -rf %{name}-%{version}
75    
76     %pre
77    
78     /sbin/e-smith/create-system-user radicale 1948 "Radicale server" /home/e-smith/files/.radicale/ /bin/bash
79    
80     #echo "### Radicale Installation"
81     #pip install --upgrade pip radicale >/dev/null 2>&1
82    
83     %preun
84    
85     %post
86     chkconfig --add radicale
87    
88     %postun
89    
90     %files -f %{name}-%{version}-filelist
91     %defattr(-,root,root)

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