1 |
jpp |
1.1 |
%define name smeserver-mediatomb |
2 |
|
|
%define version 1.0 |
3 |
jpp |
1.8 |
%define release 6 |
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.1 |
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 |
jpp |
1.5 |
Requires: vorbis-tools |
28 |
jpp |
1.1 |
AutoReqProv: no |
29 |
|
|
|
30 |
|
|
%description |
31 |
|
|
mediatomb is an application adapted as a contrib for SMEserver |
32 |
|
|
|
33 |
|
|
%changelog |
34 |
jpp |
1.8 |
* Fri Apr 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-6.sme |
35 |
|
|
- fix wrong script path [SME: 10568] |
36 |
|
|
|
37 |
jpp |
1.7 |
* Tue Mar 27 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-5.sme |
38 |
|
|
- fix warning on db init [SME: 10546] |
39 |
|
|
|
40 |
jpp |
1.5 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme |
41 |
|
|
- add requires vorbis |
42 |
jpp |
1.6 |
- replace restart in conf-mediatomb by an action that also trigger mysql db creation |
43 |
jpp |
1.5 |
|
44 |
jpp |
1.4 |
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme |
45 |
|
|
- fix few templates issues |
46 |
|
|
|
47 |
jpp |
1.3 |
* 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 |
jpp |
1.1 |
* Sun Mar 18 2018 CONTRIB MAKER <tests@pialasse.com> 1-1.sme |
52 |
|
|
- initial release |
53 |
jpp |
1.2 |
- builds from initial .tar.gz |
54 |
jpp |
1.1 |
|
55 |
|
|
%prep |
56 |
|
|
%setup |
57 |
jpp |
1.3 |
%patch0 -p1 |
58 |
jpp |
1.6 |
%patch1 -p1 |
59 |
|
|
%patch2 -p1 |
60 |
jpp |
1.7 |
%patch3 -p1 |
61 |
jpp |
1.8 |
%patch4 -p1 |
62 |
|
|
rmdir root/etc/e-smith/events/action |
63 |
jpp |
1.1 |
|
64 |
|
|
%build |
65 |
|
|
perl createlinks |
66 |
|
|
|
67 |
|
|
%install |
68 |
|
|
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
70 |
|
|
rm -f %{name}-%{version}-filelist |
71 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
72 |
|
|
> %{name}-%{version}-filelist |
73 |
|
|
|
74 |
|
|
%clean |
75 |
|
|
rm -rf $RPM_BUILD_ROOT |
76 |
|
|
|
77 |
|
|
%files -f %{name}-%{version}-filelist |
78 |
|
|
%defattr(-,root,root) |
79 |
|
|
|
80 |
|
|
|