]>
Commit | Line | Data |
---|---|---|
28374e9c | 1 | %define kdeappsver 21.12.1 |
4428191a WF |
2 | %define qtver 5.9.0 |
3 | %define kaname kdenlive | |
b4917cad | 4 | Summary: KDE movie editor |
af57c8d7 | 5 | Summary(pl.UTF-8): Edytor filmów dla KDE |
b4917cad | 6 | Name: kdenlive |
28374e9c | 7 | Version: 21.12.1 |
49be18ed | 8 | Release: 1 |
b4917cad MK |
9 | License: GPL |
10 | Group: X11/Applications/Multimedia | |
28374e9c WF |
11 | Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz |
12 | # Source0-md5: 480c6620f0c8b9cbf8aec5c54f566b9c | |
608f8997 | 13 | URL: http://kdenlive.org/ |
28374e9c | 14 | BuildConflicts: gstreamer0.10-devel |
eaf118aa AM |
15 | BuildRequires: Qt5Concurrent-devel |
16 | BuildRequires: Qt5Core-devel | |
17 | BuildRequires: Qt5DBus-devel | |
18 | BuildRequires: Qt5Gui-devel | |
9a44c22b | 19 | BuildRequires: Qt5Multimedia-devel |
eaf118aa AM |
20 | BuildRequires: Qt5Network-devel |
21 | BuildRequires: Qt5Qml-devel | |
22 | BuildRequires: Qt5Quick-devel | |
23 | BuildRequires: Qt5Script-devel | |
24 | BuildRequires: Qt5Svg-devel | |
25 | BuildRequires: Qt5WebKit-devel | |
26 | BuildRequires: Qt5Widgets-devel | |
0b02e5bf | 27 | BuildRequires: cmake |
811735dd | 28 | BuildRequires: gettext-tools |
fe0a30f7 | 29 | BuildRequires: kf5-attica-devel |
eaf118aa AM |
30 | BuildRequires: kf5-karchive-devel |
31 | BuildRequires: kf5-kbookmarks-devel | |
32 | BuildRequires: kf5-kconfig-devel | |
33 | BuildRequires: kf5-kconfigwidgets-devel | |
34 | BuildRequires: kf5-kcoreaddons-devel | |
35 | BuildRequires: kf5-kcrash-devel | |
36 | BuildRequires: kf5-kdbusaddons-devel | |
62ae05b2 | 37 | BuildRequires: kf5-kdeclarative-devel |
eaf118aa AM |
38 | BuildRequires: kf5-kdoctools-devel |
39 | BuildRequires: kf5-kfilemetadata-devel | |
40 | BuildRequires: kf5-kguiaddons-devel | |
fe0a30f7 | 41 | BuildRequires: kf5-ki18n-devel |
eaf118aa AM |
42 | BuildRequires: kf5-kiconthemes-devel |
43 | BuildRequires: kf5-kio-devel | |
44 | BuildRequires: kf5-knewstuff-devel | |
45 | BuildRequires: kf5-knotifications-devel | |
46 | BuildRequires: kf5-knotifyconfig-devel | |
47 | BuildRequires: kf5-kplotting-devel | |
48 | BuildRequires: kf5-ktextwidgets-devel | |
49 | BuildRequires: kf5-kwidgetsaddons-devel | |
50 | BuildRequires: kf5-kxmlgui-devel | |
9a44c22b | 51 | BuildRequires: kf5-purpose-devel |
fe0a30f7 | 52 | BuildRequires: kf5-sonnet-devel |
f80aa741 | 53 | BuildRequires: libv4l-devel |
28374e9c | 54 | BuildRequires: mlt-devel >= 7.0 |
b4e16721 | 55 | BuildRequires: ninja |
ad54048c | 56 | BuildRequires: pkgconfig |
aff1e4d0 | 57 | BuildRequires: qjson-devel >= 0.5 |
17eecb86 | 58 | BuildRequires: rpmbuild(macros) >= 1.129 |
450ed0c7 | 59 | BuildRequires: rttr-devel |
e0b6d28a | 60 | BuildRequires: shared-desktop-ontologies-devel |
61 | BuildRequires: soprano-devel | |
2a5c239c AM |
62 | Requires: Qt5Gui-platform-xcb-egl |
63 | Requires: Qt5Gui-platform-xcb-glx | |
1589c789 | 64 | Requires: Qt5Quick-controls |
55e60162 | 65 | Suggests: dvdauthor |
f80aa741 | 66 | Suggests: dvgrab |
e0b6d28a | 67 | Suggests: ffmpeg-ffplay |
f80aa741 | 68 | Suggests: frei0r-plugins |
eaf118aa | 69 | Suggests: mlt >= 6.0.0 |
55e60162 | 70 | Suggests: recordmydesktop |
e0b6d28a | 71 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
72 | ||
b4917cad | 73 | %description |
a8202cd7 JB |
74 | Kdenlive is a non-linear video editor for KDE. It provides all project |
75 | management and editing tools while relying on a separate rendering | |
76 | program (currently PIAVE) to perform the editing operations. Support | |
77 | is planned for transitions, effects, multiple file formats, and full | |
78 | project and asset management support. The current beta is capable of | |
79 | editing raw DV or AVI DV files, with tools such as move, razor, and | |
80 | resize, selecting parts of clips using in/outpoints, and exporting the | |
81 | result to another raw DV file. You may playback/preview the contents | |
82 | of the timeline at any point during the edit. Full project save/load | |
83 | is supported. | |
b4917cad | 84 | |
cb54d3d6 JR |
85 | %description -l pl.UTF-8 |
86 | Kdenlive to nieliniowy edytor filmów dla KDE. Dostarcza narzędzia do | |
87 | zarządzania projektem i edycji polegające na oddzielnym programie | |
88 | renderującym (aktualnie PIAVE) do wykonywania operacji edycji. | |
89 | Planowana jest obsługa przejść, efektów, wielu formatów plików oraz | |
90 | pełnego zarządzania projektem i kapitałem. Aktualna wersja beta może | |
91 | modyfikować pliki w formacie surowego DV oraz AVI DV przy użyciu | |
92 | narzędzi takich jak przemieszczanie, cięcia, zmiana rozmiaru, | |
93 | wybieranie części klatek przy użyciu punktów wejściowych/wyjściowych | |
a8202cd7 | 94 | oraz eksportowanie wyniku do innego pliku w formacie surowego DV. |
cb54d3d6 JR |
95 | Można odtwarzać/podglądać zawartość w dowolnej chwili edycji. |
96 | Obsługiwany jest zapis/odczyt pełnego projektu. | |
b4917cad MK |
97 | |
98 | %prep | |
74368329 | 99 | %setup -q |
b4917cad MK |
100 | |
101 | %build | |
ff68f3ac | 102 | mkdir -p build |
9608cbdb | 103 | cd build |
ddd77d32 | 104 | %cmake .. \ |
b4e16721 | 105 | -G Ninja \ |
4428191a | 106 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
28374e9c | 107 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ |
ddd77d32 JR |
108 | -DPLUGIN_INSTALL_DIR=%{_libdir}/qt5/plugins |
109 | ||
b4e16721 | 110 | %ninja_build |
b4917cad MK |
111 | |
112 | %install | |
113 | rm -rf $RPM_BUILD_ROOT | |
114 | ||
b4e16721 | 115 | %ninja_install -C build |
b4917cad | 116 | |
4428191a WF |
117 | %find_lang %{kaname} --all-name --with-kde |
118 | ||
b4917cad MK |
119 | %clean |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
4428191a | 122 | %files -f %{kaname}.lang |
b4917cad | 123 | %defattr(644,root,root,755) |
74368329 | 124 | %attr(755,root,root) %{_bindir}/%{name}* |
ddd77d32 | 125 | %attr(755,root,root) %{_libdir}/qt5/plugins/mltpreview.so |
35444307 | 126 | %{_datadir}/metainfo/org.kde.kdenlive.appdata.xml |
9608cbdb | 127 | %{_datadir}/config.kcfg/kdenlivesettings.kcfg |
eaf118aa AM |
128 | %{_datadir}/knotifications5/kdenlive.notifyrc |
129 | %{_datadir}/kservices5/mltpreview.desktop | |
ddd77d32 | 130 | %dir %{_datadir}/kxmlgui5/kdenlive |
eaf118aa AM |
131 | %{_datadir}/kxmlgui5/kdenlive/kdenliveui.rc |
132 | %{_datadir}/mime/packages/*.xml | |
133 | %{_datadir}/%{name} | |
134 | %{_desktopdir}/org.kde.kdenlive.desktop | |
74368329 | 135 | %{_iconsdir}/*/*/*/*.png |
eaf118aa | 136 | %{_iconsdir}/*/*/*/*.svg |
9608cbdb | 137 | %{_iconsdir}/*/*/*/*.svgz |
eaf118aa | 138 | %{_mandir}/man1/kdenlive* |
28374e9c WF |
139 | %{_datadir}/knsrcfiles/*.knsrc |
140 | %{_datadir}/qlogging-categories5/kdenlive.categories |