1 |
%define name smeserver-mediatomb |
2 |
%define version 1.0 |
3 |
%define release 3 |
4 |
Summary: mediatomb is a helpdesk system |
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-mediatomb-%{version}.tar.gz |
12 |
Patch0: smeserver-mediatomb-1.0-port_proxypass.patch |
13 |
Patch1: smeserver-mediatomb-1.0-templates_fixes.patch |
14 |
BuildArchitectures: noarch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 9.0 |
18 |
Requires: mediatomb |
19 |
Requires: vlc-core |
20 |
Requires: libupnp |
21 |
Requires: libdlna |
22 |
Requires: libextractor |
23 |
Requires: perl-File-LibMagic |
24 |
AutoReqProv: no |
25 |
|
26 |
%description |
27 |
mediatomb is an application adapted as a contrib for SMEserver |
28 |
|
29 |
%changelog |
30 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme |
31 |
- fix few templates issues |
32 |
|
33 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme |
34 |
- added proxypass to /mediatomb |
35 |
- added port 50500 to TCCPort |
36 |
|
37 |
* Sun Mar 18 2018 CONTRIB MAKER <tests@pialasse.com> 1-1.sme |
38 |
- initial release |
39 |
- builds from initial .tar.gz |
40 |
|
41 |
%prep |
42 |
%setup |
43 |
%patch0 -p1 |
44 |
|
45 |
%build |
46 |
perl createlinks |
47 |
|
48 |
%install |
49 |
rm -rf $RPM_BUILD_ROOT |
50 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
51 |
rm -f %{name}-%{version}-filelist |
52 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
53 |
> %{name}-%{version}-filelist |
54 |
|
55 |
%clean |
56 |
rm -rf $RPM_BUILD_ROOT |
57 |
|
58 |
%files -f %{name}-%{version}-filelist |
59 |
%defattr(-,root,root) |
60 |
|
61 |
|