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