Overview
Request 1198 (accepted)
Check in kolab-autoconf
- Created by vanmeeuwen over 9 years ago
- In state accepted
Submit package Kolab:Development / kolab-autoconf to package Kolab:16 / kolab-autoconf
kolab-autoconf.spec
Added
x
1
2
+# Needed for opensuse build system
3
+%if 0%{?opensuse_bs}
4
+#!BuildIgnore: boa
5
+#!BuildIgnore: cherokee
6
+#!BuildIgnore: nginx
7
+#!BuildIgnore: httpd-itk
8
+#!BuildIgnore: lighttpd
9
+#!BuildIgnore: thttpd
10
+
11
+#!BuildIgnore: fedora-logos-httpd
12
+%endif
13
+
14
+%if 0%{?suse_version}
15
+%global httpd_group www
16
+%global httpd_name apache2
17
+%global httpd_user wwwrun
18
+%else
19
+%global httpd_group apache
20
+%global httpd_name httpd
21
+%global httpd_user apache
22
+%endif
23
+
24
+%global _ap_sysconfdir %{_sysconfdir}/%{httpd_name}
25
+
26
+Name: kolab-autoconf
27
+Version: 1
28
+Release: 0.20150702.git5399081%{?dist}
29
+Summary: Autodiscovery for clients of Kolab Groupware
30
+
31
+Group: Applications/Internet
32
+License: GPLv3+
33
+URL: https://kolab.org
34
+Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz
35
+
36
+Requires: php-Net-LDAP3
37
+Obsoletes: kolab-autodiscover < %{version}-%{release}
38
+Provides: kolab-autodiscover = %{version}-%{release}
39
+BuildArch: noarch
40
+
41
+%description
42
+
43
+
44
+%prep
45
+%setup -q
46
+
47
+%build
48
+
49
+%install
50
+%{__mkdir_p} \
51
+ %{buildroot}/%{_ap_sysconfdir}/conf.d/ \
52
+ %{buildroot}/%{_datadir}/%{name}/ \
53
+ %{buildroot}/%{_var}/log/%{name}
54
+
55
+%{__cp} -a lib public_html %{buildroot}/%{_datadir}/%{name}/
56
+
57
+pushd %{buildroot}/%{_datadir}/%{name}/
58
+ln -s ../../..%{_var}/log/%{name} logs
59
+popd
60
+
61
+%{__install} -pm 644 docs/%{name}.conf %{buildroot}/%{_ap_sysconfdir}/conf.d/%{name}.conf
62
+
63
+%files
64
+%defattr(-,root,root,-)
65
+%doc docs/*
66
+%dir %{_ap_sysconfdir}
67
+%dir %{_ap_sysconfdir}/conf.d
68
+%config(noreplace) %{_ap_sysconfdir}/conf.d/%{name}.conf
69
+%{_datadir}/%{name}
70
+%attr(0750,%{httpd_user},%{httpd_group}) %{_var}/log/%{name}
71
+
72
+%changelog
73
+* Tue Sep 9 2014 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1-1
74
+- Initial version
75
kolab-autoconf-1.tar.gz
Added
Refresh
Refresh
Login required, please
login
in order to comment
Request History
vanmeeuwen created request over 9 years ago
Check in kolab-autoconf
vanmeeuwen accepted review over 9 years ago
Accept
vanmeeuwen accepted review over 9 years ago
Accept
vanmeeuwen approved review over 9 years ago
Accept
vanmeeuwen accepted request over 9 years ago
Accept