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