1 |
Summary: Subversion for SME Server |
2 |
%define name smeserver-subversion |
3 |
Name: %{name} |
4 |
%define version 1.3 |
5 |
%define release 2 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Patch0: %{name}-%{version}-SVNAutoVersioning.patch |
10 |
Group: Applications/Internet |
11 |
Source: %{name}-%{version}.tgz |
12 |
BuildArchitectures: noarch |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
Requires: smeserver-mod_dav subversion >= 1.2 smeserver-release >= 7 mod_dav_svn httpd >= 2 |
15 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
16 |
|
17 |
%description |
18 |
Implementation of Subversion for SME Server 7 using WebDAV. |
19 |
|
20 |
%changelog |
21 |
* Fri Jan 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
22 |
- 1.3-2 |
23 |
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3806 |
24 |
Allow auto-versioning by DAV clients (requires subversion >= 1.2) [SME: 3806] |
25 |
|
26 |
* Tue Dec 25 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
27 |
- 1.2-9 |
28 |
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3008 |
29 |
Description doesn't allow characters with accents [SME: 3008] |
30 |
|
31 |
* Mon Aug 6 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
32 |
- 1.2-8 |
33 |
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3079 |
34 |
UUID equal in all repositories [SME: 3079] |
35 |
|
36 |
* Mon Aug 6 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
37 |
- 1.2-7 |
38 |
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3034 |
39 |
Added new French translation due to incorrect encoding [SME: 3034] |
40 |
|
41 |
* Tue Jun 12 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
42 |
- 1.2-6 |
43 |
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3034 |
44 |
Added French translation of server-manager panel [SME: 3034] |
45 |
|
46 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
47 |
- Clean up spec so package can be built by koji/plague |
48 |
|
49 |
* Sun Feb 18 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
50 |
- 1.2-4 |
51 |
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=2435 |
52 |
Added Swedish translation of server-manager panel [SME: 2435] |
53 |
|
54 |
* Tue Feb 13 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
55 |
- 1.2-3 |
56 |
- changed wrongly modified symlink created in 1.2-2 |
57 |
|
58 |
* Mon Feb 12 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
59 |
- 1.2-2 |
60 |
- removed symlink from archive and moved it to createlinks script |
61 |
- fixed bug: http://www.contribs.org/bugzilla/show_bug.cgi?id=2435 |
62 |
implemented the ability to localise the link in the navigation |
63 |
panel of the server-manager [SME: 2435] |
64 |
|
65 |
* Tue Feb 06 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
66 |
- 1.2-1 |
67 |
- imported changelog from previous revisions and ordered them by date |
68 |
- made packager generic for possible inclusion in SME Server Extras |
69 |
- renamed spec file to enable automatic build to |
70 |
smeserver-subversion.spec, removed older spec files with |
71 |
version number in their name |
72 |
- modified mailaddress to be smeserver-contribs@snetram.nl |
73 |
- fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=2169 |
74 |
Added httpd.conf to templates2expand and services2adjust for |
75 |
the user-create, user-modify and group-modify event |
76 |
- fixed bug: http://www.contribs.org/bugzilla/show_bug.cgi?id=2205 |
77 |
Removed NEXT button from first server-manager panel |
78 |
|
79 |
* Sat Dec 09 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
80 |
- 1.1-3 |
81 |
- fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=2073 |
82 |
wrong split of database entries for groups and users when |
83 |
multiple users or groups where specified in 28SubversionContent |
84 |
httpd.conf template file |
85 |
- fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=1953 |
86 |
Authentication doesn't appear to work for groups, implemented |
87 |
workaround to expand all users in groups and adding them to |
88 |
the require user line |
89 |
- fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=2138 |
90 |
Remove unnecesarry double quotes around user and groups in |
91 |
httpd.conf template 28SubversionContent. |
92 |
|
93 |
* Sun Sep 18 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
94 |
- 1.0-5 |
95 |
- fixed bug: http://www.contribs.org/bugzilla/show_bug.cgi?id=1915 |
96 |
missing entry for maxRepositoryNameLength in database |
97 |
- fixed bug: http://www.contribs.org/bugzilla/show_bug.cgi?id=1916 |
98 |
corrected typo in createlinks script for httpd-e-smith |
99 |
|
100 |
* Sun Sep 10 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
101 |
- 1.0-4 |
102 |
- fixed configuration database entry for modDAVSVN |
103 |
|
104 |
* Sun Aug 27 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
105 |
- 1.0-3 |
106 |
- fixed typo |
107 |
|
108 |
* Sun Aug 27 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
109 |
- 1.0-2 |
110 |
- fixed: enable subversion by default after install |
111 |
|
112 |
* Sun Aug 27 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
113 |
- 1.0-1 |
114 |
- complete rebuild of the package |
115 |
- fixed: /home/e-smith/files/repository is now created |
116 |
- fixed: typo in english template files |
117 |
|
118 |
* Mon May 29 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
119 |
- 0.1-01 |
120 |
- Original version |
121 |
|
122 |
%prep |
123 |
rm -rf root/etc/e-smith/web/panels |
124 |
%setup |
125 |
%patch0 -p1 |
126 |
|
127 |
%build |
128 |
perl createlinks |
129 |
|
130 |
DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAVSVN |
131 |
mkdir -p $DEFAULTS |
132 |
|
133 |
echo "service" > $DEFAULTS/type |
134 |
echo "enabled" > $DEFAULTS/status |
135 |
|
136 |
DEFAULTS=root/etc/e-smith/db/configuration/defaults/maxRepositoryNameLength |
137 |
mkdir -p $DEFAULTS |
138 |
|
139 |
echo "31" > $DEFAULTS/type |
140 |
|
141 |
%install |
142 |
rm -rf $RPM_BUILD_ROOT |
143 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
144 |
rm -f %{name}-%{version}-filelist |
145 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
146 |
|
147 |
%clean |
148 |
rm -rf $RPM_BUILD_ROOT |
149 |
|
150 |
%pre |
151 |
true |
152 |
|
153 |
%post |
154 |
if [ "$1" = "1" ] ; then # first install |
155 |
# Expand the server-manager templates to add |
156 |
# references to the smeserver-subversion panel |
157 |
/sbin/e-smith/db configuration set modDAVSVN service status enabled |
158 |
/sbin/e-smith/db configuration set maxRepositoryNameLength 31 |
159 |
/sbin/e-smith/signal-event subversion-modify |
160 |
echo "Rebuilding server-manager (this can take a while) ..." |
161 |
/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
162 |
fi |
163 |
true |
164 |
|
165 |
%preun |
166 |
if [ "$1" = "0" ] ; then # last uninstall |
167 |
/sbin/e-smith/db configuration setprop modDAVSVN status disabled |
168 |
/sbin/e-smith/signal-event subversion-delete |
169 |
/sbin/e-smith/signal-event subversion-modify |
170 |
fi |
171 |
true |
172 |
|
173 |
%postun |
174 |
# Expand the server-manager templates to update/remove |
175 |
# references to the smeserver-subversion panel |
176 |
echo "Rebuilding server-manager (this can take a while) ..." |
177 |
/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
178 |
true |
179 |
|
180 |
%files -f %{name}-%{version}-filelist |
181 |
%defattr(-,root,root) |