libkdeedu-vl.spec 3.4 KB

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