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

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