kio_sysinfo-vl.spec 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. %define SYSINFO_DISTRO vine
  2. Name: kio_sysinfo
  3. Summary: KIO slave which shows basic system information
  4. Version: 20090930
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: GPLv2+
  8. URL: http://www.kde.org/
  9. Source0: http://ktown.kde.org/~lukas/kio_sysinfo/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs4-devel
  12. BuildRequires: cmake
  13. BuildRequires: dbus-devel giflib-devel pcre-devel
  14. BuildRequires: gettext
  15. %description
  16. This is a sysinfo:/ KIO slave, which shows basic system information often
  17. requested by users.
  18. %prep
  19. %setup -q
  20. %build
  21. mkdir -p %{_target_platform}
  22. pushd %{_target_platform}
  23. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  24. %cmake \
  25. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  26. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  27. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  28. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  29. -DSYSINFO_DISTRO:STRING=%{SYSINFO_DISTRO} ..
  30. popd
  31. make %{?_smp_mflags} -C %{_target_platform}
  32. %install
  33. rm -rf %{buildroot}
  34. mkdir %{buildroot}
  35. make install DESTDIR=%{buildroot} -C %{_target_platform}
  36. %find_lang kio_sysinfo
  37. %clean
  38. rm -rf %{buildroot}
  39. %files -f kio_sysinfo.lang
  40. %defattr(-,root,root,-)
  41. %doc README COPYING
  42. %{_libdir}/kde4/kio_sysinfo.so
  43. %{_libdir}/kde4/libksysinfopart.so
  44. %{_datadir}/applications/kde4/kfmclient_sysinfo.desktop
  45. %{_datadir}/kde4/apps/sysinfo/about/
  46. %{_datadir}/kde4/services/ksysinfopart.desktop
  47. %{_datadir}/kde4/services/sysinfo.protocol
  48. %{_datadir}/mime/packages/x-sysinfo.xml
  49. %changelog
  50. * Sat Jul 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090930-2
  51. - BR: kdelibs4-devel instead of kdelibs-devel
  52. * Sat Feb 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090930-1
  53. - new upstream release
  54. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090620-3
  55. - Initial build for Vine Linux
  56. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090620-2
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  58. * Sat Jun 20 2009 Lukáš Tinkl <ltinkl@redhat.com> - 20090620-1
  59. - new upstream version
  60. - drop patches
  61. - added battery status
  62. - updated translations
  63. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090216-3
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  65. * Mon Feb 16 2009 Jaroslav Reznik <jreznik@redhat.com> 20090216-2
  66. - gettext requires
  67. - conversion patch
  68. * Mon Feb 16 2009 Jaroslav Reznik <jreznik@redhat.com> 20090216-1
  69. - owns about directory
  70. - new version
  71. * Wed Nov 21 2008 Jaroslav Reznik <jreznik@redhat.com> 20081121-1
  72. - initial package
  73. - use SYSINFO_DISTRO