tumbler-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. %global minorversion 0.1
  2. Name: tumbler
  3. Summary: D-Bus service for applications to request thumbnails
  4. Version: 0.1.25
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://www.ohloh.net/p/tumbler-xfce
  9. Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.16.0
  12. BuildRequires: dbus-devel >= 1.0.0
  13. BuildRequires: dbus-glib-devel >= 0.72
  14. BuildRequires: gdk-pixbuf2-devel >= 2.14.0
  15. BuildRequires: freetype2-devel
  16. BuildRequires: libpng-devel >= 1.2.0
  17. %description
  18. Tumbler is a D-Bus service for applications to request thumbnails for
  19. various URI schemes and MIME types. It is an implementation of the
  20. thumbnail management D-Bus specification described on
  21. http://live.gnome.org/ThumbnailerSpec
  22. written in an object-oriented fashion using GLib and GObject. Its
  23. modular architecture makes it very flexible and useful in many
  24. situations. It provides plugin interfaces for extending the URI schemes
  25. and MIME types for which thumbnails can be generated as well as
  26. for replacing the storage backend that is used to store the thumbnails
  27. on disk. Tumbler's functionality can also be extended via specialized
  28. thumbnailer services implemented in accordance to the thumbnail
  29. management D-Bus specification.
  30. %package devel
  31. Summary: Development tools for tumbler
  32. Summary(ja): tumbler の開発環境
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pkgconfig
  36. %description devel
  37. Header files and libraries for building a extension library for the
  38. tumbler.
  39. %package doc
  40. Summary: Documentation for tumbler
  41. Summary(ja): tumbler 用のドキュメント
  42. Group: Documentation
  43. Requires: %{name} = %{version}-%{release}
  44. BuildArch: noarch
  45. %description doc
  46. This package contains documentation for tumbler.
  47. %prep
  48. %setup -q
  49. %build
  50. %configure --disable-static
  51. make %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make install DESTDIR=$RPM_BUILD_ROOT
  55. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  56. %find_lang %{name}
  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. %{_libdir}/libtumbler-1.so.*
  65. %{_libdir}/tumbler-1
  66. %{_datadir}/dbus-1/services/*.service
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %{_includedir}/tumbler-1
  70. %{_libdir}/libtumbler-1.so
  71. %{_libdir}/pkgconfig/tumbler-1.pc
  72. %files doc
  73. %defattr(-,root,root,-)
  74. %{_datadir}/gtk-doc/html/%{name}
  75. %changelog
  76. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.25-1
  77. - initial build for Vine Linux