1 |
%define name smeserver-mediatomb |
2 |
%define version 1.0 |
3 |
%define release 8 |
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 |
Patch3: smeserver-mediatomb-1.0-bz10546-EOL.patch |
16 |
Patch4: smeserver-mediatomb-1.0-bz10568.actions.patch |
17 |
Patch5: smeserver-mediatomb-1.0-bz10546-expand-templates_fixes.patch |
18 |
Patch6: smeserver-mediatomb-1.0-bz10569-autoscandir.patch |
19 |
BuildArchitectures: noarch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
21 |
BuildRequires: e-smith-devtools |
22 |
Requires: e-smith-release >= 9.0 |
23 |
Requires: mediatomb |
24 |
Requires: vlc-core |
25 |
Requires: libupnp |
26 |
Requires: libdlna |
27 |
Requires: libextractor |
28 |
Requires: perl-File-LibMagic |
29 |
Requires: vorbis-tools |
30 |
AutoReqProv: no |
31 |
|
32 |
%description |
33 |
mediatomb is an application adapted as a contrib for SMEserver |
34 |
|
35 |
%changelog |
36 |
* Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-8.sme |
37 |
- add dynamic template for autoscandir [SME: 10569] |
38 |
|
39 |
* Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-7.sme |
40 |
- fix wrong path to file to expand [SME: 10546] |
41 |
|
42 |
* Fri Apr 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-6.sme |
43 |
- fix wrong script path [SME: 10568] |
44 |
|
45 |
* Tue Mar 27 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-5.sme |
46 |
- fix warning on db init [SME: 10546] |
47 |
|
48 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme |
49 |
- add requires vorbis |
50 |
- replace restart in conf-mediatomb by an action that also trigger mysql db creation |
51 |
|
52 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme |
53 |
- fix few templates issues |
54 |
|
55 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme |
56 |
- added proxypass to /mediatomb |
57 |
- added port 50500 to TCCPort |
58 |
|
59 |
* Sun Mar 18 2018 CONTRIB MAKER <tests@pialasse.com> 1-1.sme |
60 |
- initial release |
61 |
- builds from initial .tar.gz |
62 |
|
63 |
%prep |
64 |
%setup |
65 |
%patch0 -p1 |
66 |
%patch1 -p1 |
67 |
%patch2 -p1 |
68 |
%patch3 -p1 |
69 |
%patch4 -p1 |
70 |
%patch5 -p1 |
71 |
%patch6 -p1 |
72 |
|
73 |
%build |
74 |
perl createlinks |
75 |
|
76 |
%install |
77 |
rm -rf $RPM_BUILD_ROOT |
78 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
79 |
rm -f %{name}-%{version}-filelist |
80 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
81 |
> %{name}-%{version}-filelist |
82 |
|
83 |
%clean |
84 |
rm -rf $RPM_BUILD_ROOT |
85 |
|
86 |
%files -f %{name}-%{version}-filelist |
87 |
%defattr(-,root,root) |
88 |
|
89 |
|