qimageblitz-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. %define kde_major_version 4
  2. %define qt_ver 4.6.1
  3. Name: qimageblitz
  4. Version: 0.0.6
  5. Release: 5%{?_dist_release}
  6. Summary: Graphical effect and filter library
  7. Summary(ja): グラフィック効果・グラフィックフィルタライブラリ
  8. Group: System Environment/Libraries
  9. License: BSD and ImageMagick
  10. URL: http://qimageblitz.sourceforge.net/
  11. Source0: http://download.kde.org/stable/qimageblitz/qimageblitz-%{version}.tar.bz2
  12. # upstreamed to kdesupport
  13. # r1204248 | rdieter | 2010-12-06 08:05:09 -0600 (Mon, 06 Dec 2010) | 2 lines
  14. Patch100: qimageblitz-0.0.4-noexecstack.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: qt4-devel >= %{qt_ver}
  17. BuildRequires: cmake >= 2.4.5
  18. BuildRequires: pkgconfig
  19. %description
  20. Blitz is a graphical effect and filter library for KDE4.0 that contains
  21. many improvements over KDE 3.x's kdefx library including bugfixes, memory
  22. and speed improvements, and MMX/SSE support.
  23. %package devel
  24. Summary: Development files for %{name}
  25. Summary(ja): %{name} の開発用ファイル
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: qt4-devel
  29. %description devel
  30. Header files for developing applications using blitz
  31. %prep
  32. %setup -q
  33. %patch100 -p1
  34. %build
  35. mkdir -p %{_target_platform}
  36. pushd %{_target_platform}
  37. %cmake %{?_cmake_skip_rpath} ..
  38. popd
  39. make %{?_smp_mflags} -C %{_target_platform}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  43. %check
  44. export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
  45. test "$(pkg-config --modversion qimageblitz)" = "4.0.0"
  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. %doc Changelog README* COPYING
  53. %{_libdir}/*.so.*
  54. %files devel
  55. %defattr(-,root,root)
  56. %{_bindir}/blitztest
  57. %{_includedir}/qimageblitz
  58. %{_libdir}/*.so
  59. %{_libdir}/pkgconfig/*.pc
  60. %changelog
  61. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.6-5
  62. - rebuild with gcc-5.4.0
  63. * Mon Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.0.6-4
  64. - rebuilt on current VineSeed
  65. - fixed LICENSE to BSD
  66. - moved %{_bindir}/blitztest to devel subpackage
  67. - added Japanese summary
  68. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.6-3
  69. - rebuild with current VineSeed environment
  70. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-2
  71. - rebuilt with rpm-4.8.1
  72. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-1
  73. - new upstream release
  74. * Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.0.4-4
  75. - use %%cmake macro
  76. - drop redundant cmake options
  77. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.4-3
  78. - rebuilt with qt-4.5.2
  79. * Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-2
  80. - added -DLIB_INSTALL_DIR=%%{_libdir} at cmake
  81. * Sun Oct 12 2008 AKIYAMA KAzuhito <akiyama@yb3.so-net.ne.jp> 0.0.4-1
  82. - initial release