1 %define kdeappsver 18.12.0
3 %define kaname kdenlive
4 Summary: KDE movie editor
5 Summary(pl.UTF-8): Edytor filmów dla KDE
10 Group: X11/Applications/Multimedia
11 Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
12 # Source0-md5: 28e8c79216d3393eb50d90dd8d36e019
13 URL: http://kdenlive.org/
14 BuildRequires: Qt5Concurrent-devel
15 BuildRequires: Qt5Core-devel
16 BuildRequires: Qt5DBus-devel
17 BuildRequires: Qt5Gui-devel
18 BuildRequires: Qt5Network-devel
19 BuildRequires: Qt5Qml-devel
20 BuildRequires: Qt5Quick-devel
21 BuildRequires: Qt5Script-devel
22 BuildRequires: Qt5Svg-devel
23 BuildRequires: Qt5WebKit-devel
24 BuildRequires: Qt5Widgets-devel
26 BuildRequires: gettext-tools
27 BuildRequires: kf5-attica-devel
28 BuildRequires: kf5-karchive-devel
29 BuildRequires: kf5-kbookmarks-devel
30 BuildRequires: kf5-kconfig-devel
31 BuildRequires: kf5-kconfigwidgets-devel
32 BuildRequires: kf5-kcoreaddons-devel
33 BuildRequires: kf5-kcrash-devel
34 BuildRequires: kf5-kdbusaddons-devel
35 BuildRequires: kf5-kdoctools-devel
36 BuildRequires: kf5-kfilemetadata-devel
37 BuildRequires: kf5-kguiaddons-devel
38 BuildRequires: kf5-ki18n-devel
39 BuildRequires: kf5-kiconthemes-devel
40 BuildRequires: kf5-kio-devel
41 BuildRequires: kf5-knewstuff-devel
42 BuildRequires: kf5-knotifications-devel
43 BuildRequires: kf5-knotifyconfig-devel
44 BuildRequires: kf5-kplotting-devel
45 BuildRequires: kf5-ktextwidgets-devel
46 BuildRequires: kf5-kwidgetsaddons-devel
47 BuildRequires: kf5-kxmlgui-devel
48 BuildRequires: kf5-sonnet-devel
49 BuildRequires: libv4l-devel
50 BuildRequires: mlt-devel >= 6.0.0
51 BuildRequires: pkgconfig
52 BuildRequires: qjson-devel >= 0.5
53 BuildRequires: rpmbuild(macros) >= 1.129
54 BuildRequires: shared-desktop-ontologies-devel
55 BuildRequires: soprano-devel
56 Requires: Qt5Gui-platform-xcb-egl
57 Requires: Qt5Gui-platform-xcb-glx
58 Requires: Qt5Quick-controls
61 Suggests: ffmpeg-ffplay
62 Suggests: frei0r-plugins
63 Suggests: mlt >= 6.0.0
64 Suggests: recordmydesktop
65 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
68 Kdenlive is a non-linear video editor for KDE. It provides all project
69 management and editing tools while relying on a separate rendering
70 program (currently PIAVE) to perform the editing operations. Support
71 is planned for transitions, effects, multiple file formats, and full
72 project and asset management support. The current beta is capable of
73 editing raw DV or AVI DV files, with tools such as move, razor, and
74 resize, selecting parts of clips using in/outpoints, and exporting the
75 result to another raw DV file. You may playback/preview the contents
76 of the timeline at any point during the edit. Full project save/load
79 %description -l pl.UTF-8
80 Kdenlive to nieliniowy edytor filmów dla KDE. Dostarcza narzędzia do
81 zarządzania projektem i edycji polegające na oddzielnym programie
82 renderującym (aktualnie PIAVE) do wykonywania operacji edycji.
83 Planowana jest obsługa przejść, efektów, wielu formatów plików oraz
84 pełnego zarządzania projektem i kapitałem. Aktualna wersja beta może
85 modyfikować pliki w formacie surowego DV oraz AVI DV przy użyciu
86 narzędzi takich jak przemieszczanie, cięcia, zmiana rozmiaru,
87 wybieranie części klatek przy użyciu punktów wejściowych/wyjściowych
88 oraz eksportowanie wyniku do innego pliku w formacie surowego DV.
89 Można odtwarzać/podglądać zawartość w dowolnej chwili edycji.
90 Obsługiwany jest zapis/odczyt pełnego projektu.
99 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
100 -DPLUGIN_INSTALL_DIR=%{_libdir}/qt5/plugins
105 rm -rf $RPM_BUILD_ROOT
107 %{__make} -C build install \
108 DESTDIR=$RPM_BUILD_ROOT
110 %find_lang %{kaname} --all-name --with-kde
113 rm -rf $RPM_BUILD_ROOT
115 %files -f %{kaname}.lang
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/%{name}*
118 %attr(755,root,root) %{_libdir}/qt5/plugins/mltpreview.so
119 %{_datadir}/metainfo/org.kde.kdenlive.appdata.xml
120 %{_datadir}/config.kcfg/kdenlivesettings.kcfg
121 %{_datadir}/knotifications5/kdenlive.notifyrc
122 %{_datadir}/kservices5/mltpreview.desktop
123 %dir %{_datadir}/kxmlgui5/kdenlive
124 %{_datadir}/kxmlgui5/kdenlive/kdenliveui.rc
125 %{_datadir}/mime/packages/*.xml
127 %{_desktopdir}/org.kde.kdenlive.desktop
128 %{_docdir}/HTML/en/kdenlive
129 /etc/xdg/%{name}*.knsrc
130 /etc/xdg/kdenlive.categories
131 %{_iconsdir}/*/*/*/*.png
132 %{_iconsdir}/*/*/*/*.svg
133 %{_iconsdir}/*/*/*/*.svgz
134 %{_mandir}/man1/kdenlive*