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