/[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.1 - (hide annotations) (download)
Thu Aug 4 04:23:27 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-radicale-0_0_3-3_el6_sme
Initial import

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

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