analitza-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Name: analitza
  2. Summary: Library of mathematical features
  3. Summary(ja): 数学関連ライブラリ
  4. Version: 4.12.5
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://www.kde.org/
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs-devel >= %{version}
  12. BuildRequires: readline-devel
  13. Conflicts: kalgebra-libs < 4.9.0
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. %{summary}.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Summary(ja): %{name} の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: kdelibs-devel
  24. %description devel
  25. %{summary}.
  26. %description -l ja devel
  27. %{name} の開発用ファイルです.
  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. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  39. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  40. ..
  41. popd
  42. make %{?_smp_mflags} -C %{_target_platform}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root,-)
  52. %{_bindir}/calgebra
  53. %{_libdir}/libanalitza.so.*
  54. %{_libdir}/libanalitzagui.so.*
  55. %{_libdir}/libanalitzaplot.so.*
  56. %{_datadir}/kde4/apps/libanalitza/plots/*.plots
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_includedir}/kde4/%{name}
  60. %{_includedir}/kde4/analitzagui
  61. %{_includedir}/kde4/analitzaplot
  62. %{_libdir}/libanalitza.so
  63. %{_libdir}/libanalitzagui.so
  64. %{_libdir}/libanalitzaplot.so
  65. %{_libdir}/cmake/%{name}
  66. %changelog
  67. * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  68. - new upstream release
  69. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  70. - new upstream release
  71. * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  72. - new upstream release
  73. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  74. - new upstream release
  75. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  76. - new upstream release
  77. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  78. - new upstream release
  79. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  80. - new upstream release
  81. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  82. - new upstream release
  83. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  84. - new upstream release
  85. * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  86. - initial build