/[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.14 - (show annotations) (download)
Sun Feb 24 22:35:47 2008 UTC (16 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-subversion-1_4-1_el4_sme
Changes since 1.13: +7 -1 lines
* Sun Feb 24 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
- 1.4-1
- Removed font tag in locale files [SME: 3977]

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

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