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