]> git.pld-linux.org Git - packages/mediainfo.git/blob - mediainfo.spec
- up to 0.7.67
[packages/mediainfo.git] / mediainfo.spec
1 Summary:        Supplies technical and tag information about a video or audio file (CLI)
2 Summary(pl.UTF-8):      Informacje techniczne i znaczniki dla plików wideo i dźwiękowych (CLI)
3 Name:           mediainfo
4 Version:        0.7.67
5 Release:        1
6 License:        LGPL v2+
7 Group:          Applications/Multimedia
8 Source0:        http://downloads.sourceforge.net/mediainfo/%{name}_%{version}.tar.bz2
9 # Source0-md5:  480ac31a4080737f21937f9d260b96de
10 Patch0:         wxWidgets3.patch
11 URL:            http://mediainfo.sourceforge.net/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  libmediainfo-devel >= %{version}
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool >= 2:1.5
17 BuildRequires:  libzen-devel
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpmbuild(macros) >= 1.566
20 BuildRequires:  sed >= 4.0
21 BuildRequires:  wxGTK2-unicode-devel >= 2.6.0
22 BuildRequires:  zlib-devel
23 Requires:       libmediainfo >= %{version}
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 MediaInfo CLI (Command Line Interface).
28
29 What information can I get from MediaInfo?
30 - General: title, author, director, album, track number, date,
31   duration...
32 - Video: codec, aspect, fps, bitrate...
33 - Audio: codec, sample rate, channels, language, bitrate...
34 - Text: language of subtitle
35 - Chapters: number of chapters, list of chapters
36
37 Supported files: DivX, XviD, H263, H.263, H264, x264, ASP, AVC,
38 iTunes, MPEG-1, MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V,
39 QuickTime, RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2,
40 MSMPEG4v3, VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2
41
42 Supported formats/containers:
43 - Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2,
44   MPEG-4, DVD (VOB) (Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
45 - Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF
46 - Subtitles: SRT, SSA, ASS, SAMI
47
48 %description -l pl.UTF-8
49 Program MediaInfo działający z linii poleceń (CLI).
50
51 Dostępne są informacje:
52 - ogólne: tytuł, autor, reżyser, album, numer ścieżki, data, czas
53   trwania...
54 - wideo: kodek, proporcje, liczba klatek na sekundę, pasmo...
55 - dźwięk: kodek, częstotliwość próbkowania, liczba kanałów, język,
56   pasmo...
57 - tekst: język napisów
58 - książki: liczba rozdziałów, ich lista
59
60 Obsługiwane pliki: DivX, XviD, H263, H.263, H264, x264, ASP, AVC,
61 iTunes, MPEG-1, MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V,
62 QuickTime, RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2,
63 MSMPEG4v3, VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2
64
65 Obsługiwane formaty/kontenery:
66 - wideo: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2,
67   MPEG-4, DVD (VOB) (kodeki: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
68 - dźwięk: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF
69 - napisy: SRT, SSA, ASS, SAMI
70
71 %package gui
72 Summary:        Supplies technical and tag information about a video or audio file (GUI)
73 Summary(pl.UTF-8):      Informacje techniczne i znaczniki dla plików wideo i dźwiękowych (GUI)
74 Group:          X11/Applications/Multimedia
75 Requires:       kde-common-dirs >= 0.5
76 Requires:       libmediainfo >= %{version}
77 Requires:       libzen >= 0.4.9
78 Requires:       wxGTK2-unicode >= 2.6.0
79
80 %description gui
81 MediaInfo (Graphical User Interface).
82
83 What information can I get from MediaInfo?
84 - General: title, author, director, album, track number, date,
85   duration...
86 - Video: codec, aspect, fps, bitrate...
87 - Audio: codec, sample rate, channels, language, bitrate...
88 - Text: language of subtitle
89 - Chapters: number of chapters, list of chapters
90
91 Supported files: DivX, XviD, H263, H.263, H264, x264, ASP, AVC,
92 iTunes, MPEG-1, MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V,
93 QuickTime, RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2,
94 MSMPEG4v3, VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2
95
96 Supported formats/containers:
97 - Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2,
98   MPEG-4, DVD (VOB) (Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
99 - Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF
100 - Subtitles: SRT, SSA, ASS, SAMI
101
102 %description gui -l pl.UTF-8
103 Program MediaInfo z graficznym interfejsem użytkownika (GUI).
104
105 Dostępne są informacje:
106 - ogólne: tytuł, autor, reżyser, album, numer ścieżki, data, czas
107   trwania...
108 - wideo: kodek, proporcje, liczba klatek na sekundę, pasmo...
109 - dźwięk: kodek, częstotliwość próbkowania, liczba kanałów, język,
110   pasmo...
111 - tekst: język napisów
112 - książki: liczba rozdziałów, ich lista
113
114 Obsługiwane pliki: DivX, XviD, H263, H.263, H264, x264, ASP, AVC,
115 iTunes, MPEG-1, MPEG1, MPEG-2, MPEG2, MPEG-4, MPEG4, MP4, M4A, M4V,
116 QuickTime, RealVideo, RealAudio, RA, RM, MSMPEG4v1, MSMPEG4v2,
117 MSMPEG4v3, VOB, DVD, WMA, VMW, ASF, 3GP, 3GPP, 3GP2
118
119 Obsługiwane formaty/kontenery:
120 - wideo: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2,
121   MPEG-4, DVD (VOB) (kodeki: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
122 - dźwięk: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF
123 - napisy: SRT, SSA, ASS, SAMI
124
125 %prep
126 %setup -q -n MediaInfo
127 #%patch0 -p1
128 %undos *.html *.txt Release/*.txt
129 chmod 644 *.html *.txt Release/*.txt
130
131 %build
132 # build CLI
133 cd Project/GNU/CLI
134 %{__libtoolize}
135 %{__aclocal}
136 %{__autoconf}
137 %{__automake}
138 %configure
139 %{__make}
140 # now build GUI
141 cd ../../../Project/GNU/GUI
142 %{__libtoolize}
143 %{__aclocal}
144 %{__autoconf}
145 %{__automake}
146 %configure \
147         --with-wx-config=%{_bindir}/wx-gtk2-unicode-config
148 %{__make}
149
150 %install
151 rm -rf $RPM_BUILD_ROOT
152
153 %{__make} -C Project/GNU/CLI install \
154         DESTDIR=$RPM_BUILD_ROOT
155
156 %{__make} -C Project/GNU/GUI install \
157         DESTDIR=$RPM_BUILD_ROOT
158
159 # icon
160 install -d $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
161 install Source/Resource/Image/MediaInfo.png \
162         $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
163 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
164 install Source/Resource/Image/MediaInfo.png \
165         $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
166
167 # menu-entry
168 install -d $RPM_BUILD_ROOT%{_desktopdir}
169 install Project/GNU/GUI/mediainfo-gui.desktop \
170         $RPM_BUILD_ROOT%{_desktopdir}
171 install -d $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus
172 install Project/GNU/GUI/mediainfo-gui.kde3.desktop \
173         $RPM_BUILD_ROOT/%{_datadir}/apps/konqueror/servicemenus/mediainfo-gui.desktop
174 install -d $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus
175 install Project/GNU/GUI/mediainfo-gui.kde4.desktop \
176         $RPM_BUILD_ROOT/%{_datadir}/kde4/services/ServiceMenus/mediainfo-gui.desktop
177
178 %clean
179 rm -rf $RPM_BUILD_ROOT
180
181 %files
182 %defattr(644,root,root,755)
183 %doc License.html History_CLI.txt Release/ReadMe_CLI_Linux.txt
184 %attr(755,root,root) %{_bindir}/mediainfo
185
186 %files gui
187 %defattr(644,root,root,755)
188 %doc License.html History_GUI.txt Release/ReadMe_GUI_Linux.txt
189 %attr(755,root,root) %{_bindir}/mediainfo-gui
190 %{_desktopdir}/mediainfo-gui.desktop
191 %{_pixmapsdir}/mediainfo.png
192 %{_iconsdir}/hicolor/128x128/apps/mediainfo.png
193 %dir %{_datadir}/apps/konqueror/servicemenus
194 %{_datadir}/apps/konqueror/servicemenus/mediainfo-gui.desktop
195 %{_datadir}/kde4/services/ServiceMenus/mediainfo-gui.desktop
This page took 0.066314 seconds and 4 git commands to generate.