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