1 |
slords |
1.1 |
Summary: Subversion for SME Server |
2 |
|
|
%define name smeserver-subversion |
3 |
|
|
Name: %{name} |
4 |
slords |
1.12 |
%define version 1.4 |
5 |
snetram |
1.14 |
%define release 1 |
6 |
slords |
1.1 |
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: GPL |
9 |
slords |
1.12 |
Patch0: %{name}-%{version}-RemoveLeftoverReferencesToModAuthz.patch |
10 |
|
|
Patch1: %{name}-%{version}-RemoveLeftoverReferencesToModAuthzRemovedTooMuch.patch |
11 |
|
|
Patch2: %{name}-%{version}-ImplementReadWriteAccess.patch |
12 |
|
|
Patch3: %{name}-%{version}-ImplementReadWriteAccess2.patch |
13 |
snetram |
1.13 |
Patch4: %{name}-%{version}-ImplementReadWriteAccess3.patch |
14 |
|
|
Patch5: %{name}-%{version}-ImplementReadWriteAccess4.patch |
15 |
|
|
Patch6: %{name}-%{version}-ImplementReadWriteAccessLocale-en-us.patch |
16 |
|
|
Patch7: %{name}-%{version}-ImplementReadWriteAccessLocale-de.patch |
17 |
|
|
Patch8: %{name}-%{version}-ImplementReadWriteAccessLocale-fr.patch |
18 |
|
|
Patch9: %{name}-%{version}-ImplementReadWriteAccessLocale-sv.patch |
19 |
|
|
Patch10: %{name}-%{version}-ImplementReadWriteAccessLocale-it.patch |
20 |
snetram |
1.14 |
Patch11: %{name}-%{version}-FixFontTagInLocale.patch |
21 |
slords |
1.1 |
Group: Applications/Internet |
22 |
|
|
Source: %{name}-%{version}.tgz |
23 |
|
|
BuildArchitectures: noarch |
24 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
slords |
1.3 |
Requires: smeserver-mod_dav subversion >= 1.2 smeserver-release >= 7 mod_dav_svn httpd >= 2 |
26 |
slords |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
|
|
|
28 |
|
|
%description |
29 |
|
|
Implementation of Subversion for SME Server 7 using WebDAV. |
30 |
|
|
|
31 |
|
|
%changelog |
32 |
snetram |
1.14 |
* Sun Feb 24 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
33 |
|
|
- 1.4-1 |
34 |
|
|
- Removed font tag in locale files [SME: 3977] |
35 |
|
|
|
36 |
slords |
1.12 |
* Sat Feb 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
37 |
|
|
- 1.4-0 |
38 |
snetram |
1.9 |
- Removed skel folder should have been obsoleted since 1.2-8 [SME: 3079] |
39 |
slords |
1.12 |
- Implement read/write access for user(s) and group(s) [SME: 3964] |
40 |
snetram |
1.13 |
- Allow anonymous access [SME: 3976] |
41 |
slords |
1.12 |
- Removed leftover refferences to modAuthzSVN [SME: 3971] |
42 |
snetram |
1.11 |
- Fixed incorrect dates in spec files changelog |
43 |
snetram |
1.9 |
|
44 |
snetram |
1.11 |
* Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
45 |
snetram |
1.8 |
- 1.3-6 |
46 |
|
|
- Fixed missing translations for french locale created by |
47 |
|
|
features implemented by 1.3-2 [SME: 3810] |
48 |
|
|
|
49 |
|
|
* Sat Jan 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
50 |
snetram |
1.7 |
- 1.3-5 |
51 |
|
|
- Added italian (it) locale [SME: 3812] |
52 |
|
|
|
53 |
|
|
* Sat Jan 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
54 |
snetram |
1.6 |
- 1.3-4 |
55 |
|
|
- Added german (de) locale [SME: 3813] |
56 |
|
|
|
57 |
|
|
* Sat Jan 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
58 |
snetram |
1.4 |
- 1.3-3 |
59 |
|
|
- DESCRIPTION_HAS_INVALID_CHARS is not translated in en-us locale [SME: 3694] |
60 |
|
|
- Fixed missing translations for available locale created by |
61 |
|
|
features implemented by 1.3-2 [SME: 3811] |
62 |
|
|
|
63 |
slords |
1.3 |
* Fri Jan 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
64 |
|
|
- 1.3-2 |
65 |
snetram |
1.4 |
- Allow auto-versioning by DAV clients (requires subversion >= 1.2) [SME: 3806] |
66 |
slords |
1.3 |
|
67 |
snetram |
1.2 |
* Tue Dec 25 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
68 |
|
|
- 1.2-9 |
69 |
|
|
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3008 |
70 |
|
|
Description doesn't allow characters with accents [SME: 3008] |
71 |
|
|
|
72 |
slords |
1.1 |
* Mon Aug 6 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
73 |
|
|
- 1.2-8 |
74 |
|
|
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3079 |
75 |
|
|
UUID equal in all repositories [SME: 3079] |
76 |
|
|
|
77 |
|
|
* Mon Aug 6 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
78 |
|
|
- 1.2-7 |
79 |
|
|
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3034 |
80 |
|
|
Added new French translation due to incorrect encoding [SME: 3034] |
81 |
|
|
|
82 |
|
|
* Tue Jun 12 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
83 |
|
|
- 1.2-6 |
84 |
|
|
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=3034 |
85 |
|
|
Added French translation of server-manager panel [SME: 3034] |
86 |
|
|
|
87 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
88 |
|
|
- Clean up spec so package can be built by koji/plague |
89 |
|
|
|
90 |
|
|
* Sun Feb 18 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
91 |
|
|
- 1.2-4 |
92 |
|
|
fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=2435 |
93 |
|
|
Added Swedish translation of server-manager panel [SME: 2435] |
94 |
|
|
|
95 |
|
|
* Tue Feb 13 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
96 |
|
|
- 1.2-3 |
97 |
|
|
- changed wrongly modified symlink created in 1.2-2 |
98 |
|
|
|
99 |
|
|
* Mon Feb 12 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
100 |
|
|
- 1.2-2 |
101 |
|
|
- removed symlink from archive and moved it to createlinks script |
102 |
|
|
- fixed bug: http://www.contribs.org/bugzilla/show_bug.cgi?id=2435 |
103 |
|
|
implemented the ability to localise the link in the navigation |
104 |
|
|
panel of the server-manager [SME: 2435] |
105 |
|
|
|
106 |
|
|
* Tue Feb 06 2007 Jonathan Martens <smeserver-contribs@snetram.nl> |
107 |
|
|
- 1.2-1 |
108 |
|
|
- imported changelog from previous revisions and ordered them by date |
109 |
|
|
- made packager generic for possible inclusion in SME Server Extras |
110 |
|
|
- renamed spec file to enable automatic build to |
111 |
|
|
smeserver-subversion.spec, removed older spec files with |
112 |
|
|
version number in their name |
113 |
|
|
- modified mailaddress to be smeserver-contribs@snetram.nl |
114 |
|
|
- fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=2169 |
115 |
|
|
Added httpd.conf to templates2expand and services2adjust for |
116 |
|
|
the user-create, user-modify and group-modify event |
117 |
|
|
- fixed bug: http://www.contribs.org/bugzilla/show_bug.cgi?id=2205 |
118 |
|
|
Removed NEXT button from first server-manager panel |
119 |
|
|
|
120 |
|
|
* Sat Dec 09 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
121 |
|
|
- 1.1-3 |
122 |
|
|
- fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=2073 |
123 |
|
|
wrong split of database entries for groups and users when |
124 |
|
|
multiple users or groups where specified in 28SubversionContent |
125 |
|
|
httpd.conf template file |
126 |
|
|
- fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=1953 |
127 |
|
|
Authentication doesn't appear to work for groups, implemented |
128 |
|
|
workaround to expand all users in groups and adding them to |
129 |
|
|
the require user line |
130 |
|
|
- fixed bug: http://contribs.org/bugzilla/show_bug.cgi?id=2138 |
131 |
|
|
Remove unnecesarry double quotes around user and groups in |
132 |
|
|
httpd.conf template 28SubversionContent. |
133 |
|
|
|
134 |
|
|
* Sun Sep 18 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
135 |
|
|
- 1.0-5 |
136 |
|
|
- fixed bug: http://www.contribs.org/bugzilla/show_bug.cgi?id=1915 |
137 |
|
|
missing entry for maxRepositoryNameLength in database |
138 |
|
|
- fixed bug: http://www.contribs.org/bugzilla/show_bug.cgi?id=1916 |
139 |
|
|
corrected typo in createlinks script for httpd-e-smith |
140 |
|
|
|
141 |
|
|
* Sun Sep 10 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
142 |
|
|
- 1.0-4 |
143 |
|
|
- fixed configuration database entry for modDAVSVN |
144 |
|
|
|
145 |
|
|
* Sun Aug 27 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
146 |
|
|
- 1.0-3 |
147 |
|
|
- fixed typo |
148 |
|
|
|
149 |
|
|
* Sun Aug 27 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
150 |
|
|
- 1.0-2 |
151 |
|
|
- fixed: enable subversion by default after install |
152 |
|
|
|
153 |
|
|
* Sun Aug 27 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
154 |
|
|
- 1.0-1 |
155 |
|
|
- complete rebuild of the package |
156 |
|
|
- fixed: /home/e-smith/files/repository is now created |
157 |
|
|
- fixed: typo in english template files |
158 |
|
|
|
159 |
|
|
* Mon May 29 2006 Jonathan Martens <smeserver-contribs@snetram.nl> |
160 |
|
|
- 0.1-01 |
161 |
|
|
- Original version |
162 |
|
|
|
163 |
|
|
%prep |
164 |
|
|
%setup |
165 |
|
|
%patch0 -p1 |
166 |
snetram |
1.4 |
%patch1 -p1 |
167 |
|
|
%patch2 -p1 |
168 |
|
|
%patch3 -p1 |
169 |
snetram |
1.6 |
%patch4 -p1 |
170 |
snetram |
1.7 |
%patch5 -p1 |
171 |
snetram |
1.8 |
%patch6 -p1 |
172 |
snetram |
1.9 |
%patch7 -p1 |
173 |
snetram |
1.10 |
%patch8 -p1 |
174 |
snetram |
1.13 |
%patch9 -p1 |
175 |
|
|
%patch10 -p1 |
176 |
snetram |
1.14 |
%patch11 -p1 |
177 |
snetram |
1.13 |
rm -f root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent.orig |
178 |
slords |
1.1 |
|
179 |
|
|
%build |
180 |
|
|
perl createlinks |
181 |
|
|
|
182 |
|
|
DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAVSVN |
183 |
|
|
mkdir -p $DEFAULTS |
184 |
|
|
|
185 |
|
|
echo "service" > $DEFAULTS/type |
186 |
|
|
echo "enabled" > $DEFAULTS/status |
187 |
|
|
|
188 |
|
|
DEFAULTS=root/etc/e-smith/db/configuration/defaults/maxRepositoryNameLength |
189 |
|
|
mkdir -p $DEFAULTS |
190 |
|
|
|
191 |
|
|
echo "31" > $DEFAULTS/type |
192 |
|
|
|
193 |
|
|
%install |
194 |
|
|
rm -rf $RPM_BUILD_ROOT |
195 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
196 |
|
|
rm -f %{name}-%{version}-filelist |
197 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
198 |
|
|
|
199 |
|
|
%clean |
200 |
|
|
rm -rf $RPM_BUILD_ROOT |
201 |
|
|
|
202 |
|
|
%pre |
203 |
|
|
true |
204 |
|
|
|
205 |
|
|
%post |
206 |
|
|
if [ "$1" = "1" ] ; then # first install |
207 |
|
|
# Expand the server-manager templates to add |
208 |
|
|
# references to the smeserver-subversion panel |
209 |
|
|
/sbin/e-smith/db configuration set modDAVSVN service status enabled |
210 |
|
|
/sbin/e-smith/db configuration set maxRepositoryNameLength 31 |
211 |
|
|
/sbin/e-smith/signal-event subversion-modify |
212 |
|
|
echo "Rebuilding server-manager (this can take a while) ..." |
213 |
|
|
/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
214 |
|
|
fi |
215 |
|
|
true |
216 |
|
|
|
217 |
|
|
%preun |
218 |
|
|
if [ "$1" = "0" ] ; then # last uninstall |
219 |
|
|
/sbin/e-smith/db configuration setprop modDAVSVN status disabled |
220 |
|
|
/sbin/e-smith/signal-event subversion-delete |
221 |
|
|
/sbin/e-smith/signal-event subversion-modify |
222 |
|
|
fi |
223 |
|
|
true |
224 |
|
|
|
225 |
|
|
%postun |
226 |
|
|
# Expand the server-manager templates to update/remove |
227 |
|
|
# references to the smeserver-subversion panel |
228 |
|
|
echo "Rebuilding server-manager (this can take a while) ..." |
229 |
|
|
/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
230 |
|
|
true |
231 |
|
|
|
232 |
|
|
%files -f %{name}-%{version}-filelist |
233 |
|
|
%defattr(-,root,root) |