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