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