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