libkdeedu-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Name: libkdeedu
  2. Summary: Library for using with KDE 4 educational applications
  3. Version: 4.11.4
  4. Release: 1%{?_dist_release}
  5. License: GPLv2+ and LGPLv2+
  6. Group: System Environment/Libraries
  7. URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2
  8. Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: kdelibs4-devel >= %{version}
  11. Requires: kdelibs4 >= 4.7.0
  12. # when split occurred
  13. Conflicts: kdeedu-libs < 4.6.95-10
  14. %description
  15. This package contains shared libraries used by KDE 4 educational
  16. applications. It provides support for data plotting and vocabulary
  17. data in the kvtml format.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Summary(ja): %{name} の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: kdelibs4-devel
  24. %description devel
  25. %{summary}.
  26. %prep
  27. %setup -q
  28. %build
  29. mkdir -p %{_target_platform}
  30. pushd %{_target_platform}
  31. %cmake \
  32. -DCMAKE_BUILD_TYPE=release \
  33. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  34. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  35. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  36. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  37. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  38. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  39. ..
  40. popd
  41. make %{?_smp_mflags} -C %{_target_platform}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  45. %post
  46. /sbin/ldconfig
  47. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  48. %posttrans
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  50. %postun
  51. /sbin/ldconfig
  52. if [ $1 -eq 0 ] ; then
  53. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  54. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  55. fi
  56. %files
  57. %doc AUTHORS COPYING COPYING.LIB README
  58. %{_libdir}/libkeduvocdocument.so.*
  59. %{_datadir}/kde4/apps/kvtml/
  60. %{_datadir}/icons/hicolor/*/*/*
  61. %files devel
  62. %{_libdir}/libkeduvocdocument.so
  63. %{_libdir}/libqtmmlwidget.a
  64. %{_libdir}/cmake/libkdeedu/*.cmake
  65. %{_includedir}/kde4/libkdeedu/
  66. %changelog
  67. * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  68. - new upstream release
  69. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  70. - new upstream release
  71. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  72. - new upstream release
  73. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  74. - new upstream release
  75. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  76. - new upstream release
  77. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  78. - new upstream release
  79. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  80. - new upstream release
  81. * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  82. - new upstream release
  83. * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  84. - new upstream release
  85. * Sat Aug 6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
  86. - Initial build for Vine Linux