kphotoalbum-vl.spec 8.4 KB

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