kphotoalbum-vl.spec 8.3 KB

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