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