svgpart-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Name: svgpart
  2. Summary: SVG KPart
  3. Version: 4.7.0
  4. Release: 2%{?_dist_release}
  5. License: GPLv2+
  6. Group: System Environment/Libraries
  7. URL: https://projects.kde.org/projects/kde/kdegraphics/svgpart
  8. Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: kdelibs4-devel >= %{version}
  11. BuildRequires: soprano-devel
  12. Requires: kdelibs4 %{?_kde4_version: >= %{_kde4_version}}
  13. # when split occurred
  14. Conflicts: kdegraphics < 4.6.95-10
  15. %description
  16. %{summary}.
  17. %prep
  18. %setup -q
  19. %build
  20. mkdir -p %{_target_platform}
  21. pushd %{_target_platform}
  22. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  23. %cmake \
  24. -DCMAKE_BUILD_TYPE=release \
  25. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  26. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  27. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  28. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  29. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  30. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  31. ..
  32. popd
  33. make %{?_smp_mflags} -C %{_target_platform}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %doc COPYING
  41. %{_libdir}/kde4/%{name}.so
  42. %{_datadir}/kde4/apps/%{name}/
  43. %{_datadir}/kde4/services/%{name}.desktop
  44. %changelog
  45. * Mon Aug 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  46. - Initial build for Vine Linux
  47. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  48. - 4.7.0
  49. * Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-2
  50. - %%doc COPYING
  51. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  52. - 4.6.95
  53. - fix URL
  54. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  55. - fix Source URL
  56. - Conflicts: kdegraphics < 7:4.6.90-10
  57. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  58. - first try