thunar-vfs-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. # Review at https://bugzilla.redhat.com/show_bug.cgi?id=660159
  2. %global minorversion 1.2
  3. Name: thunar-vfs
  4. Summary: Virtual filesystem shipped with Thunar 1.0 and earlier releases
  5. Version: 1.2.0
  6. Release: 5%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPLv2+
  9. URL: http://thunar.xfce.org
  10. Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: dbus-glib-devel >= 0.34
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: freetype2-devel
  15. BuildRequires: gamin-devel
  16. BuildRequires: GConf2-devel >= 2.4.0
  17. BuildRequires: gettext
  18. BuildRequires: glib2-devel >= 2.12.0
  19. BuildRequires: gtk-doc
  20. BuildRequires: gtk2-devel >= 2.10.0
  21. BuildRequires: intltool
  22. BuildRequires: libexo-devel >= 0.6.0
  23. BuildRequires: libjpeg-devel
  24. BuildRequires: libpng-devel
  25. BuildRequires: libxfce4util-devel >= 4.8.0
  26. BuildRequires: pkgconfig
  27. BuildRequires: startup-notification-devel >= 0.4
  28. Conflicts: Thunar < 1.1.0
  29. %description
  30. This package contains the virtual filesystem shipped with Thunar 1.0 and earlier
  31. releases. It provides compatibility for applications that still use thunar-vfs
  32. while Thunar was ported to GVFS.
  33. %package devel
  34. Summary: Development files for %{name}
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: glib2-devel >= 2.12.0
  38. Requires: libexo-devel >= 0.6.0
  39. %description devel
  40. The %{name}-devel package contains libraries and header files for
  41. developing applications that use %{name}.
  42. %prep
  43. %setup -q
  44. %build
  45. %configure --disable-static --enable-gtk-doc --with-volume-manager=none
  46. make %{?_smp_mflags}
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. make install DESTDIR=$RPM_BUILD_ROOT
  50. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  51. %find_lang %{name}
  52. # remove duplicate docs
  53. rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
  54. %check
  55. make tests
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %files -f %{name}.lang
  61. %defattr(-,root,root,-)
  62. %doc AUTHORS ChangeLog NEWS README
  63. %doc docs/ThumbnailersCacheFormat.txt docs/README.volumes
  64. %{_libdir}/*.so.*
  65. %{_libdir}/thunar-vfs-*/
  66. %dir %{_datadir}/thumbnailers
  67. %{_datadir}/thumbnailers/thunar-vfs-font-thumbnailer-1.desktop
  68. %files devel
  69. %defattr(-,root,root,-)
  70. %doc HACKING TODO
  71. %doc %{_datadir}/gtk-doc/html/*
  72. %{_includedir}/*
  73. %{_libdir}/*.so
  74. %{_libdir}/pkgconfig/thunar-vfs-*.pc
  75. %changelog
  76. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-5
  77. - rebuild with Xfce-4.10.0
  78. * Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-4
  79. - remove BuildRequires: hal-devel
  80. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-3
  81. - Initial build for Vine Linux
  82. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  84. * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 1.2.0-1
  85. - Update to 1.2.0
  86. * Tue Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.1-1
  87. - Initial package