|
@@ -1,7 +1,7 @@
|
|
|
# Basic Information
|
|
|
Name: minidlna
|
|
|
Version: 1.2.1
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Release: 3%{?_dist_release}
|
|
|
# COPYING などを参照して License を修正してください。
|
|
|
License: GPLv2
|
|
|
# /usr/share/doc/rpm-4.11.1/GROUPS_for_vine.txt を参照して Group を修正してください。
|
|
@@ -12,7 +12,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
-Packager: Shirow HIGA
|
|
|
+Packager: Shirow HIGA, iwaim
|
|
|
|
|
|
Summary: Lightweight DLNA/UPnP-AV server targeted at embedded systems
|
|
|
#Summary(ja): ここに日本語で概要を記述してください。
|
|
@@ -20,7 +20,6 @@ Summary: Lightweight DLNA/UPnP-AV server targeted at embedded systems
|
|
|
# Dependency
|
|
|
# 以下に依存関係を記述してください 。
|
|
|
BuildRequires: libuuid-devel
|
|
|
-BuildRequires: ffmpeg-devel
|
|
|
BuildRequires: sqlite3-devel
|
|
|
BuildRequires: libvorbis-devel
|
|
|
BuildRequires: flac-devel
|
|
@@ -28,7 +27,10 @@ BuildRequires: libid3tag-devel
|
|
|
BuildRequires: libjpeg-turbo-devel
|
|
|
BuildRequires: libexif-devel
|
|
|
BuildRequires: gettext-devel
|
|
|
-BuildRequires: ffmpegthumbnailer-devel
|
|
|
+## *-devel pacages provided by other self-build-* should only be listed
|
|
|
+## in self-build-%{name}.spec
|
|
|
+#BuildRequires: ffmpeg-devel
|
|
|
+#BuildRequires: ffmpegthumbnailer-devel
|
|
|
|
|
|
Requires: ffmpegthumbnailer
|
|
|
|
|
@@ -69,7 +71,6 @@ sed -i.bak \
|
|
|
-e "s|^#network_interface=eth0|network_interface=eth0|" \
|
|
|
-e "s|^#db_dir=/var/cache/minidlna|db_dir=/var/cache/minidlna|" \
|
|
|
-e "s|^#log_dir=/var/log|log_dir=/var/log/minidlna|" \
|
|
|
- -e "s|^notify_interval=900|notify_interval=2|" \
|
|
|
minidlna.conf
|
|
|
|
|
|
sed -i.bak \
|
|
@@ -112,7 +113,6 @@ install -p -m 644 minidlna.conf %{buildroot}%{_sysconfdir}/minidlna/minidlna.con
|
|
|
# Install init.d file
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/init.d
|
|
|
install -p -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/minidlna
|
|
|
-%find_lang %{name}
|
|
|
|
|
|
# Install man pages
|
|
|
mkdir -p %{buildroot}%{_mandir}/man5
|
|
@@ -126,6 +126,8 @@ install -d -m 0755 %{buildroot}%{_localstatedir}/cache/%{name}/
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log
|
|
|
install -d -m 0755 %{buildroot}%{_localstatedir}/log/%{name}/
|
|
|
|
|
|
+%find_lang %{name}
|
|
|
+
|
|
|
%clean
|
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
@@ -150,6 +152,7 @@ fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
+%doc AUTHORS COPYING LICENCE.miniupnpd ChangeLog NEWS README TODO
|
|
|
%config(noreplace) %{_sysconfdir}/minidlna/minidlna.conf
|
|
|
%{_sysconfdir}/init.d/minidlna
|
|
|
%{_sbindir}/minidlnad
|
|
@@ -158,10 +161,14 @@ fi
|
|
|
%{_localstatedir}/cache/%{name}/
|
|
|
%{_localstatedir}/log/%{name}/
|
|
|
#%{_datadir}/minidlna/icons/*
|
|
|
-%doc AUTHORS COPYING LICENCE.miniupnpd ChangeLog NEWS README TODO
|
|
|
|
|
|
%changelog
|
|
|
-* Thu Apr 24 2018 Shirow HIGA <shirowxxx@gmail.com> 1.2.1-2
|
|
|
+* Sun Jun 17 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.2.1-3
|
|
|
+- add Packager
|
|
|
+- update BuildRequires
|
|
|
+- stop updating 'notify_interval' configuration
|
|
|
+
|
|
|
+* Tue Apr 24 2018 Shirow HIGA <shirowxxx@gmail.com> 1.2.1-2
|
|
|
- Rebuild with ffmpeg 4.0
|
|
|
|
|
|
* Fri Sep 15 2017 Shirow HIGA <shirowxxx@gmail.com> 1.2.1-1
|