thunar-vfs-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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: 3%{?_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: hal-devel >= 0.5.7
  22. BuildRequires: intltool
  23. BuildRequires: libexo-devel >= 0.6.0
  24. BuildRequires: libjpeg-devel
  25. BuildRequires: libpng-devel
  26. BuildRequires: libxfce4util-devel >= 4.8.0
  27. BuildRequires: pkgconfig
  28. BuildRequires: startup-notification-devel >= 0.4
  29. Conflicts: Thunar < 1.1.0
  30. %description
  31. This package contains the virtual filesystem shipped with Thunar 1.0 and earlier
  32. releases. It provides compatibility for applications that still use thunar-vfs
  33. while Thunar was ported to GVFS.
  34. %package devel
  35. Summary: Development files for %{name}
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}-%{release}
  38. Requires: glib2-devel >= 2.12.0
  39. Requires: libexo-devel >= 0.6.0
  40. %description devel
  41. The %{name}-devel package contains libraries and header files for
  42. developing applications that use %{name}.
  43. %prep
  44. %setup -q
  45. %build
  46. %configure --disable-static --enable-gtk-doc
  47. make %{?_smp_mflags}
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. make install DESTDIR=$RPM_BUILD_ROOT
  51. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  52. %find_lang %{name}
  53. # remove duplicate docs
  54. rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
  55. %check
  56. make tests
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,-)
  63. %doc AUTHORS ChangeLog NEWS README
  64. %doc docs/ThumbnailersCacheFormat.txt docs/README.volumes
  65. %{_libdir}/*.so.*
  66. %{_libdir}/thunar-vfs-*/
  67. %dir %{_datadir}/thumbnailers
  68. %{_datadir}/thumbnailers/thunar-vfs-font-thumbnailer-1.desktop
  69. %files devel
  70. %defattr(-,root,root,-)
  71. %doc HACKING TODO
  72. %doc %{_datadir}/gtk-doc/html/*
  73. %{_includedir}/*
  74. %{_libdir}/*.so
  75. %{_libdir}/pkgconfig/thunar-vfs-*.pc
  76. %changelog
  77. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-3
  78. - Initial build for Vine Linux
  79. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  81. * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 1.2.0-1
  82. - Update to 1.2.0
  83. * Tue Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.1-1
  84. - Initial package