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