/[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.6 - (show annotations) (download)
Sat Jan 26 21:46:21 2008 UTC (16 years, 9 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-subversion-1_3-4_el4_sme
Changes since 1.5: +7 -1 lines
make: `clog' is up to date.

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

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