kphotoalbum-vl.spec 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. Summary: KDE Photo Album
  2. Summary(ja): KDE フォトアルバム
  3. Name: kphotoalbum
  4. Version: 4.1.1
  5. Release: 5%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/Multimedia
  8. URL: http://www.kphotoalbum.org/
  9. Source0: http://kphotoalbum.org/data/download/kphotoalbum-%{version}.tar.bz2
  10. ## upstream patches
  11. Patch100: kphotoalbum-4.1.1-docbook_fix.patch
  12. # http://websvn.kde.org/?view=revision&revision=1213128
  13. Patch101: kphotoalbum-4.1.1-exiv2_021.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: desktop-file-utils
  16. BuildRequires: exiv2-devel
  17. BuildRequires: gettext
  18. # marble integration
  19. BuildRequires: kdelibs4-devel
  20. #BuildRequires: kdegraphics4-devel >= 4.3.0
  21. BuildRequires: libkdcraw-devel
  22. BuildRequires: libkexiv2-devel
  23. BuildRequires: libkipi-devel
  24. #BuildRequires: kdeedu4-devel
  25. BuildRequires: marble-devel
  26. BuildRequires: soprano-devel
  27. Requires: kdelibs4
  28. Requires: marble-libs
  29. %description
  30. A photo album tool. Focuses on three key points:
  31. * It must be easy to describe a number of images at a time.
  32. * It must be easy to search for images.
  33. * It must be easy to browse and View the images.
  34. %prep
  35. %setup -q
  36. %patch100 -p1
  37. %patch101 -p4 -b exiv2_021
  38. %build
  39. mkdir -p %{_target_platform}
  40. pushd %{_target_platform}
  41. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  42. %{cmake} \
  43. -DCMAKE_BUILD_TYPE=release \
  44. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  45. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  46. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  47. ..
  48. popd
  49. make %{?_smp_mflags} -C %{_target_platform}
  50. %install
  51. rm -rf %{buildroot}
  52. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  53. %find_lang %{name}
  54. #--with-kde
  55. HTML_DIR=$(kde4-config --expandvars --install html)
  56. if [ -d $RPM_BUILD_ROOT${HTML_DIR} ]; then
  57. for lang_dir in $RPM_BUILD_ROOT${HTML_DIR}/* ; do
  58. if [ -d ${lang_dir} ]; then
  59. lang=$(basename ${lang_dir})
  60. echo "%lang(${lang}) ${HTML_DIR}/${lang}/%{name}/" >> %{name}.lang
  61. fi
  62. done
  63. fi
  64. %check
  65. for dt_file in %{buildroot}%{_datadir}/applications/kde4/*.desktop ; do
  66. desktop-file-validate $dt_file
  67. done
  68. %clean
  69. rm -rf %{buildroot}
  70. %post
  71. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  72. %postun
  73. if [ $1 -eq 0 ] ; then
  74. update-desktop-database -q &> /dev/null
  75. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  76. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  77. fi
  78. %posttrans
  79. update-desktop-database -q &> /dev/null
  80. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  81. %files -f %{name}.lang
  82. %defattr(-,root,root,-)
  83. %doc ChangeLog COPYING README TODO
  84. %{_bindir}/kphotoalbum
  85. %{_datadir}/kde4/apps/kphotoalbum/
  86. %{_datadir}/applications/kde4/kphotoalbum.desktop
  87. %{_datadir}/applications/kde4/kphotoalbum-import.desktop
  88. %{_datadir}/config/*rc
  89. %{_datadir}/icons/hicolor/*/*/*
  90. %changelog
  91. * Sun Sep 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.1-5
  92. - rebuilt with exiv2-0.21.1
  93. - updated BR instead of kdegraphics4-devel, kdeedu4-devel
  94. * Sat Jan 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.1-4
  95. - added Patch100 and 101 from FC
  96. * Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.1.1-6
  97. - docbook fix (for kde-4.5.x)
  98. * Sat Jan 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.1-3
  99. - fixed build dependencies for VinePlus/5
  100. - updated URL
  101. * Wed May 05 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.1-2
  102. - rebuilt with exiv2-0.19
  103. * Sat Nov 28 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.1-1
  104. - initial build for Vine Linux
  105. * Sun Oct 25 2009 Rex Dieter <rdieter@fedoraproject.org> 4.1-1
  106. - kphotoalbum-4.1
  107. * Wed Jul 29 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0.2-1
  108. - kphotoalbum-4.0.2
  109. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  111. * Fri May 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.0.1-1
  112. - kphotoalbum-4.0.1
  113. * Tue May 19 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.0-1
  114. - kphotoalbum-4.0 (final)
  115. * Mon Mar 09 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2-0.10.20090308
  116. - kphotoalbum-20090308 snapshot
  117. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-0.9.20090211svn
  118. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  119. * Thu Feb 12 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2-0.8.20090211svn
  120. - kphotoalbum-2009-02-11 snapshot
  121. - enable marble integration
  122. * Mon Dec 22 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.2-0.7.20081007svn
  123. - BR: libkipi-devel >= 0.3.0
  124. * Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.2-0.6.20081007svn
  125. - respin (exiv2)
  126. * Tue Dec 03 2008 Rex Dieter <rdieter@fedoraproject.org> 3.2-0.5.20081007svn
  127. - respin (kdegraphics)
  128. - BR: soprano-devel
  129. * Wed Oct 29 2008 Rex Dieter <rdieter@fedoraproject.org> 3.2-0.4.20081007svn
  130. - respin (kdegraphics)
  131. * Mon Oct 06 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.2-0.3.20081007svn
  132. - new snapshot (20081007svn)
  133. - use create_tarball.rb (includes translations)
  134. - build against latest kdegraphics
  135. - fix typos in description
  136. * Mon Sep 29 2008 Rex Dieter <rdieter@fedoraproject.org> 3.2-0.2.20080929svn
  137. - respin against newer kdegraphics
  138. - kphotoalbum-20080929svn snapshot
  139. * Sat Aug 02 2008 Rex Dieter <rdieter@fedoraproject.org> 3.2-0.1.20080802svn
  140. - kphotoalbum-20080802svn snapshot
  141. * Wed Jun 25 2008 Rex Dieter <rdieter@fedoraproject.org> 3.1.1-3
  142. - respin for exiv2
  143. * Thu May 08 2008 Rex Dieter <rdieter@fedoraproject.org> 3.1.1-2
  144. - respin
  145. * Tue Mar 18 2008 Rex Dieter <rdieter@fedoraproject.org> 3.1.1-1
  146. - kphotoalbum-3.1.1
  147. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.0-2
  148. - Autorebuild for GCC 4.3
  149. * Sat Nov 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.1.0-1
  150. - kphotoalbum-3.1.0
  151. * Tue Nov 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.0.2-7
  152. - respin for exiv2-0.16
  153. * Sun Aug 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.0.2-6
  154. - desktop file patch (make MimeType=... end with ;)
  155. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.0.2-5
  156. - fix %%check
  157. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.0.2-3
  158. - specfile cosmetics
  159. - respin (BuildID)
  160. * Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.0.2-2
  161. - License: GPLv2+
  162. * Thu Apr 16 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.0.2-1
  163. - kphotoalbum-3.0.2
  164. * Wed Apr 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 3.0.1-1
  165. - kphotoalbum-3.0.1
  166. * Sun Dec 31 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 3.0-1
  167. - kphotoalbum-3.0
  168. * Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.2-7
  169. - BR: exiv2-devel >= 0.12
  170. * Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.2-6
  171. - respin
  172. - drop deprecated Provides: kimdaba
  173. * Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.2-5
  174. - BR: exiv2-devel >= 0.11
  175. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.2-4
  176. - fc6 respin
  177. * Sat Jun 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.2-3
  178. - respin against exiv2-0.10
  179. * Thu May 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.2-2
  180. - (temporarily) add Provides: kimdaba = %%version
  181. * Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.2-1
  182. - renamed kphotoalbum
  183. * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net>
  184. - fc5: gcc/glibc respin
  185. * Thu Nov 10 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-6
  186. - relative symlinks
  187. - simplify configure
  188. * Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-4
  189. - --add-category Application
  190. * Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-3
  191. - %%doc: COPYING
  192. - Req(post,postun): update-desktop-database
  193. - gtk-update-icon-cache
  194. - remove unused crud (kde-redhat bits)
  195. - Group: Applications/Multimedia
  196. - drop %%{?debug_package} conditionals
  197. * Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-2
  198. - icon/mime spec
  199. * Tue May 3 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-1
  200. - real-deal 2.1 release (including -i18n bits)
  201. * Mon May 2 2005 Rex Dieter <rexdieter[AT]users.sf.net> 2.1-0
  202. - 2.1 (pre) release
  203. * Mon Nov 15 2004 Rex Dieter <rexdieter[AT]users.sf.net> 2.0-0.fdr.1
  204. - 2.0
  205. * Fri Feb 27 2004 Rex Dieter <rexdieter at sf.net> 0:1.1-0.fdr.0
  206. - first try