1 | %global minorversion 0.1 |
---|
2 | |
---|
3 | Name: tumbler |
---|
4 | Summary: D-Bus service for applications to request thumbnails |
---|
5 | Version: 0.1.30 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: LGPLv2+ |
---|
10 | URL: http://www.ohloh.net/p/tumbler-xfce |
---|
11 | |
---|
12 | Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildRequires: curl-devel |
---|
17 | BuildRequires: dbus-devel >= 1.0.0 |
---|
18 | BuildRequires: dbus-glib-devel >= 0.72 |
---|
19 | BuildRequires: freetype2-devel |
---|
20 | BuildRequires: gdk-pixbuf2-devel >= 2.14.0 |
---|
21 | BuildRequires: glib2-devel >= 2.16.0 |
---|
22 | BuildRequires: gstreamer1-plugins-base-devel |
---|
23 | BuildRequires: libgsf-devel |
---|
24 | BuildRequires: libjpeg-devel |
---|
25 | BuildRequires: libopenraw-gnome-devel |
---|
26 | BuildRequires: libpng-devel >= 1.2.0 |
---|
27 | BuildRequires: poppler-devel |
---|
28 | |
---|
29 | Vendor: Project Vine |
---|
30 | Distribution: Vine Linux |
---|
31 | |
---|
32 | %description |
---|
33 | Tumbler is a D-Bus service for applications to request thumbnails for |
---|
34 | various URI schemes and MIME types. It is an implementation of the |
---|
35 | thumbnail management D-Bus specification described on |
---|
36 | |
---|
37 | http://live.gnome.org/ThumbnailerSpec |
---|
38 | |
---|
39 | written in an object-oriented fashion using GLib and GObject. Its |
---|
40 | modular architecture makes it very flexible and useful in many |
---|
41 | situations. It provides plugin interfaces for extending the URI schemes |
---|
42 | and MIME types for which thumbnails can be generated as well as |
---|
43 | for replacing the storage backend that is used to store the thumbnails |
---|
44 | on disk. Tumbler's functionality can also be extended via specialized |
---|
45 | thumbnailer services implemented in accordance to the thumbnail |
---|
46 | management D-Bus specification. |
---|
47 | |
---|
48 | |
---|
49 | %package devel |
---|
50 | Summary: Development tools for tumbler |
---|
51 | Summary(ja): tumbler の開発環境 |
---|
52 | Group: Development/Libraries |
---|
53 | Requires: %{name} = %{version}-%{release} |
---|
54 | Requires: pkgconfig |
---|
55 | |
---|
56 | %description devel |
---|
57 | Header files and libraries for building a extension library for the |
---|
58 | tumbler. |
---|
59 | |
---|
60 | |
---|
61 | %package doc |
---|
62 | Summary: Documentation for tumbler |
---|
63 | Summary(ja): tumbler 用のドキュメント |
---|
64 | Group: Documentation |
---|
65 | Requires: %{name} = %{version}-%{release} |
---|
66 | BuildArch: noarch |
---|
67 | |
---|
68 | |
---|
69 | %description doc |
---|
70 | This package contains documentation for tumbler. |
---|
71 | |
---|
72 | |
---|
73 | %prep |
---|
74 | %setup -q |
---|
75 | |
---|
76 | %build |
---|
77 | %configure --disable-static |
---|
78 | make %{?_smp_mflags} |
---|
79 | |
---|
80 | |
---|
81 | %install |
---|
82 | rm -rf $RPM_BUILD_ROOT |
---|
83 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
84 | |
---|
85 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
86 | |
---|
87 | %find_lang %{name} |
---|
88 | |
---|
89 | |
---|
90 | %clean |
---|
91 | rm -rf $RPM_BUILD_ROOT |
---|
92 | |
---|
93 | |
---|
94 | %post -p /sbin/ldconfig |
---|
95 | |
---|
96 | %postun -p /sbin/ldconfig |
---|
97 | |
---|
98 | |
---|
99 | %files -f %{name}.lang |
---|
100 | %defattr(-,root,root,-) |
---|
101 | %doc AUTHORS ChangeLog NEWS README |
---|
102 | %dir %{_sysconfdir}/xdg/tumbler |
---|
103 | %config %{_sysconfdir}/xdg/tumbler/tumbler.rc |
---|
104 | %{_libdir}/libtumbler-1.so.* |
---|
105 | %{_libdir}/tumbler-1 |
---|
106 | %{_datadir}/dbus-1/services/*.service |
---|
107 | |
---|
108 | |
---|
109 | %files devel |
---|
110 | %defattr(-,root,root,-) |
---|
111 | %{_includedir}/tumbler-1 |
---|
112 | %{_libdir}/libtumbler-1.so |
---|
113 | %{_libdir}/pkgconfig/tumbler-1.pc |
---|
114 | |
---|
115 | %files doc |
---|
116 | %defattr(-,root,root,-) |
---|
117 | %{_datadir}/gtk-doc/html/%{name} |
---|
118 | |
---|
119 | |
---|
120 | %changelog |
---|
121 | * Sat Sep 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.1.30-1 |
---|
122 | - updated to 0.1.30 |
---|
123 | - updated BR |
---|
124 | |
---|
125 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.25-2 |
---|
126 | - rebuild with VineSeed environment |
---|
127 | |
---|
128 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.25-1 |
---|
129 | - initial build for Vine Linux |
---|
130 | |
---|