1 |
# $Id: smeserver-subversion.spec,v 1.2 2012/06/13 20:24:42 snetram Exp $ |
2 |
# Authority: snetram |
3 |
# Name: Jonathan Martens |
4 |
|
5 |
Summary: Subversion for SME Server |
6 |
%define name smeserver-subversion |
7 |
Name: %{name} |
8 |
%define version 1.5 |
9 |
%define release 3 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/Internet |
14 |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-subversion-1.5-locale-2012-06-13.patch |
16 |
Patch1: smeserver-subversion-1.5-prevent-empty-description.patch |
17 |
Patch2: smeserver-subversion-1.5-pwauth-32-or-64-bit.patch |
18 |
BuildArchitectures: noarch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
Requires: smeserver-mod_dav subversion >= 1.2 |
21 |
Requires: smeserver-release >= 8 |
22 |
Requires: mod_dav_svn httpd >= 2 |
23 |
Requires: e-smith-formmagick >= 1.4.0-12 |
24 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
|
26 |
%description |
27 |
Implementation of Subversion for SME Server 8 using WebDAV. |
28 |
|
29 |
%changelog |
30 |
* Fri Sep 7 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.5-3.sme |
31 |
- Fix location of pwauth on 64 bit systems [SME: 7093] |
32 |
|
33 |
* Wed Jun 13 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.5-2.sme |
34 |
- Prevent empty description [SME: 6988] |
35 |
- Apply latest locale patch |
36 |
|
37 |
* Sat May 26 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.5-1.sme |
38 |
- Initial version |
39 |
|
40 |
%prep |
41 |
%setup |
42 |
%patch0 -p1 |
43 |
%patch1 -p1 |
44 |
%patch2 -p1 |
45 |
|
46 |
%build |
47 |
perl createlinks |
48 |
|
49 |
%install |
50 |
rm -rf $RPM_BUILD_ROOT |
51 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
52 |
rm -f %{name}-%{version}-filelist |
53 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
54 |
|
55 |
%clean |
56 |
rm -rf $RPM_BUILD_ROOT |
57 |
|
58 |
%files -f %{name}-%{version}-filelist |
59 |
%defattr(-,root,root) |