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