Facebook
From WalDo, 8 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 375
  1.  
  2. Name:           kdenlive
  3. Version:        15.04.0
  4. Release:        1%{?dist}
  5. Summary:        Non-linear video editor
  6. License:        GPLv2+
  7. URL:            http://www.kdenlive.org
  8. #Source0:        http://download.kde.org/stable/applications/15.04.2/src/kdenlive-15.04.2.tar.xz
  9. Source0:        kdenlive-15.04.0.tar.xz
  10.  
  11. BuildRequires:  desktop-file-utils
  12. BuildRequires:  gettext
  13. BuildRequires:  kdelibs4-devel
  14. BuildRequires:  pkgconfig(libv4l2)
  15. BuildRequires:  pkgconfig(mlt++) >= 0.8.8
  16. %global mlt_version %(pkg-config --modversion mlt++ 2>/dev/null || echo 0.8.8)
  17. BuildRequires:  pkgconfig(QJson)
  18. BuildRequires:  pkgconfig(QtOpenGL) pkgconfig(QtScript)
  19.  
  20. Requires:       dvdauthor
  21. Requires:       dvgrab
  22. Requires:       ffmpeg
  23. Requires:       kde-runtime%{?_kde4_version: >= %{_kde4_version}}
  24. Requires:       mlt%{?_isa} >= %{mlt_version}
  25. Requires:       recordmydesktop
  26.  
  27. %description
  28. Kdenlive is an intuitive and powerful multi-track video editor, including most
  29. recent video technologies.
  30.  
  31.  
  32. %prep
  33. %setup -q
  34.  
  35. # MLT's binary melt renamed at Fedora, so we must rename it in Kdenlive, too
  36. sed -i 's|/bin/melt|/bin/mlt-melt|' src/mainwindow.cpp
  37. sed -i 's|findExe("melt")|findExe("mlt-melt")|' src/mainwindow.cpp
  38.  
  39.  
  40. %build
  41. mkdir -p %{_target_platform}
  42. pushd %{_target_platform}
  43. %{cmake_kde4} ..
  44. popd
  45.  
  46. make %{?_smp_mflags} -C %{_target_platform}
  47.  
  48.  
  49. %install
  50. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  51.  
  52. %find_lang %{name} --with-kde
  53.  
  54.  
  55. %check
  56. desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop
  57.  
  58.  
  59. %post
  60. touch --no-create %{_kde4_iconsdir}/hicolor &>/dev/null || :
  61. touch --no-create %{_kde4_iconsdir}/oxygen &>/dev/null || :
  62. touch --no-create %{_datadir}/mime/packages &> /dev/null || :
  63.  
  64. %postun
  65. if [ $1 -eq 0 ] ; then
  66.   touch --no-create %{_kde4_datadir}/icons/hicolor &>/dev/null
  67.   gtk-update-icon-cache %{_kde4_datadir}/icons/hicolor &>/dev/null || :
  68.   touch --no-create %{_datadir}/mime/packages &> /dev/null || :
  69.   update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
  70.   update-desktop-database &> /dev/null || :
  71. fi
  72.  
  73. %posttrans
  74. gtk-update-icon-cache %{_kde4_datadir}/icons/hicolor &>/dev/null || :
  75. update-desktop-database &> /dev/null || :
  76. update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
  77.  
  78.  
  79. %files -f %{name}.lang
  80. %doc AUTHORS COPYING README
  81. %{_kde4_bindir}/*
  82. %{_kde4_datadir}/applications/kde4/%{name}.desktop
  83. %{_kde4_libdir}/kde4/*.so
  84. %{_kde4_datadir}/config.kcfg/*
  85. %{_kde4_configdir}/*
  86. %{_kde4_datadir}/mime/packages/*
  87. %{_kde4_appsdir}/%{name}/
  88. %{_kde4_datadir}/kde4/services/westleypreview.desktop
  89. # menu/pixmaps is deprecated/legacy stuff, could likely omit from packaging -- Rex
  90. %{_kde4_datadir}/menu/%{name}
  91. %{_kde4_datadir}/pixmaps/%{name}.xpm
  92. %{_kde4_iconsdir}/hicolor/*/*/*
  93. %{_kde4_iconsdir}/oxygen/*/*/*
  94. %{_mandir}/man1/*.gz
  95.  
  96.  
  97. %changelog
  98. * Mon Dec 22 2014 Rex Dieter <[email protected]> 0.9.10-1
  99. - 0.9.10
  100.  
  101. * Wed Aug 06 2014 Rex Dieter <[email protected]> 0.9.8-2
  102. - optimize mime scriptlets
  103.  
  104. * Wed May 14 2014 Rex Dieter <[email protected]> 0.9.8-1
  105. - 0.9.8
  106.  
  107. * Mon Apr 07 2014 Nicolas Chauvet <[email protected]> - 0.9.6-4
  108. - Rebuilt for rfbz#3209
  109.  
  110. * Wed Oct 09 2013 Nicolas Chauvet <[email protected]> - 0.9.6-3
  111. - rebuilt for mlt
  112.  
  113. * Sun May 26 2013 Nicolas Chauvet <[email protected]> - 0.9.6-2
  114. - Rebuilt for x264/FFmpeg
  115.  
  116. * Sun Apr 07 2013 Rex Dieter <[email protected]> 0.9.6-1
  117. - 0.9.6
  118.  
  119. * Sun Mar 03 2013 Nicolas Chauvet <[email protected]> - 0.9.4-2
  120. - Mass rebuilt for Fedora 19 Features
  121.  
  122. * Tue Jan 29 2013 Rex Dieter <[email protected]> 0.9.4-1
  123. - 0.9.4
  124.  
  125. * Tue Jun 19 2012 Richard Shaw <[email protected]> - 0.9.2-2
  126. - Rebuild for updated mlt.
  127.  
  128. * Thu May 31 2012 Rex Dieter <[email protected]> 0.9.2-1
  129. - 0.9.2
  130.  
  131. * Tue May 15 2012 Rex Dieter <[email protected]> 0.9-1
  132. - 0.9
  133. - pkgconfig-style deps
  134.  
  135. * Fri Mar 02 2012 Nicolas Chauvet <[email protected]> - 0.8.2.1-3
  136. - Rebuilt for c++ ABI breakage
  137.  
  138. * Wed Feb 08 2012 Nicolas Chauvet <[email protected]> - 0.8.2.1-2
  139. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  140.  
  141. * Sat Dec 10 2011 Rex Dieter <[email protected]> 0.8.2.1-1
  142. - 0.8.2.1
  143.  
  144. * Tue Nov 15 2011 Rex Dieter <[email protected]> 0.8.2-2
  145. - rebuild
  146.  
  147. * Fri Nov 11 2011 Rex Dieter <[email protected]> 0.8.2-1
  148. - 0.8.2
  149. - tighten mlt deps
  150.  
  151. * Thu Jul 21 2011 Ryan Rix <[email protected]> 0.8-1
  152. - New version
  153. - Add patch to fix FTBFS
  154.  
  155. * Fri Apr 15 2011 Rex Dieter <[email protected]> 0.7.8-2
  156. - update scriptlets, %%_kde4_... macros/best-practices
  157. - +Requires: kdebase-runtime (versioned)
  158. - fix ftbfs
  159.  
  160. * Thu Apr 07 2011 Ryan Rix <[email protected]> - 0.7.8-1
  161. - new version
  162.  
  163. * Mon Mar 01 2010 Zarko <[email protected]> - 0.7.7.1-1
  164. - new version
  165.  
  166. * Thu Feb 18 2010 Zarko <[email protected]> - 0.7.7-1
  167. - new version
  168.  
  169. * Mon Sep 07 2009 Zarko <[email protected]> - 0.7.5-1
  170. - new version
  171.  
  172. * Sat May 30 2009 Zarko <[email protected]> - 0.7.4-2
  173. - added updating of mime database
  174. - changed dir of .desktop file
  175.  
  176. * Fri May 22 2009 Zarko <[email protected]> - 0.7.4-1
  177. - new release
  178. - spec cleaning
  179.  
  180. * Thu Apr 16 2009 Zarko <[email protected]> - 0.7.3-2
  181. - some clearing
  182. - added doc files
  183.  
  184. * Wed Apr 15 2009 Zarko <[email protected]> - 0.7.3-1
  185. - new release
  186.  
  187. * Sun Apr 12 2009 Zarko <[email protected]> - 0.7.2.1-2
  188. - spec convert to kde4 macros
  189.  
  190. * Mon Mar 16 2009 Zarko <[email protected]> - 0.7.2.1-1
  191. - update to 0.7.2.1
  192. - spec cleaned
  193. - Resolve RPATHs
  194.  
  195. * Sun Nov 16 2008 Arkady L. Shane <[email protected]> - 0.7-1
  196. - update to 0.7
  197.  
  198. * Wed Nov  5 2008 Arkady L. Shane <[email protected]> - 0.7-0.1.20081104svn2622
  199. - update to last svn revision
  200.  
  201. * Tue Nov  4 2008 Arkady L. Shane <[email protected]> - 0.7-0.beta1
  202. - clean up spec
  203.  
  204. * Fri Oct 17 2008 jeff <[email protected]> - 0.7-1.beta1
  205. - Add URL
  206. - Full URL for Source:
  207. - Remove all Requires:
  208. - Update BuildRoot
  209. - Remove Packager: Brixton Linux Action Group
  210. - Add BuildRequires: ffmpeg-devel kdebindings-devel soprano-devel
  211. - Update %%files
  212. - %%doc with only effects/README
  213. - GPLv2+
  214. - Add lang files
  215.  
  216. * Tue Jul  8 2008 jeff <[email protected]> - 0.6-1.svn2298.0blag.f9
  217. - Update to KDE4 branch
  218.   https://kdenlive.svn.sourceforge.net/svnroot/kdenlive/branches/KDE4
  219.  
  220. * Tue Jul  8 2008 jeff <[email protected]> - 0.6-1.svn2298.0blag.f9
  221. - Update to svn r2298
  222. - New Requires
  223. - kdenlive-svn-r2298-renderer-CMakeLists.patch
  224.  
  225. * Sun Nov 11 2007 jeff <[email protected]> - 0.5-1blag.f7
  226. - Update to 0.5 final
  227.  
  228. * Tue Apr 17 2007 jeff <[email protected]> - 0.5-0svn20070417.0blag.fc6
  229. - svn to 20070417
  230.  
  231. * Fri Apr  6 2007 jeff <[email protected]> - 0.5-0svn20070406.0blag.fc6
  232. - svn to 20070406
  233.  
  234. * Tue Apr  3 2007 jeff <[email protected]> - 0.5-0svn20070403.0blag.fc6
  235. - svn to 20070403
  236.  
  237. * Thu Mar 22 2007 jeff <[email protected]> - 0.5-0svn20070322.0blag.fc6
  238. - svn to 20070322
  239.  
  240. * Thu Mar 15 2007 jeff <[email protected]> - 0.5-0svn20070316.0blag.fc6
  241. - BLAG'd
  242.  
  243. * Sun Apr 27 2003 Jason Wood <[email protected]> 0.2.2-1mdk
  244. - First stab at an RPM package.
  245. - This is taken from kdenlive-0.2.2 source package.
  246.