1 |
%define name smeserver-transmission |
2 |
%define version 0.0.3 |
3 |
%define release 1 |
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 |
#Patch0: smeserver-transmission-0.0.1_set_admin_user_and_64_version.patch |
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 |
* Fri Dec 27 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.3-1 |
24 |
- corrected array issues in templated configuration files [SME: 8749] |
25 |
- corrected the path of unixgroup to /usr/bin/unixgroup |
26 |
|
27 |
* Mon May 12 2014 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.2-1 |
28 |
- removed the post-upgrade from template2expand |
29 |
|
30 |
* Sun Nov 17 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-9 |
31 |
- add folder /var/lib/transmission/Downloads to avoid log errors |
32 |
- add a db command to choose the location of transmission download folder |
33 |
* Sat Nov 16 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-6 |
34 |
- final release |
35 |
* Fri Nov 15 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-3 |
36 |
- Modified smeserver templates (settings.json,61transmission-reverse-proxy) |
37 |
- Add a web folder to download torrent https://sme-ip/transmission-dl |
38 |
* Tue Nov 12 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.12 |
39 |
- The work continue |
40 |
* Sat Nov 09 2013 CONTRIB MAKER <tests@pialasse.com> 0.0.1-1.sme |
41 |
- initial release |
42 |
- builds from unchanged .tar.gz |
43 |
|
44 |
%prep |
45 |
%setup |
46 |
#%patch0 -p1 |
47 |
%build |
48 |
perl createlinks |
49 |
|
50 |
%install |
51 |
rm -rf $RPM_BUILD_ROOT |
52 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
53 |
rm -f %{name}-%{version}-filelist |
54 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
55 |
> %{name}-%{version}-filelist |
56 |
|
57 |
%clean |
58 |
rm -rf $RPM_BUILD_ROOT |
59 |
|
60 |
%files -f %{name}-%{version}-filelist |
61 |
%defattr(-,root,root) |
62 |
|
63 |
%pre |
64 |
|
65 |
%post |
66 |
|
67 |
|
68 |
|