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