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