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