]> git.pld-linux.org Git - packages/mkvtoolnix.git/blame - mkvtoolnix.spec
- updated to 3.2.0
[packages/mkvtoolnix.git] / mkvtoolnix.spec
CommitLineData
013ba9d8 1# TODO:
ddbadbbb 2# - make -gui subpackages (wxWidgets and Qt4 deps)
c8767e1e 3#
2cfbf297 4# Conditional build
f1149835 5%bcond_with verbose # verbose build (V=1)
ddbadbbb
TP
6%bcond_without qt # disable GUI build (Qt4 deps)
7%bcond_without wx # disable GUI build (wxWigets deps)
2cfbf297 8#
013ba9d8 9Summary: Matroska video utilities
e8a78d12 10Summary(pl.UTF-8): Narzędzia do filmów w formacie Matroska
013ba9d8 11Name: mkvtoolnix
783cfec2 12Version: 3.2.0
f90e52dd 13Release: 1
013ba9d8
KK
14License: GPL v2
15Group: Applications/Multimedia
16Source0: http://www.bunkus.org/videotools/mkvtoolnix/sources/%{name}-%{version}.tar.bz2
783cfec2
KK
17# Source0-md5: 9bf31280cb07870771e69de0287dc769
18Patch0: %{name}-init_locales.patch
013ba9d8 19URL: http://www.bunkus.org/videotools/mkvtoolnix/
7c0e7904 20%{?with_qt:BuildRequires: QtGui-devel}
783cfec2 21BuildRequires: boost-devel >= 1.34
ff3a8c9b 22BuildRequires: bzip2-devel
013ba9d8
KK
23BuildRequires: expat-devel
24BuildRequires: flac-devel
519d22a2 25BuildRequires: gettext-devel
355f13a2 26BuildRequires: libebml-devel >= 0.7.7
e53fced4 27BuildRequires: libmagic-devel
7c0e7904 28BuildRequires: libmatroska-devel >= 0.8.1
013ba9d8
KK
29BuildRequires: libogg-devel
30BuildRequires: libvorbis-devel
355f13a2
KK
31BuildRequires: lzo-devel
32BuildRequires: pcre-cxx-devel
7c0e7904
KK
33%if %{with qt}
34BuildRequires: pkgconfig
35BuildRequires: qt4-build >= 4.3.3-3
36%endif
8503947c 37%{?with_wx:BuildRequires: wxGTK2-unicode-devel >= 2.6.0}
ff3a8c9b 38BuildRequires: zlib-devel
013ba9d8
KK
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42Matroska video utilities.
43
f9732eee
JR
44%description -l pl.UTF-8
45Narzędzia do filmów w formacie Matroska.
a12785d3 46
013ba9d8
KK
47%prep
48%setup -q
aaf43ce1 49%patch0 -p1
013ba9d8
KK
50
51%build
2cfbf297 52%configure \
ddbadbbb 53 --enable-gui \
608ac9d5 54 --%{?with_wx:en}%{!?with_wx:dis}able-wxwidgets \
55 --%{?with_qt:en}%{!?with_qt:dis}able-qt \
783cfec2
KK
56 --with-boost-filesystem=boost_filesystem \
57 --with-boost-regex=boost_regex \
2f80b240 58 %{?with_qt:--with-moc=/usr/bin/moc-qt4} \
8503947c
KK
59 %{?with_qt:--with-uic=/usr/bin/uic-qt4} \
60 %{?with_wx:--with-wx-config=/usr/bin/wx-gtk2-unicode-config}
61
f1149835
KK
62%{__make} \
63 %{?with_verbose:V=1}
013ba9d8
KK
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70
519d22a2
KK
71%find_lang %{name}
72
013ba9d8
KK
73%clean
74rm -rf $RPM_BUILD_ROOT
75
519d22a2 76%files -f %{name}.lang
013ba9d8 77%defattr(644,root,root,755)
aaf43ce1 78%doc AUTHORS ChangeLog README TODO
013ba9d8 79%attr(755,root,root) %{_bindir}/*
783cfec2
KK
80%dir %{_datadir}/%{name}
81%dir %{_datadir}/%{name}/guide
82%{_datadir}/%{name}/guide/en
83%lang(zh_CN) %{_datadir}/%{name}/guide/zh_CN
013ba9d8 84%{_mandir}/man1/*
783cfec2
KK
85%lang(ja) %{_mandir}/ja/man1/*
86%lang(zh_CN) %{_mandir}/zh_CN/man1/*
This page took 0.942462 seconds and 4 git commands to generate.