/[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.10 - (show annotations) (download)
Thu Feb 7 21:09:17 2008 UTC (16 years, 8 months ago) by snetram
Branch: MAIN
Changes since 1.9: +2 -0 lines
* Sat Jan 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
- 1.3-7
- Removed leftover refferences to modAuthzSVN
- Removed skel folder should have been obsoleted since 1.2-8 [SME: 3079]

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

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