source: projects/specs/trunk/nonfree/self-build-minidlna/self-build-minidlna-vl.spec @ 11755

Revision 11755, 5.0 KB checked in by iwaim, 6 years ago (diff)

self-build-minidlna 1.2.1-3

Line 
1# Basic Information
2%define pkgname minidlna
3%define name    self-build-%{pkgname}
4%define version 1.2.1
5%define release 3%{?_dist_release}
6
7%define sourceurl0 http://sourceforge.net/projects/%{pkgname}/files/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
8
9Name:           %{name}
10Version:        %{version}
11Release:        %{release}
12# COPYING  などを参照して License を修正してください。
13License:        GPLv2+
14# /usr/share/doc/rpm-4.11.1/GROUPS_for_vine.txt を参照して Group を修正してください。
15Group:          Restricted Software
16Source0:        %{pkgname}-vl.spec
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildArch:      noarch
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       Shirow HIGA, iwaim
23
24Summary:        Package to automatically build %{pkgname} rpm package
25Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
26
27Obsoletes:      minidlna < %{version}
28Obsoletes:      self-build-minidlna < %{version}
29
30# Dependency
31# 以下に依存関係を記述してください 。
32Requires(post): self-build-setup >= 0.9.9
33
34Requires(post): libuuid-devel
35Requires(post): sqlite3-devel
36Requires(post): libvorbis-devel
37Requires(post): flac-devel
38Requires(post): libid3tag-devel
39Requires(post): libjpeg-turbo-devel
40Requires(post): libexif-devel
41Requires(post): gettext-devel
42
43Requires(post): self-build-ffmpeg
44Requires(post): self-build-ffmpegthumbnailer
45
46#追加のソースファイル
47Source1:        minidlna.init.d.script
48Source2:        minidlna.icons.c.custom
49#Source3:       minidlna_configure_v113.patch
50#Source4:       minidlna_make_v116.patch
51Source5:        minidlna_video_thumbnail_v121.patch
52#Source6:       minidlna_bravia_v116.patch
53
54%description
55MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully
56compliant with DLNA/UPnP-AV clients.
57
58The minidlna daemon serves media files (music, pictures, and video) to
59clients on your network.  Example clients include applications such as
60Totem and XBMC, and devices such as portable media players, smartphones,
61and televisions.
62
63[Note]
64This package requires many other packages to compile
65targetsoftware. So it consume more disk space than usual.
66
67Also installation takes logner time because of compilation.
68(This will take a few minutes to quarter or half of an hour,
69depends on building environment)
70
71[About self-build package]
72For some kind of software, distributing of binary package
73
74may viorate the patent or law. Therefore we chose self-build
75packge, create binary package on your machine, for such kind
76of softwares instead of distributing binary package.
77
78Please obey the national law when you use the created binary
79packages. And if you want to use the softwares using patented
80thechnology, it may be required to get a permission, make an
81agreement or purchas a license. Please consider it with your
82purpose or way of use and take appropriate action.
83
84#%description -l ja
85#ここに日本語で詳細を記述してください。
86
87%prep
88[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
89
90%install
91%{__rm} -rf ${RPM_BUILD_ROOT}
92%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
93%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
94%{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
95%{__install} -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
96#%{__install} -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
97#%{__install} -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
98%{__install} -m 644 %{SOURCE5} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
99#%{__install} -m 644 %{SOURCE6} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
100
101%clean
102%{__rm} -rf ${RPM_BUILD_ROOT}
103
104%posttrans
105/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl0} 34000
106
107/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release}
108
109%files
110%defattr(-,root,root)
111%{_datadir}/%{name}
112
113%changelog
114* Sat Jul 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.2.1-3
115- add Packager
116- update Requires(post)
117- update init.d script (Source1)
118
119* Tue Apr 24 2018 Shirow HIGA <shirowxxx@gmail.com> 1.2.1-2
120- Rebuild with ffmpeg 4.0
121
122* Fri Sep 15 2017 Shirow HIGA <shirowxxx@gmail.com> 1.2.1-1
123- new upstream release 1.2.1
124- Update Source5 (minidlna_video_thumbnail_v120.patch -> minidlna_video_thumbnail_v121.patch)
125
126* Fri May 26 2017 Shirow HIGA <shirowxxx@gmail.com> 1.2.0-1
127- new upstream release 1.2.0
128- Update Source5 (minidlna_video_thumbnail_v116.patch -> minidlna_video_thumbnail_v120.patch)
129
130* Sun Jan 22 2017 Shirow HIGA <shirowxxx@gmail.com> 1.1.6-3
131- Remove Source3 (minidlna_configure_v113.patch)
132- Remove Source4 (minidlna_make_v116.patch)
133- Remove Source6 (minidlna_bravia_v116.patch)
134
135* Mon Sep 19 2016 Shirow HIGA <shirowxxx@gmail.com> 1.1.6-2
136- add new Source6 (minidlna_bravia_v116.patch)
137
138* Mon Sep 12 2016 Shirow HIGA <shirowxxx@gmail.com> 1.1.6-1
139- new upstream release 1.1.6
140
141* Mon Sep 14 2015 Shirow HIGA <shirowxxx@gmail.com> 1.1.5-1
142- new upstream release 1.1.5
143
144* Thu Jan 15 2015 Shirow HIGA <shirowxxx@gmail.com> 1.1.4-1
145- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.