1 |
%define name smeserver-mediatomb |
2 |
%define version 1.0 |
3 |
%define release 4 |
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 |
Requires: vorbis-tools |
25 |
AutoReqProv: no |
26 |
|
27 |
%description |
28 |
mediatomb is an application adapted as a contrib for SMEserver |
29 |
|
30 |
%changelog |
31 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme |
32 |
- add requires vorbis |
33 |
|
34 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme |
35 |
- fix few templates issues |
36 |
|
37 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme |
38 |
- added proxypass to /mediatomb |
39 |
- added port 50500 to TCCPort |
40 |
|
41 |
* Sun Mar 18 2018 CONTRIB MAKER <tests@pialasse.com> 1-1.sme |
42 |
- initial release |
43 |
- builds from initial .tar.gz |
44 |
|
45 |
%prep |
46 |
%setup |
47 |
%patch0 -p1 |
48 |
|
49 |
%build |
50 |
perl createlinks |
51 |
|
52 |
%install |
53 |
rm -rf $RPM_BUILD_ROOT |
54 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
55 |
rm -f %{name}-%{version}-filelist |
56 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
57 |
> %{name}-%{version}-filelist |
58 |
|
59 |
%clean |
60 |
rm -rf $RPM_BUILD_ROOT |
61 |
|
62 |
%files -f %{name}-%{version}-filelist |
63 |
%defattr(-,root,root) |
64 |
|
65 |
|