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