/[smecontribs]/rpms/smeserver-subversion/contribs7/smeserver-subversion.spec
ViewVC logotype

Contents of /rpms/smeserver-subversion/contribs7/smeserver-subversion.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.13 - (show annotations) (download)
Sun Feb 24 16:04:08 2008 UTC (16 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-subversion-1_4-0_el4_sme
Changes since 1.12: +11 -5 lines
* Sat Feb 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
- 1.4-0
- Removed skel folder should have been obsoleted since 1.2-8 [SME: 3079]
- Implement read/write access for user(s) and group(s) [SME: 3964]
- Allow anonymous access [SME: 3976]
- Removed leftover refferences to modAuthzSVN [SME: 3971]
- Fixed incorrect dates in spec files changelog

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed