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