qimageblitz-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. %define kde_major_version 4
  2. %define qt_ver 4.6.1
  3. Name: qimageblitz
  4. Summary: Blitz KDE/Qt image filter library
  5. Version: 0.0.6
  6. Release: 3%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPL
  9. URL: http://sourceforge.net/projects/qimageblitz
  10. Source: %{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: qt4-devel >= %{qt_ver}
  13. BuildRequires: cmake >= 2.4.5
  14. BuildRequires: pkgconfig
  15. Requires: qt4 >= %{qt_ver}
  16. %description
  17. Blitz is a graphical effect and filter library for KDE4.0 that contains
  18. many improvements over KDE 3.x's kdefx library including bugfixes, memory
  19. and speed improvements, and MMX/SSE support.
  20. %package devel
  21. Summary: Development files for blitz
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: qt4-devel
  25. %description devel
  26. Header files for developing applications using blitz
  27. %prep
  28. %setup -q
  29. %build
  30. mkdir -p %{_target_platform}
  31. pushd %{_target_platform}
  32. %cmake -DCMAKE_BUILD_TYPE=release ..
  33. popd
  34. make %{?_smp_mflags} -C %{_target_platform}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %defattr(-,root,root)
  44. %{_bindir}*
  45. %{_libdir}/*.so.*
  46. %files devel
  47. %defattr(-,root,root)
  48. %{_includedir}/qimageblitz
  49. %{_libdir}/*.so
  50. %{_libdir}/pkgconfig/*.pc
  51. %changelog
  52. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.6-3
  53. - rebuild with current VineSeed environment
  54. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-2
  55. - rebuilt with rpm-4.8.1
  56. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-1
  57. - new upstream release
  58. * Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.0.4-4
  59. - use %%cmake macro
  60. - drop redundant cmake options
  61. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.4-3
  62. - rebuilt with qt-4.5.2
  63. * Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-2
  64. - added -DLIB_INSTALL_DIR=%%{_libdir} at cmake
  65. * Sun Oct 12 2008 AKIYAMA KAzuhito <akiyama@yb3.so-net.ne.jp> 0.0.4-1
  66. - initial release