qimageblitz-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define kde_major_version 4
  2. %define qt_ver 4.5.2
  3. Name: qimageblitz
  4. Version: 0.0.4
  5. Release: 4%{?_dist_release}
  6. Summary: Blitz KDE/Qt image filter library
  7. Source: %{name}-%{version}.tar.bz2
  8. URL: http://sourceforge.net/projects/qimageblitz
  9. Group: System Environment/Libraries
  10. License: LGPL
  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. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  31. mkdir %{name}-build
  32. pushd %{name}-build
  33. %cmake -DCMAKE_BUILD_TYPE=release ..
  34. popd
  35. make %{?_smp_mflags} -C %{name}-build
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT -C %{name}-build
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %defattr(-,root,root)
  45. %{_bindir}*
  46. %{_libdir}/*.so.*
  47. %files devel
  48. %defattr(-,root,root)
  49. %{_includedir}/qimageblitz
  50. %{_libdir}/*.so
  51. %{_libdir}/pkgconfig/*.pc
  52. %changelog
  53. * Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.0.4-4
  54. - use %%cmake macro
  55. - drop redundant cmake options
  56. * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.4-3
  57. - rebuilt with qt-4.5.2
  58. * Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-2
  59. - added -DLIB_INSTALL_DIR=%%{_libdir} at cmake
  60. * Sun Oct 12 2008 AKIYAMA KAzuhito <akiyama@yb3.so-net.ne.jp> 0.0.4-1
  61. - initial release