/[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.4 - (show annotations) (download)
Sat Jan 26 19:44:47 2008 UTC (16 years, 4 months ago) by snetram
Branch: MAIN
Changes since 1.3: +16 -3 lines
%changelog
* Sat Jan 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
- 1.3-3
- DESCRIPTION_HAS_INVALID_CHARS is not translated in en-us locale [SME: 3694]
- Fixed missing translations for available locale created by
  features implemented by 1.3-2 [SME: 3811]

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

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