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