Thunar-vl.spec 4.0 KB

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