Thunar-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Summary: modern file manager
  2. Summary(ja): 近代的なファイルマネージャ
  3. Name: Thunar
  4. Version: 1.0.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2 and LGPLv2
  7. URL: http://www.xfce.org/
  8. Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
  9. Group: User Interface/Desktops
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libexo-devel >= 0.3.100
  12. BuildRequires: glib2-devel >= 2.12.0
  13. BuildRequires: gtk2-devel >= 2.10.0
  14. BuildRequires: libxfce4util-devel >= 4.6.0
  15. BuildRequires: libpng-devel >= 1.2.0
  16. BuildRequires: dbus-glib-devel >= 0.34
  17. BuildRequires: GConf2-devel >= 2.4.0
  18. BuildRequires: startup-notification-devel >= 0.4
  19. BuildRequires: freetype2-devel
  20. BuildRequires: gamin-devel >= 0.1.0
  21. BuildRequires: hal-devel >= 0.5.0
  22. BuildRequires: libexif-devel >= 0.6.0
  23. BuildRequires: pcre-devel >= 6.0
  24. BuildRequires: xfce4-panel-devel >= 4.3.90
  25. Obsoletes: xffm
  26. %description
  27. Thunar is a modern file manager for the Unix/Linux desktop, aiming to be
  28. easy-to-use and fast.
  29. %package devel
  30. Summary: Development headers for Thunar
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: libexo-devel >= 0.3.100
  34. Requires: gtk2-devel >= 2.10.0
  35. Requires: pkgconfig
  36. %description devel
  37. This package includes the header files you will need to build
  38. plugins for Thunar.
  39. %prep
  40. %setup -q
  41. %build
  42. %configure
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. %makeinstall
  47. rm -rf docs_to_include
  48. mkdir -p docs_to_include
  49. mv $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/* docs_to_include
  50. #cp AUTHORS COPYING COPYING.LIB ChangeLog FAQ HACKING NEWS README THANKS TODO $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
  51. %find_lang %{name}
  52. ## remove unuse files
  53. rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
  54. rm -rf $RPM_BUILD_ROOT/%{_libdir}/thunarx-1/*.la
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %post
  58. touch --no-create %{_datadir}/icons/hicolor
  59. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  60. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  61. fi
  62. /sbin/ldconfig
  63. %postun
  64. touch --no-create %{_datadir}/icons/hicolor
  65. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  66. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  67. fi
  68. /sbin/ldconfig
  69. %files -f %{name}.lang
  70. %defattr(-,root,root)
  71. %doc AUTHORS COPYING COPYING.LIB ChangeLog FAQ NEWS README THANKS
  72. %doc docs_to_include/*
  73. %{_sysconfdir}/xdg/Thunar
  74. %{_bindir}/*
  75. %{_libdir}/lib*.so.*
  76. %dir %{_libdir}/thunarx-1
  77. %{_libdir}/thunarx-1/*.so
  78. %{_libexecdir}/*
  79. %{_datadir}/Thunar
  80. %{_datadir}/applications/*.desktop
  81. %{_datadir}/dbus-1/services/*.service
  82. %{_datadir}/icons/hicolor/icon-theme.cache
  83. %{_datadir}/icons/hicolor/*/apps/*
  84. %{_datadir}/icons/hicolor/*/stock/navigation/*
  85. %{_datadir}/pixmaps/Thunar
  86. %{_datadir}/thumbnailers
  87. %{_datadir}/xfce4/panel-plugins/thunar-tpa.desktop
  88. %{_mandir}/man1/Thunar*
  89. %files devel
  90. %defattr(-,root,root)
  91. %{_includedir}/thunar-vfs-1
  92. %{_includedir}/thunarx-1
  93. %{_libdir}/lib*.so
  94. %{_libdir}/pkgconfig/*.pc
  95. %{_datadir}/gtk-doc/html/thunar-vfs
  96. %{_datadir}/gtk-doc/html/thunarx
  97. %changelog
  98. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-1
  99. - new upstream release
  100. - built with new toolchain
  101. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-1
  102. - new upstream release
  103. - split devel subpackage
  104. * Mon Sep 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.0-3
  105. - add BuildRequires: xfce4-panel
  106. (needed to build thunar-tpa.desktop)
  107. * Thu Sep 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.0-2vl5
  108. - added BuildRequires: libexo-devel, dbus-glib-devel, hal-devel
  109. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.0-1vl5
  110. - applied new versioning policy
  111. - removed *.la
  112. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.9.0-0vl2
  113. - new upstream release.
  114. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.8.0-0vl2
  115. - build for VineSeed
  116. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.8.0-0vl1
  117. - initial release