1 |
jpp |
1.1 |
%define name smeserver-mediatomb |
2 |
|
|
%define version 1.0 |
3 |
jpp |
1.3 |
%define release 2 |
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.1 |
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 |
jpp |
1.3 |
* 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 |
jpp |
1.1 |
* Sun Mar 18 2018 CONTRIB MAKER <tests@pialasse.com> 1-1.sme |
34 |
|
|
- initial release |
35 |
jpp |
1.2 |
- builds from initial .tar.gz |
36 |
jpp |
1.1 |
|
37 |
|
|
%prep |
38 |
|
|
%setup |
39 |
jpp |
1.3 |
%patch0 -p1 |
40 |
jpp |
1.1 |
|
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 |
|
|
|