1 |
Summary: Subversion for SME Server |
2 |
%define name smeserver-subversion |
3 |
Name: %{name} |
4 |
%define version 1.4 |
5 |
%define release 0 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Patch0: %{name}-%{version}-RemoveLeftoverReferencesToModAuthz.patch |
10 |
Patch1: %{name}-%{version}-RemoveLeftoverReferencesToModAuthzRemovedTooMuch.patch |
11 |
Patch2: %{name}-%{version}-ImplementReadWriteAccess.patch |
12 |
Patch3: %{name}-%{version}-ImplementReadWriteAccess2.patch |
13 |
Patch4: %{name}-%{version}-ImplementReadWriteAccessLocale-en-us.patch |
14 |
Patch5: %{name}-%{version}-ImplementReadWriteAccessLocale-de.patch |
15 |
Patch6: %{name}-%{version}-ImplementReadWriteAccessLocale-fr.patch |
16 |
Patch7: %{name}-%{version}-ImplementReadWriteAccessLocale-sv.patch |
17 |
Patch8: %{name}-%{version}-ImplementReadWriteAccessLocale-it.patch |
18 |
Group: Applications/Internet |
19 |
Source: %{name}-%{version}.tgz |
20 |
BuildArchitectures: noarch |
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
Requires: smeserver-mod_dav subversion >= 1.2 smeserver-release >= 7 mod_dav_svn httpd >= 2 |
23 |
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 |
* Sat Feb 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
30 |
- 1.4-0 |
31 |
- Removed skel folder should have been obsoleted since 1.2-8 [SME: 3079] |
32 |
- Implement read/write access for user(s) and group(s) [SME: 3964] |
33 |
- Removed leftover refferences to modAuthzSVN [SME: 3971] |
34 |
- Fixed incorrect dates in spec files changelog |
35 |
|
36 |
* Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
37 |
- 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 |
- 1.3-5 |
43 |
- Added italian (it) locale [SME: 3812] |
44 |
|
45 |
* Sat Jan 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
46 |
- 1.3-4 |
47 |
- Added german (de) locale [SME: 3813] |
48 |
|
49 |
* Sat Jan 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
50 |
- 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 |
* Fri Jan 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
56 |
- 1.3-2 |
57 |
- Allow auto-versioning by DAV clients (requires subversion >= 1.2) [SME: 3806] |
58 |
|
59 |
* 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 |
* 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 |
%setup |
157 |
%patch0 -p1 |
158 |
%patch1 -p1 |
159 |
%patch2 -p1 |
160 |
%patch3 -p1 |
161 |
%patch4 -p1 |
162 |
%patch5 -p1 |
163 |
%patch6 -p1 |
164 |
%patch7 -p1 |
165 |
%patch8 -p1 |
166 |
|
167 |
%build |
168 |
perl createlinks |
169 |
|
170 |
DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAVSVN |
171 |
mkdir -p $DEFAULTS |
172 |
|
173 |
echo "service" > $DEFAULTS/type |
174 |
echo "enabled" > $DEFAULTS/status |
175 |
|
176 |
DEFAULTS=root/etc/e-smith/db/configuration/defaults/maxRepositoryNameLength |
177 |
mkdir -p $DEFAULTS |
178 |
|
179 |
echo "31" > $DEFAULTS/type |
180 |
|
181 |
%install |
182 |
rm -rf $RPM_BUILD_ROOT |
183 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
184 |
rm -f %{name}-%{version}-filelist |
185 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
186 |
|
187 |
%clean |
188 |
rm -rf $RPM_BUILD_ROOT |
189 |
|
190 |
%pre |
191 |
true |
192 |
|
193 |
%post |
194 |
if [ "$1" = "1" ] ; then # first install |
195 |
# Expand the server-manager templates to add |
196 |
# references to the smeserver-subversion panel |
197 |
/sbin/e-smith/db configuration set modDAVSVN service status enabled |
198 |
/sbin/e-smith/db configuration set maxRepositoryNameLength 31 |
199 |
/sbin/e-smith/signal-event subversion-modify |
200 |
echo "Rebuilding server-manager (this can take a while) ..." |
201 |
/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
202 |
fi |
203 |
true |
204 |
|
205 |
%preun |
206 |
if [ "$1" = "0" ] ; then # last uninstall |
207 |
/sbin/e-smith/db configuration setprop modDAVSVN status disabled |
208 |
/sbin/e-smith/signal-event subversion-delete |
209 |
/sbin/e-smith/signal-event subversion-modify |
210 |
fi |
211 |
true |
212 |
|
213 |
%postun |
214 |
# Expand the server-manager templates to update/remove |
215 |
# references to the smeserver-subversion panel |
216 |
echo "Rebuilding server-manager (this can take a while) ..." |
217 |
/etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1 |
218 |
true |
219 |
|
220 |
%files -f %{name}-%{version}-filelist |
221 |
%defattr(-,root,root) |