Thunar-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. Name: Thunar
  2. Summary: modern file manager
  3. Summary(ja): 近代的なファイルマネージャ
  4. Version: 1.4.0
  5. Release: 3%{?_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.8.0
  16. BuildRequires: libgudev1-devel >= 145
  17. BuildRequires: libnotify-devel >= 0.4.0
  18. BuildRequires: libSM-devel
  19. BuildRequires: libxfce4ui-devel >= 4.10.0
  20. BuildRequires: libxfce4util-devel >= 4.10.0
  21. BuildRequires: pcre-devel >= 6.0
  22. BuildRequires: pkgconfig
  23. BuildRequires: startup-notification-devel >= 0.4
  24. BuildRequires: xfce4-panel-devel >= 4.10.0
  25. BuildRequires: xfconf
  26. Obsoletes: xffm
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. %description
  30. Thunar is a modern file manager for the Unix/Linux desktop, aiming to be
  31. easy-to-use and fast.
  32. %package devel
  33. Summary: Development headers for Thunar
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: glib2-devel >= 2.18.0
  37. Requires: gtk2-devel >= 2.14.0
  38. %description devel
  39. This package includes the header files you will need to build
  40. plugins for Thunar.
  41. %prep
  42. %setup -q
  43. %build
  44. %configure --enable-silent-rules
  45. make %{?_smp_mflags}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  49. ## remove unuse files
  50. rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
  51. rm -rf $RPM_BUILD_ROOT/%{_libdir}/thunarx-2/*.la
  52. rm -rf $RPM_BUILD_ROOT/%{_libdir}/xfce4/panel/plugins/*.la
  53. rm -rf $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/icon-theme.cache
  54. rm -rf _docs_to_include
  55. mkdir -p _docs_to_include
  56. mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* _docs_to_include
  57. #cp AUTHORS COPYING COPYING.LIB ChangeLog FAQ HACKING NEWS README THANKS TODO $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
  58. %find_lang %{name}
  59. %clean
  60. rm -rf $RPM_BUILD_ROOT
  61. %post
  62. /sbin/ldconfig
  63. touch --no-create %{_datadir}/icons/hicolor
  64. %posttrans
  65. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  66. %postun
  67. /sbin/ldconfig
  68. if [ $1 -eq 0 ] ; then
  69. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  70. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  71. fi
  72. %files -f %{name}.lang
  73. %defattr(-,root,root)
  74. %doc AUTHORS COPYING COPYING.LIB ChangeLog FAQ NEWS README THANKS
  75. %doc _docs_to_include/*
  76. %{_sysconfdir}/xdg/Thunar
  77. %{_bindir}/*
  78. %{_libdir}/lib*.so.*
  79. %dir %{_libdir}/Thunar
  80. %{_libdir}/Thunar/*
  81. %dir %{_libdir}/thunarx-2
  82. %{_libdir}/thunarx-2/*.so
  83. %{_libdir}/xfce4/panel/plugins/lib*.so
  84. %{_datadir}/Thunar
  85. %{_datadir}/applications/*.desktop
  86. %{_datadir}/dbus-1/services/*.service
  87. %{_datadir}/icons/hicolor/*
  88. %{_datadir}/pixmaps/Thunar
  89. #{_datadir}/thumbnailers
  90. %{_datadir}/xfce4/panel-plugins/thunar-tpa.desktop
  91. %{_mandir}/man1/Thunar*
  92. %files devel
  93. %defattr(-,root,root)
  94. %{_includedir}/thunarx-2
  95. %{_libdir}/lib*.so
  96. %{_libdir}/pkgconfig/*.pc
  97. %{_datadir}/gtk-doc/html/thunarx
  98. %changelog
  99. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.4.0-3
  100. - rebuild with VineSeed environment
  101. * Thu Oct 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.4.0-2
  102. - rebuild with pcre-8.31
  103. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.4.0-1
  104. - new upstream release
  105. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.2-1
  106. - new upstream release
  107. - built with libnotify-0.7.3 (VineSeed)
  108. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-1
  109. - new upstream release
  110. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-1
  111. - new upstream release
  112. - built with new toolchain
  113. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-1
  114. - new upstream release
  115. - split devel subpackage
  116. * Mon Sep 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.0-3
  117. - add BuildRequires: xfce4-panel
  118. (needed to build thunar-tpa.desktop)
  119. * Thu Sep 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.0-2vl5
  120. - added BuildRequires: libexo-devel, dbus-glib-devel, hal-devel
  121. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.0-1vl5
  122. - applied new versioning policy
  123. - removed *.la
  124. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.9.0-0vl2
  125. - new upstream release.
  126. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.8.0-0vl2
  127. - build for VineSeed
  128. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.8.0-0vl1
  129. - initial release