digikam-vl.spec 14 KB

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