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