kdeaddons-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5"
  2. # Compile only atlantikdesigner on KDE4
  3. %define donotcompilelist doc kaddressbook-plugins kate kfile-plugins kicker-applets knewsticker-scripts konq-plugins ksig noatun-plugins renamedlgplugins
  4. %define kde KDE3
  5. %else
  6. %define kde KDE
  7. %endif
  8. Name: kdeaddons
  9. Summary: %{kde} additional plugins
  10. Summary(ja): %{kde} 追加プラグイン
  11. Version: 3.5.10
  12. Release: 4%{?_dist_release}
  13. URL: http://www.kde.org/
  14. Group: Applications/Other
  15. License: GPLv2
  16. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: kdelibs3-devel >= %{version}
  19. BuildRequires: kdegames3-devel >= %{version}
  20. BuildRequires: libxml2-devel >= 2.6.0
  21. BuildRequires: libxslt-devel >= 1.0.18
  22. BuildRequires: zlib-devel libjpeg-devel libpng-devel gettext
  23. %if %{?_dist_release} == "vl4" || %{?_dist_release} == "vl5"
  24. BuildRequires: kdemultimedia3-devel >= %{version}
  25. BuildRequires: kdenetwork3-devel >= %{version}
  26. BuildRequires: kdepim3-devel >= %{version}
  27. BuildRequires: SDL-devel
  28. %endif
  29. Requires: kdelibs3 >= %{version}
  30. Requires: kdegames3 >= %{version}
  31. %description
  32. kdeaddons contains additional plugins and scripts for some KDE applications.
  33. %if %{?_dist_release} !="vl4" && %{?_dist_release} !="vl5"
  34. %package atlantikdesigner
  35. Summary: Atlantik Designer
  36. Group: Applications/Games
  37. Requires: kdelibs3 >= %{version}
  38. Requires: kdegames3 >= %{version}
  39. # directory ownership
  40. Requires: hicolor-icon-theme
  41. Obsoletes: kdeaddons-extras < %{version}-%{release}
  42. %description atlantikdesigner
  43. This package includes a game board designer for Atlantik.
  44. %endif
  45. %prep
  46. %setup -q
  47. %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5"
  48. sed -i -e 's/-lkdegames//g' atlantikdesigner/designer/Makefile.in
  49. %endif
  50. %build
  51. unset QTDIR || : ; . /etc/profile.d/qt.sh
  52. %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5"
  53. export DO_NOT_COMPILE="%{donotcompilelist}"
  54. %endif
  55. %configure \
  56. --with-qt-libraries=$QTDIR/lib \
  57. --includedir=%{_includedir}/kde \
  58. --disable-rpath \
  59. --enable-new-ldflags \
  60. --disable-debug --disable-warnings \
  61. --disable-dependency-tracking --enable-final
  62. make %{?_smp_mflags}
  63. %install
  64. rm -rf $RPM_BUILD_ROOT
  65. %if %{?_dist_release} != "vl4" && %{?_dist_release} != "vl5"
  66. export DO_NOT_COMPILE="%{donotcompilelist}"
  67. make DESTDIR=$RPM_BUILD_ROOT install
  68. %else
  69. make DESTDIR=$RPM_BUILD_ROOT install
  70. # Make symlinks relative
  71. cd $RPM_BUILD_ROOT/usr/share/doc/HTML/en
  72. for i in *; do
  73. if [ -d $i -a -L $i/common ]; then
  74. rm -f $RPM_BUILD_ROOT/usr/share/doc/HTML/en/$i/common
  75. ln -sf ../common $RPM_BUILD_ROOT/usr/share/doc/HTML/en/$i
  76. fi
  77. done
  78. %endif
  79. %clean
  80. rm -rf $RPM_BUILD_ROOT
  81. %if %{?_dist_release} == "vl4" || %{?_dist_release} == "vl5"
  82. %post -p /sbin/ldconfig
  83. %postun -p /sbin/ldconfig
  84. %endif
  85. %if %{?_dist_release} == "vl4" || %{?_dist_release} == "vl5"
  86. %files
  87. %defattr(-,root,root)
  88. %doc README COPYING-DOCS
  89. %doc %{_datadir}/doc/HTML/en/*
  90. %{_bindir}/*
  91. %{_libdir}/kde3/*
  92. %{_datadir}/applications/*
  93. %{_datadir}/applnk
  94. %{_datadir}/apps/*
  95. %config %{_datadir}/config/*
  96. %{_datadir}/config.kcfg/*
  97. %{_datadir}/icons/*
  98. %{_datadir}/mimelnk/*
  99. %{_datadir}/services/*
  100. %else
  101. %files atlantikdesigner
  102. %defattr(-,root,root)
  103. %doc README COPYING-DOCS atlantikdesigner/TODO
  104. %{_bindir}/atlantikdesigner
  105. %{_datadir}/apps/atlantikdesigner/
  106. %{_datadir}/icons/hicolor/*/*/atlantikdesigner*
  107. %{_datadir}/applications/kde/atlantikdesigner.desktop
  108. %endif
  109. %changelog
  110. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.10-4
  111. - rebuild with gcc-5.4.0
  112. * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-3
  113. - changed package name to avoid obsolation by kdeplasma-addons
  114. * Thu Dec 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-2
  115. - built for VinePlus/5
  116. - updated spec file compatibility
  117. * Sun Mar 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-1
  118. - updated to 3.5.10, only including atlantikdesigner
  119. - built with new toolchain
  120. * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
  121. - applied new versioning policy
  122. - added BR: kdebase-devel
  123. - changed Group to Applications/Other
  124. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
  125. - rebuild for VineSeed
  126. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
  127. - new upstream release
  128. * Tue Aug 21 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl3
  129. - rebuild with flac-1.2.0
  130. * Wed Jul 4 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
  131. - rebuild for VineSeed
  132. * Sat Jun 30 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
  133. - new upstream release
  134. * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.5-0vl3
  135. - added --with-qt-libraries and --enable-libsuffix option
  136. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
  137. - rebuild for VineSeed
  138. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
  139. - new upstream release
  140. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
  141. - rebuild for VineSeed
  142. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
  143. - new upstream release
  144. * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
  145. - rebuild for VineSeed
  146. * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
  147. - new upstream release
  148. * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
  149. - rebuild for VineSeed
  150. * Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
  151. - new upstream release
  152. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2
  153. - rebuild for VineSeed
  154. * Thu Nov 24 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1
  155. - new upstream release
  156. * Tue Nov 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1
  157. - initial release for VineSeed