1 |
%define name smeserver-transmission |
2 |
%define version 0.0.1 |
3 |
%define release 9 |
4 |
Summary: transmission is a helpdesk system to download the SME Server iso |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
Distribution: SME Server |
9 |
License: GNU GPL version 2 |
10 |
Group: SMEserver/addon |
11 |
Source: smeserver-transmission-%{version}.tar.gz |
12 |
BuildArchitectures: noarch |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
14 |
BuildRequires: e-smith-devtools |
15 |
Requires: e-smith-release >= 8.0 |
16 |
Requires: transmission >= 2.70 |
17 |
AutoReqProv: no |
18 |
|
19 |
%description |
20 |
transmission is an application adapted as a contrib for SMEserver, to help the seeding of the SME Server CDROM ISO. |
21 |
|
22 |
%changelog |
23 |
* Sun Nov 17 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-9 |
24 |
- add folder /var/lib/transmission/Downloads to avoid log errors |
25 |
- add a db command to choose the location of transmission download folder |
26 |
* Sat Nov 16 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-6 |
27 |
- final release |
28 |
* Fri Nov 15 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-3 |
29 |
- Modified smeserver templates (settings.json,61transmission-reverse-proxy) |
30 |
- Add a web folder to download torrent https://sme-ip/transmission-dl |
31 |
* Tue Nov 12 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.12 |
32 |
- The work continue |
33 |
* Sat Nov 09 2013 CONTRIB MAKER <tests@pialasse.com> 0.0.1-1.sme |
34 |
- initial release |
35 |
- builds from unchanged .tar.gz |
36 |
|
37 |
%prep |
38 |
%setup |
39 |
|
40 |
%build |
41 |
perl createlinks |
42 |
|
43 |
%install |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
46 |
rm -f %{name}-%{version}-filelist |
47 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
48 |
> %{name}-%{version}-filelist |
49 |
|
50 |
%clean |
51 |
rm -rf $RPM_BUILD_ROOT |
52 |
|
53 |
%files -f %{name}-%{version}-filelist |
54 |
%defattr(-,root,root) |
55 |
|
56 |
%pre |
57 |
|
58 |
%post |
59 |
|
60 |
|
61 |
|