kcharselect-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Name: kcharselect
  2. Summary: Character slector for KDE
  3. Summary(ja): KDE用文字セレクター
  4. Version: 4.14.3
  5. Release: 2%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Accessories
  8. URL: https://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: soprano-devel
  13. # when split occurred
  14. Conflicts: kdeutils < 4.8.0
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. KCharSelect is a tool to select special characters from all installed
  19. fonts and copy them in didifferent format (Plain text, Unicode or HTML)
  20. into the clipboard.
  21. %prep
  22. %setup -q
  23. %build
  24. mkdir -p %{_target_platform}
  25. pushd %{_target_platform}
  26. %cmake \
  27. -DCMAKE_BUILD_TYPE=release \
  28. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  29. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  30. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  31. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  32. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  33. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  34. ..
  35. popd
  36. make %{?_smp_mflags} -C %{_target_platform}
  37. %install
  38. rm -rf %{buildroot}
  39. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  40. %posttrans
  41. update-desktop-database -q &> /dev/null ||:
  42. %postun
  43. if [ $1 -eq 0 ] ; then
  44. update-desktop-database -q &> /dev/null ||:
  45. fi
  46. %files
  47. %doc COPYING COPYING.LIB
  48. %{_bindir}/%{name}
  49. %{_datadir}/applications/kde4/KCharSelect.desktop
  50. %{_datadir}/kde4/apps/%{name}
  51. %{_docdir}/HTML/en/%{name}
  52. %changelog
  53. * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  54. - rebuild with gcc-5.4.0
  55. * Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  56. - initila build