kphotoalbum-vl.spec 7.5 KB

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