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