/[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.7 - (show annotations) (download)
Mon Jan 28 18:49:57 2008 UTC (16 years, 9 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-subversion-1_3-5_el4_sme
Changes since 1.6: +7 -1 lines
* Sat Jan 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
- 1.3-5
- Added italian (it) locale [SME: 3812]

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

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