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