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