2024-01-06 07:09:41 +01:00
|
|
|
Name: minidlna
|
2024-01-06 07:09:41 +01:00
|
|
|
Version: 1.3.0
|
2024-01-06 07:09:41 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 07:09:41 +01:00
|
|
|
Summary: A simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://sourceforge.net/projects/minidlna/
|
|
|
|
Source: https://downloads.sourceforge.net/project/minidlna/minidlna/%{version}/minidlna-%{version}.tar.gz
|
2024-01-06 07:09:41 +01:00
|
|
|
Source1: minidlna.service
|
|
|
|
Source2: minidlna.sysusers
|
|
|
|
Source3: minidlna.tmpfiles
|
2024-01-06 07:09:41 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 07:09:41 +01:00
|
|
|
BuildRequires: ldconfig
|
|
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
2024-01-06 07:09:41 +01:00
|
|
|
BuildRequires: libavformat-ffmpeg-devel
|
|
|
|
BuildRequires: libavutil-ffmpeg-devel
|
|
|
|
BuildRequires: libexif-devel
|
|
|
|
BuildRequires: libflac-devel
|
|
|
|
BuildRequires: libid3tag-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
2024-01-06 07:09:41 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 07:09:41 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:09:41 +01:00
|
|
|
%systemd_requires
|
2024-01-06 07:09:41 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients. It is developed by a NETGEAR employee for the ReadyNAS product line.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2024-01-06 07:09:41 +01:00
|
|
|
|
2024-01-06 07:09:41 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 07:09:41 +01:00
|
|
|
install -Dm644 minidlna.conf %{buildroot}%{_sysconfdir}/minidlna.conf
|
|
|
|
install -Dm0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/minidlna.conf
|
|
|
|
install -Dm0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/minidlna.conf
|
|
|
|
install -Dm0644 %{SOURCE1} %{buildroot}%{_unitdir}/minidlna.service
|
|
|
|
install -Dm644 minidlna.conf.5 %{buildroot}%{_mandir}/man5/minidlna.conf.5
|
|
|
|
install -Dm644 minidlnad.8 %{buildroot}%{_mandir}/man8/minidlnad.8
|
|
|
|
|
2024-01-06 07:09:41 +01:00
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
2024-01-06 07:09:41 +01:00
|
|
|
%pre
|
|
|
|
%sysusers_create_package minidlna %{SOURCE2}
|
|
|
|
%tmpfiles_create_package minidlna %{SOURCE3}
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post minidlna
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun minidlna
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart minidlna
|
|
|
|
:
|
|
|
|
|
2024-01-06 07:09:41 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:09:41 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/minidlna.conf
|
2024-01-06 07:09:41 +01:00
|
|
|
%{_sbindir}/minidlnad
|
2024-01-06 07:09:41 +01:00
|
|
|
%{_unitdir}/minidlna.service
|
|
|
|
%{_sysusersdir}/minidlna.conf
|
|
|
|
%{_tmpfilesdir}/minidlna.conf
|
|
|
|
%{_mandir}/man5/minidlna.conf.5*
|
|
|
|
%{_mandir}/man8/minidlnad.8*
|
2024-01-06 07:09:41 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:09:41 +01:00
|
|
|
* Fri Feb 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
|
|
|
|
- install configuration files, systemd service, man pages
|
|
|
|
|
2024-01-06 07:09:41 +01:00
|
|
|
* Sat Nov 28 2020 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:09:41 +01:00
|
|
|
* Mon Oct 02 2017 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:09:41 +01:00
|
|
|
* Mon Aug 14 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- package created using the webbuild interface
|