mirror of
https://abf.rosa.ru/djam/minidlna.git
synced 2025-02-23 15:12:53 +00:00
104 lines
3.3 KiB
RPMSpec
104 lines
3.3 KiB
RPMSpec
![]() |
Name: minidlna
|
||
|
Version: 1.0.20
|
||
|
Release: %mkrel 1
|
||
|
Summary: A DLNA/UPnP-AV compliant media server
|
||
|
URL: http://sourceforge.net/projects/minidlna/
|
||
|
Group: Networking/Other
|
||
|
License: GPL
|
||
|
Source: minidlna_%{version}_src.tar.gz
|
||
|
Source1: initscript
|
||
|
Source2: minidlna.conf
|
||
|
Source3: minidlna.1
|
||
|
Source4: minidlna.conf.5
|
||
|
# Local patches
|
||
|
# Selected patches from development tree
|
||
|
#Patch100:
|
||
|
# Selected patches from upstream patch tracker
|
||
|
#Patch200:
|
||
|
BuildRequires: libflac-devel libid3tag-devel libexif-devel libjpeg-devel
|
||
|
BuildRequires: libsqlite3-devel libffmpeg-devel libvorbis-devel
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully
|
||
|
compliant with DLNA/UPnP-AV clients. MiniDLNA serves multimedia content
|
||
|
such as music, video and pictures to compatible clients on the network.
|
||
|
|
||
|
See http://www.upnp.org/ for more details on UPnP
|
||
|
and http://www.dlna.org/ for mode details on DLNA.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
./genconfig.sh
|
||
|
sed -i -e 's!^\(#define OS_NAME\).*!\1 "%{product_vendor}"!
|
||
|
s!^\(#define OS_VERSION\).*!\1 "%{product_version}"!
|
||
|
s!^\(#define OS_URL\).*!\1 "http://www.mandriva.com/"!
|
||
|
s!^\(#define DEFAULT_DB_PATH\).*!\1 "/var/cache/%{name}"!
|
||
|
s!^\(#define DEFAULT_LOG_PATH\).*!\1 "/var/log"!' config.h
|
||
|
|
||
|
%build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
rm -rf %{buildroot}
|
||
|
install -m 755 -D %{_sourcedir}/initscript %{buildroot}%{_initrddir}/minidlna
|
||
|
install -m 644 -D %{_sourcedir}/minidlna.conf \
|
||
|
%{buildroot}%{_sysconfdir}/minidlna.conf
|
||
|
install -m 755 -D minidlna %{buildroot}%{_sbindir}/minidlna
|
||
|
install -m 644 -D %{_sourcedir}/minidlna.1 \
|
||
|
%{buildroot}%{_mandir}/man1/minidlna.1
|
||
|
install -m 644 -D %{_sourcedir}/minidlna.conf.5 \
|
||
|
%{buildroot}%{_mandir}/man5/minidlna.conf.5
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%post
|
||
|
%_post_service minidlna
|
||
|
|
||
|
%preun
|
||
|
%_preun_service minidlna
|
||
|
|
||
|
%files
|
||
|
%defattr(0644,root,root,0755)
|
||
|
%doc README
|
||
|
%attr(755,-,-) %{_sbindir}/minidlna
|
||
|
%attr(755,-,-) %{_initrddir}/minidlna
|
||
|
%config(noreplace) %{_sysconfdir}/minidlna.conf
|
||
|
%{_mandir}/man1/minidlna.1*
|
||
|
%{_mandir}/man5/minidlna.conf.5*
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jul 04 2011 Claudio Matsuoka <claudio@mandriva.com> 1.0.20-1mdv2011.0
|
||
|
+ Revision: 688671
|
||
|
- new upstream release 1.0.20
|
||
|
* Fix a crash bug when scanning MPEG-TS files with odd packet sizes
|
||
|
* Fix AVI file streaming on Samsung A-Series TV's
|
||
|
* Improve support for the NETGEAR Digital Entertainer Live (EVA2000)
|
||
|
* Add support for multiple network interfaces
|
||
|
* Add subtitle support for LG TV's and Blu-Ray players
|
||
|
* Fix some minor coding issues found by cppcheck
|
||
|
* Add client adaptation support for Toshiba Regza TV's
|
||
|
* Send known audio-only devices straight to the Music section on root request
|
||
|
* Add client adaptation support for Roku SoundBridge audio clients
|
||
|
* Improve Sony client adaptation to allow support for more file types
|
||
|
* Add support for reading tags from MP4 video files with recent lavf versions
|
||
|
* Add support for Samsung's GetFeatureList method
|
||
|
|
||
|
* Wed Jan 26 2011 Claudio Matsuoka <claudio@mandriva.com> 1.0.18.2-3
|
||
|
+ Revision: 633000
|
||
|
- send to release repository
|
||
|
|
||
|
* Sun Jan 23 2011 Claudio Matsuoka <claudio@mandriva.com> 1.0.18.2-2
|
||
|
+ Revision: 632427
|
||
|
- apply upstream patch to specify log directory
|
||
|
- set configuration file as noreplace
|
||
|
- add manual pages written by Beno?\195?\174t Knecht for Debian
|
||
|
|
||
|
* Sat Jan 22 2011 Claudio Matsuoka <claudio@mandriva.com> 1.0.18.2-1
|
||
|
+ Revision: 632299
|
||
|
- imported package minidlna
|
||
|
|