source: projects/specs/trunk/m/mediainfo/mediainfo-vl.spec @ 10581

Revision 10581, 9.7 KB checked in by Takemikaduchi, 8 years ago (diff)

xlockmore: new upstream release
others: rebuild with gcc-5.4.0

Line 
1# Copyright (c) 2007-2008 oc2pus
2# This file and all modifications and additions to the pristine
3# package are under the same license as the package itself.
4#
5# Please submit bugfixes or comments to toni@links2linux.de
6#
7# *** This spec is modified for Vine Linux ***
8
9# norootforbuild
10##
11
12%define _prefix /usr
13
14Name:           mediainfo
15Version:        0.7.73
16Release:        2%{?_dist_release}
17Summary:        Supplies technical and tag information about a video or audio file
18Group:          Applications/Multimedia
19License:        BSD
20URL:            http://mediainfo.sourceforge.net/
21Source0:        http://mediaarea.net/download/source/mediainfo/0.7.73/mediainfo_%{version}.tar.bz2
22
23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24BuildRequires:  nkf
25
26BuildRequires: gcc-c++
27BuildRequires: libmediainfo-devel
28BuildRequires: libzen-devel
29BuildRequires: pkgconfig
30BuildRequires: wxGTK-devel
31BuildRequires: zlib-devel
32%if 0%{?suse_version}
33BuildRequires:  update-desktop-files
34%endif
35
36Requires:       libzen
37Requires:       libmediainfo
38
39Packager:       babasaki
40
41%description
42MediaInfo supplies technical and tag information about a video or
43audio file.
44
45What information can I get from MediaInfo?
46 * General - title, author, director, album, track number, date, duration...
47 * Video - codec, aspect, fps, bitrate...
48 * Audio - codec, sample rate, channels, language, bitrate...
49 * Text - language of subtitle
50 * Chapters - number of chapters, list of chapters
51
52DivX, XviD, H263, H.263, H264, x264, ASP, AVC, iTunes, MPEG-1,
53MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V, QuickTime,
54RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2, MSMPEG4v3,
55VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2
56
57What format (container) does MediaInfo support?
58 * Video - MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1,
59      MPEG-2, MPEG-4, DVD (VOB) (Codecs - DivX, XviD, MSMPEG4, ASP,
60      H.264, AVC...)
61 * Audio - OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF
62 * Subtitles - SRT, SSA, ASS, SAMI
63
64%description -l ja
65MediaInfo はビデオとオーディオファイルの詳細な情報を提供します。
66
67MediaInfo で確認できる情報:
68 * 全般 - タイトル、作者、ディレクター、アルバム、トラック番号、
69      日付、時間...
70 * ビデオ - codec、アスペクト比、フレームレート、ビットレート...
71 * オーディオ - codec、サンプリングレート、チャンネル数、言語、
72      ビットレート...
73 * テキスト - 字幕の言語
74 * チャプター - チャプター数、チャプターの一覧
75
76DivX, XviD, H263, H.263, H264, x264, ASP, AVC, iTunes, MPEG-1,
77MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V, QuickTime,
78RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2, MSMPEG4v3,
79VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2
80
81MediaInfo がサポートするフォーマット:
82 * ビデオ - MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1,
83      MPEG-2, MPEG-4, DVD (VOB) (Codec - DivX, XviD, MSMPEG4, ASP,
84      H.264, AVC...)
85 * オーディオ - OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF
86 * 字幕 - SRT, SSA, ASS, SAMI
87
88%package gui
89Summary:        GUI for mediainfo
90Summary(ja):    Mediainfo 用の GUI
91Group:          Applications/Multimedia
92
93%description gui
94This package contains a Frontend for mediainfo.
95
96MediaInfo supplies technical and tag information about a video or
97audio file.
98
99What information can I get from MediaInfo?
100 * General - title, author, director, album, track number, date, duration...
101 * Video - codec, aspect, fps, bitrate...
102 * Audio - codec, sample rate, channels, language, bitrate...
103 * Text - language of subtitle
104 * Chapters - number of chapters, list of chapters
105
106DivX, XviD, H263, H.263, H264, x264, ASP, AVC, iTunes, MPEG-1,
107MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V, QuickTime,
108RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2, MSMPEG4v3,
109VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2
110
111What format (container) does MediaInfo support?
112 * Video - MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1,
113      MPEG-2, MPEG-4, DVD (VOB) (Codecs - DivX, XviD, MSMPEG4, ASP,
114      H.264, AVC...)
115 * Audio - OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF
116 * Subtitles - SRT, SSA, ASS, SAMI
117
118%description gui -l ja
119MediaInfo はビデオとオーディオファイルの詳細な情報を提供します。
120
121MediaInfo で確認できる情報:
122 * 全般 - タイトル、作者、ディレクター、アルバム、トラック番号、
123      日付、時間...
124 * ビデオ - codec、アスペクト比、フレームレート、ビットレート...
125 * オーディオ - codec、サンプリングレート、チャンネル数、言語、
126      ビットレート...
127 * テキスト - 字幕の言語
128 * チャプター - チャプター数、チャプターの一覧
129
130DivX, XviD, H263, H.263, H264, x264, ASP, AVC, iTunes, MPEG-1,
131MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V, QuickTime,
132RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2, MSMPEG4v3,
133VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2
134
135MediaInfo がサポートするフォーマット:
136 * ビデオ - MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1,
137      MPEG-2, MPEG-4, DVD (VOB) (Codec - DivX, XviD, MSMPEG4, ASP,
138      H.264, AVC...)
139 * オーディオ - OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF
140 * 字幕 - SRT, SSA, ASS, SAMI
141
142
143%prep
144%setup -q -n MediaInfo
145## dos2unix     *.html *.txt Release/*.txt
146nkf --unix --overwrite *.html *.txt Release/*.txt
147%__chmod 644 *.html *.txt Release/*.txt
148
149%build
150export CFLAGS="$RPM_OPT_FLAGS"
151export CXXFLAGS="$RPM_OPT_FLAGS"
152
153# build CLI
154pushd Project/GNU/CLI
155%__chmod +x autogen
156./autogen
157%configure
158
159%__make %{?jobs:-j%{jobs}}
160popd
161
162# now build GUI
163pushd Project/GNU/GUI
164%__chmod +x autogen
165./autogen
166### autoreconf -i
167%configure
168
169        %__make %{?jobs:-j%{jobs}}
170popd
171
172%install
173pushd Project/GNU/CLI
174        %__make install-strip DESTDIR=%{buildroot}
175popd
176
177pushd Project/GNU/GUI
178        %__make install-strip DESTDIR=%{buildroot}
179popd
180
181# icon
182%__install -dm 755 %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
183%__install -m 644 Source/Resource/Image/MediaInfo.png \
184        %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
185%__install -dm 755 %{buildroot}%{_datadir}/pixmaps
186%__install -m 644 Source/Resource/Image/MediaInfo.png \
187        %{buildroot}%{_datadir}/pixmaps/%{name}.png
188%__install -m 644 Source/Resource/Image/MediaInfo.png \
189        %{buildroot}%{_datadir}/pixmaps/%{name}-gui.png
190
191# menu-entry
192%__install -dm 755 %{buildroot}/%{_datadir}/applications
193%__install -m 644 Project/GNU/GUI/mediainfo-gui.desktop \
194        %{buildroot}/%{_datadir}/applications
195
196%if 0%{?suse_version}
197  %suse_update_desktop_file -n mediainfo-gui AudioVideo AudioVideoEditing
198%endif
199
200%__install -dm 755 %{buildroot}/%{_datadir}/apps/konqueror/servicemenus
201%__install -m 644 Project/GNU/GUI/mediainfo-gui.kde3.desktop \
202        %{buildroot}/%{_datadir}/apps/konqueror/servicemenus/mediainfo-gui.desktop
203%__install -dm 755 %{buildroot}/%{_datadir}/kde4/services/ServiceMenus/
204%__install -m 644 Project/GNU/GUI/mediainfo-gui.kde4.desktop \
205        %{buildroot}/%{_datadir}/kde4/services/ServiceMenus/mediainfo-gui.desktop
206
207%clean
208[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
209
210%files
211%defattr(-,root,root,-)
212%doc Release/ReadMe_CLI_Linux.txt
213%doc License.html History_CLI.txt
214%{_bindir}/mediainfo
215
216%files gui
217%defattr(-,root,root,-)
218%doc Release/ReadMe_GUI_Linux.txt
219%doc License.html History_GUI.txt
220%{_bindir}/mediainfo-gui
221%{_datadir}/appdata/mediainfo-gui.appdata.xml
222%{_datadir}/applications/*.desktop
223%{_datadir}/pixmaps/*.png
224%{_datadir}/icons/hicolor/128x128/apps/*.png
225%dir %{_datadir}/apps
226%dir %{_datadir}/apps/konqueror
227%dir %{_datadir}/apps/konqueror/servicemenus
228%{_datadir}/apps/konqueror/servicemenus/*.desktop
229%dir %{_datadir}/kde4
230%dir %{_datadir}/kde4/services
231%dir %{_datadir}/kde4/services/ServiceMenus
232%{_datadir}/kde4/services/ServiceMenus/*.desktop
233
234%changelog
235* Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.73-2
236- rebuild with gcc-5.4.0
237
238* Tue May 12 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.7.73-1
239- new upstream release
240- updated License to BSD
241
242* Mon Oct 14 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.64-1
243- new upstream release
244
245* Fri Mar 08 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.62-1
246- new upstream release
247
248* Sat Sep 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.60-1
249- new upstream release
250
251* Sun Jul 01 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.58-1
252- new upstream release
253- changed BuildRequires: wx-gtk2-devel to wxGTK-devel
254
255* Sun May 13 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.57-1
256- new upstream release
257
258* Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.52-1
259- new upstream release
260
261* Tue Sep 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.50-1
262- new upstream release
263
264* Fri Jul 15 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.47-1
265- new upstream release
266
267* Wed Jan 26 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.41-1
268- new upstream release
269
270* Sat Dec 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.38-1
271- new upstream release
272
273* Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.37-1
274- new upstream release
275
276* Fri Sep 10 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.35-1
277- new upstream release
278
279* Sun Jun 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.34-1
280- new upstream release
281
282* Wed Jun 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.33-1
283- new upstream release
284
285* Thu Oct 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.23-1
286- new upstream release
287
288* Mon Oct 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.22-1
289- new upstream release
290
291* Tue Jul 28 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7.19-1
292- new upstream release
293- change spec file name to mediainfo-vl.spec
294- add japanese summary and description
295- change group to Applications/Multimedia
296- add Packager tag
297
298* Thu Jan 01 2009 Jerome Martinez <zen@mediaarea.net> - 0.7.9-0
299- See History.txt for more info and real dates
300- Previous packages made by Toni Graffy <toni@links2linux.de>
Note: See TracBrowser for help on using the repository browser.