kalgebra-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. Name: kalgebra
  2. Summary: Algebraic graphing calculator for KDE
  3. Version: 4.14.3
  4. Release: 1%{?_dist_release}
  5. License: GPLv2+
  6. Group: Applications/Edutainment
  7. URL: http://edu.kde.org/kalgebra/
  8. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  9. ## upstream patches
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: kdelibs4-devel >= %{version}
  13. BuildRequires: libkdeedu-devel
  14. BuildRequires: analitza-devel
  15. BuildRequires: mesa-libGL-devel
  16. BuildRequires: readline-devel
  17. BuildRequires: soprano-devel
  18. Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
  19. Conflicts: kdeedu4 < 4.6.50
  20. Obsoletes: %{name}-libs < 4.9.0
  21. Provides: %{name}-libs = %{version}-%{release}
  22. Obsoletes: %{name}-devel < 4.9.0
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. %description
  26. KAlgebra is a algebraic graphing calculator with support for 3D
  27. graphing and MathML markup language.
  28. This package is part of the KDE education module.
  29. %prep
  30. %setup -q
  31. %build
  32. mkdir -p %{_target_platform}
  33. pushd %{_target_platform}
  34. %cmake \
  35. -DCMAKE_BUILD_TYPE=release \
  36. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  37. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  38. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  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. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %check
  50. for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
  51. desktop-file-validate $f
  52. done
  53. %post
  54. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  55. %posttrans
  56. update-desktop-database -q &> /dev/null ||:
  57. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  58. %postun
  59. if [ $1 -eq 0 ] ; then
  60. update-desktop-database -q &> /dev/null ||:
  61. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  62. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  63. fi
  64. %files
  65. %defattr(-,root,root)
  66. %doc COPYING COPYING.DOC
  67. %{_bindir}/kalgebra
  68. %{_bindir}/kalgebramobile
  69. %{_libdir}/kde4/*.so
  70. %{_libdir}/kde4/imports/org/kde/analitza/Graph2D.qml
  71. %{_libdir}/kde4/imports/org/kde/analitza/libanalitzadeclarativeplugin.so
  72. %{_libdir}/kde4/imports/org/kde/analitza/qmldir
  73. %{_datadir}/applications/kde4/kalgebra*.desktop
  74. %{_datadir}/icons/hicolor/*/*/*
  75. %{_datadir}/kde4/apps/kalgebramobile
  76. %{_datadir}/kde4/apps/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/config.ui
  77. %{_datadir}/kde4/apps/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/main.qml
  78. %{_datadir}/kde4/apps/plasma/plasmoids/org.kde.graphsplasmoid/metadata.desktop
  79. %{_datadir}/kde4/apps/katepart
  80. %{_datadir}/kde4/services/graphsplasmoid.desktop
  81. %{_datadir}/kde4/services/kalgebraplasmoid.desktop
  82. %doc %{_docdir}/HTML/en/kalgebra/
  83. %changelog
  84. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  85. - new upstream release
  86. * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  87. - new upstream release
  88. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  89. - new upstream release
  90. * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  91. - new upstream release
  92. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  93. - new upstream release
  94. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  95. - new upstream release
  96. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  97. - new upstream release
  98. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  99. - new upstream release
  100. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  101. - new upstream release
  102. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  103. - new upstream release
  104. * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  105. - new upstream release
  106. - add BuildRequires: analitza-devel
  107. - remove -devel and -libs subpackages
  108. * Thu Sep 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
  109. - split from kdeedu