digikam-vl.spec 14 KB

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