kio_sysinfo-vl.spec 2.9 KB

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