digikam-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. Name: digikam
  2. Summary: A digital camera accessing & photo management application
  3. Summary(ja): デジタルカメラへのアクセス機能を持つ写真管理アプリケーション
  4. Version: 1.9.0
  5. Release: 1%{?dist}
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  8. URL: http://www.digikam.org/
  9. Source0: http://downloads.sourceforge.net/digikam/digikam-%{version}.tar.bz2
  10. # digiKam not listed as a media handler for pictures in Nautilus (#516447)
  11. # TODO: upstream me
  12. Source1: digikam-import.desktop
  13. Patch10: digikam-1.9.0_libjpeg-turbo.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: cmake
  16. BuildRequires: desktop-file-utils
  17. BuildRequires: gettext
  18. BuildRequires: glib2-devel
  19. BuildRequires: jasper-devel
  20. BuildRequires: kdegraphics4-devel
  21. BuildRequires: kdelibs4-devel
  22. BuildRequires: kdepimlibs-devel
  23. BuildRequires: lcms-devel
  24. BuildRequires: libjpeg-turbo-devel
  25. #BuildRequires: lensfun-devel
  26. BuildRequires: libgphoto2-devel
  27. #BuildRequires: liblqr-1-devel
  28. BuildRequires: libpng-devel >= 1.2.7
  29. BuildRequires: libtiff-devel
  30. BuildRequires: qt4-MySQL
  31. BuildRequires: soprano-devel
  32. BuildRequires: sqlite3-devel
  33. BuildRequires: MySQL-server
  34. # marble integration, http://bugzilla.redhat.com/470578
  35. %define marble_version 4.5.0
  36. BuildRequires: kdeedu4-devel >= %{marble_version}
  37. Requires: %{name}-libs = %{version}-%{release}
  38. # trash protocol support needed
  39. # FIXME: should probably be handled lower in the stack
  40. Requires: kdebase-runtime >= 4.4.0
  41. Requires: kdeedu-marble >= %{marble_version}
  42. Requires: qt4-sqlite
  43. Obsoletes: digikamimageplugins < 0.9.1-2
  44. %description
  45. digiKam is an easy to use and powerful digital photo management application,
  46. which makes importing, organizing and manipulating digital photos a "snap".
  47. An easy to use interface is provided to connect to your digital camera,
  48. preview the images and download and/or delete them.
  49. digiKam built-in image editor makes the common photo correction a simple task.
  50. The image editor is extensible via plugins, can also make use of the KIPI image
  51. handling plugins to extend its capabilities even further for photo
  52. manipulations, import and export, etc. Install the kipi-plugins packages
  53. to use them.
  54. %package libs
  55. Summary: Runtime libraries for %{name}
  56. Group: System Environment/Libraries
  57. #Requires: %{name} = %{version}-%{release}
  58. Requires: kdeedu-marble-libs >= %{marble_version}
  59. %description libs
  60. %{summary}.
  61. %package devel
  62. Summary: Development files for %{name}
  63. Group: Development/Libraries
  64. Requires: %{name}-libs = %{version}-%{release}
  65. Requires: kdelibs4-devel
  66. %description devel
  67. This package contains the libraries, include files and other resources
  68. needed to develop applications using %{name}.
  69. %prep
  70. %setup -q -n %{name}-%{version}%{?pre:-%{pre}}
  71. %patch10 -p1 -b .libjpeg-turbo
  72. %build
  73. mkdir -p %{_target_platform}
  74. pushd %{_target_platform}
  75. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  76. %{cmake} \
  77. -DCMAKE_BUILD_TYPE=release \
  78. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  79. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  80. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  81. ..
  82. popd
  83. make %{?_smp_mflags} -C %{_target_platform}
  84. %install
  85. rm -rf %{buildroot}
  86. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  87. desktop-file-install --vendor="" \
  88. --dir=%{buildroot}%{_datadir}/applications/kde4 \
  89. %{SOURCE1}
  90. %find_lang digikam --with-kde
  91. %check
  92. desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/digikam.desktop
  93. desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/showfoto.desktop
  94. %post
  95. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  96. %postun
  97. if [ $1 -eq 0 ] ; then
  98. update-desktop-database -q &> /dev/null
  99. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  100. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  101. fi
  102. %posttrans
  103. update-desktop-database -q &> /dev/null
  104. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  105. %post libs -p /sbin/ldconfig
  106. %postun libs -p /sbin/ldconfig
  107. %clean
  108. rm -rf %{buildroot}
  109. %files -f digikam.lang
  110. %defattr(-,root,root,-)
  111. %doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO
  112. %{_bindir}/*
  113. %{_libdir}/kde4/*.so
  114. %{_libexecdir}/kde4/digikamdatabaseserver
  115. %{_datadir}/kde4/apps/digikam/
  116. %{_datadir}/kde4/apps/showfoto/
  117. %{_datadir}/kde4/apps/solid/actions/*.desktop
  118. %{_datadir}/applications/kde4/*.desktop
  119. %{_datadir}/kde4/services/*.desktop
  120. %{_datadir}/kde4/services/*.protocol
  121. %{_datadir}/kde4/servicetypes/*.desktop
  122. %{_mandir}/man1/*
  123. %{_datadir}/icons/hicolor/*/*/*
  124. %files libs
  125. %defattr(-,root,root,-)
  126. %{_libdir}/libdigikamcore.so.1*
  127. %{_libdir}/libdigikamdatabase.so.1*
  128. %{_libdir}/kde4/plugins/marble/ExternalDraw.so
  129. %files devel
  130. %defattr(-,root,root,-)
  131. %{_includedir}/kde4/digikam/
  132. %{_includedir}/kde4/digikam_export.h
  133. %{_libdir}/lib*.so
  134. %changelog
  135. * Wed Jun 8 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9.0-1
  136. - new upstream release
  137. - add Patch10 to build against libjpeg-turbo-devel
  138. - add BR: MySQL-server (needs mysql_install_db during compilation)
  139. * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.0-1
  140. - new upstream release
  141. - added Japanese summary
  142. - added R: qt4-sqlite, kdeedu4-marble <BTS:1026> <BTS:1027>
  143. * Sat Aug 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.0-1
  144. - new upstream release
  145. * Fri Jul 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-3
  146. - R: kdeedu4-marble-libs
  147. * Fri Jul 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-2
  148. - Initial build for Vine Linux
  149. * Mon Mar 29 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2.0-1
  150. - digikam-1.2.0
  151. * Mon Mar 22 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-3
  152. - -libs: drop extraneous deps
  153. - -devel: Req: kdelibs4-devel
  154. * Wed Feb 10 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-2
  155. - touch up marble-related deps
  156. * Mon Feb 01 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-1
  157. - digikam-1.1.0
  158. * Thu Jan 28 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-2
  159. - use %%{_kde4_version}
  160. * Mon Dec 21 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-1
  161. - digikam-1.0.0
  162. * Mon Nov 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.11.rc
  163. - digikam-1.0.0-rc
  164. * Wed Nov 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.10.beta6
  165. - rebuild (kdegraphics)
  166. * Sat Nov 14 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.9.beta6
  167. - digiKam not listed as a media handler for pictures in Nautilus (#516447)
  168. * Mon Nov 08 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.8.beta6
  169. - digikam-1.0.0-beta6
  170. * Tue Oct 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.7.beta5
  171. - digikam-1.0.0-beta5
  172. - tweak marble deps (again)
  173. * Tue Sep 29 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.6.beta4
  174. - fix marble dep(s)
  175. * Mon Aug 31 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.5.beta4
  176. - digikam-1.0.0-beta4
  177. - BR: liblqr-1-devel
  178. * Wed Aug 05 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.4.beta3
  179. - drop xdg-utils references
  180. - tighten -libs related deps via %%{?_isa}
  181. * Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.3.beta3
  182. - digikam-1.0.0-beta3
  183. * Mon Jul 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.2.beta2
  184. - digikam-1.0.0-beta2
  185. * Fri Jun 12 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-0.1.beta1
  186. - digikam-1.0.0-beta1
  187. * Tue Mar 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-1
  188. - digikam-0.10.0 (final)
  189. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-0.18.rc2
  190. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  191. * Sat Feb 14 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.17.rc2
  192. - digikam-0.10.0-rc2
  193. * Mon Feb 09 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.16.rc1
  194. - Req: kdebase-runtime
  195. * Wed Feb 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.15.rc1
  196. - BR: kdeedu-devel >= 4.2.0, Req: kdeedu-marble >= 4.2.0
  197. - add min Req: kdelibs4 dep too
  198. * Thu Jan 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.10-0-0.14.rc1
  199. - digikam-0.10.0-rc1
  200. * Mon Jan 12 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.10-0.13.beta8
  201. - re-enable marble integration, kde42+ (bug #470578)
  202. * Mon Jan 05 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.12.beta8
  203. - digikam-0.10.0-beta8
  204. * Mon Dec 22 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.11.beta7
  205. - BR: libkipi-devel >= 0.3.0
  206. * Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.9.beta7
  207. - digikam-0.10.0-beta7
  208. * Mon Dec 01 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.8.beta6
  209. - omit kde42 (icon) conflicts
  210. * Tue Nov 25 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.7.beta6
  211. - digikam-0.10.0-beta6
  212. - lensfun support
  213. * Mon Oct 27 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.6.beta5
  214. - digikam-0.10.0-beta5
  215. * Mon Oct 06 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.10.0-0.5.beta4
  216. - update to 0.10.0 beta 4
  217. - build against latest kdegraphics
  218. * Fri Sep 26 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.4.beta3
  219. - digikam-0.10.0-beta3
  220. * Mon Aug 04 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.3.beta2
  221. - disable marble integration
  222. * Sat Aug 02 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.2.beta2
  223. - omit conflicts with oxygen-icon-theme
  224. * Thu Jul 31 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.10.0-0.1.beta2
  225. - digikam-0.10.0-beta2
  226. * Fri Jul 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.4-2
  227. - --without-included-sqlite3, BR: sqlite-devel
  228. * Thu Jul 17 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.4-1
  229. - digikam-0.9.4
  230. * Mon Jul 07 2008 Marcin Garski <mgarski[AT]post.pl> 0.9.3-5
  231. - Don't lose some photos during import (#448235)
  232. * Fri Mar 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.3-3
  233. - respin (for libkdcraw)
  234. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.3-2
  235. - Autorebuild for GCC 4.3
  236. * Sat Dec 22 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.3-1
  237. - Update to 0.9.3
  238. - BR: libkexiv2-devel >= 0.1.6 libkdcraw-devel >= 0.1.2
  239. * Sat Dec 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.3-0.5.rc1
  240. - digikam-0.9.3-rc1
  241. - BR: kdelibs3-devel
  242. * Thu Nov 20 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.3-0.2.beta3
  243. - digikam-0.9.3-beta3
  244. * Tue Nov 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.3-0.1.beta2
  245. - digikam-0.9.3-beta2
  246. * Tue Sep 18 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-5
  247. - Rebuild
  248. * Wed Aug 29 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.3-4
  249. - License: GPLv2+
  250. - lcms patch (kde bug #148930)
  251. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.9.2-3
  252. - Rebuild for selinux ppc32 issue.
  253. * Fri Jun 22 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-2
  254. - Create symlinks in pixmaps directory (#242978)
  255. * Tue Jun 19 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-1
  256. - Update to version 0.9.2-final
  257. - Remove digikam-0.9.2-beta3-fix-exiv2-dep.patch, merged upstream
  258. * Wed Jun 06 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-0.3.beta3
  259. - Fix .desktop category
  260. * Wed Jun 06 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-0.2.beta3
  261. - Fix broken compilation caused by Exiv2 dependency
  262. * Tue Jun 05 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-0.1.beta3
  263. - Update to version 0.9.2-beta3 (merge with digikamimageplugins)
  264. - Update description
  265. * Mon May 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.1-3
  266. - respin against libkexiv2-0.1.5
  267. - preserve upstream .desktop vendor (f7 branch at least)
  268. * Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.1-2
  269. - exiv2-0.14 patch
  270. - cleanup/simplify BR's,Requires,d-f-i usage
  271. * Fri Mar 09 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.1-1
  272. - Update to version 0.9.1
  273. - Update BuildRequires
  274. * Mon Dec 18 2006 Marcin Garski <mgarski[AT]post.pl> 0.9.0-1
  275. - Update to version 0.9.0
  276. * Tue Nov 28 2006 Marcin Garski <mgarski[AT]post.pl> 0.9.0-0.2.rc1
  277. - Rebuild
  278. * Tue Nov 28 2006 Marcin Garski <mgarski[AT]post.pl> 0.9.0-0.1.rc1
  279. - Update to version 0.9.0-rc1
  280. * Fri Sep 01 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.2-3
  281. - Rebuild for Fedora Core 6
  282. * Wed Aug 16 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.2-2
  283. - Release bump (#201756)
  284. * Tue Aug 01 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.2-1
  285. - Update to version 0.8.2 (#200932)
  286. * Tue Feb 14 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.1-3
  287. - Rebuild
  288. * Wed Feb 08 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.1-2
  289. - Exclude x-raw.desktop (bug #179754)
  290. - Don't own icons directory
  291. * Mon Jan 23 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.1-1
  292. - Add --enable-final
  293. - Remove GCC 4.1 patch, applied upstream
  294. - Update to version 0.8.1
  295. * Mon Jan 23 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-16
  296. - Add some stuff to BuildRequires (finally fix bug #178031)
  297. * Tue Jan 17 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-15
  298. - Remove redundant BuildRequires (bug #178031)
  299. * Mon Jan 16 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-14
  300. - Remove --disable-dependency-tracking
  301. * Mon Jan 16 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-13
  302. - Remove --enable-final (caused compilation errors)
  303. * Sun Jan 15 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-12
  304. - Change "/etc/profile.d/qt.sh" to "%%{_sysconfdir}/profile.d/qt.sh"
  305. - Add --disable-dependency-tracking & --enable-final
  306. * Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-11
  307. - Add libart_lgpl-devel and gamin-devel to BR
  308. * Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-10
  309. - Add libacl-devel to BR
  310. * Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-9
  311. - Add libidn-devel to BR
  312. * Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-8
  313. - Fix compile on GCC 4.1
  314. * Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-7
  315. - Remove autoreconf
  316. * Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-6
  317. - Remove patch
  318. * Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-5
  319. - Last chance to make it right (modular X.Org)
  320. * Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-4
  321. - Try to build for modular X.Org
  322. * Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-3
  323. - Add new paths for modular X.Org
  324. * Fri Dec 09 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-2
  325. - Work around for modular X.Org paths
  326. * Thu Dec 01 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-1
  327. - Add description about digikamimageplugins and kipi-plugins
  328. - Remove 64 bit patch, applied upstream
  329. - Update to version 0.8.0
  330. * Sat Oct 22 2005 Marcin Garski <mgarski[AT]post.pl> 0.7.4-4
  331. - Exclude libdigikam.la (bug #171503)
  332. * Sat Sep 17 2005 Marcin Garski <mgarski[AT]post.pl> 0.7.4-3
  333. - Change confusing warning about Big Endian Platform
  334. * Tue Sep 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.7.4-2
  335. - Spec improvements
  336. * Mon Sep 12 2005 Marcin Garski <mgarski[AT]post.pl> 0.7.4-1
  337. - Updated to version 0.7.4 & clean up for Fedora Extras
  338. * Sat Jun 26 2004 Marcin Garski <mgarski[AT]post.pl> 0.6.2-1.fc2
  339. - Updated to version 0.6.2
  340. * Wed Jun 09 2004 Marcin Garski <mgarski[AT]post.pl> 0.6.2RC-1.fc2
  341. - Initial specfile