1 | %global minorversion 0.1 |
---|
2 | |
---|
3 | Name: tumbler |
---|
4 | Summary: D-Bus service for applications to request thumbnails |
---|
5 | Version: 0.1.25 |
---|
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: glib2-devel >= 2.16.0 |
---|
17 | BuildRequires: dbus-devel >= 1.0.0 |
---|
18 | BuildRequires: dbus-glib-devel >= 0.72 |
---|
19 | BuildRequires: gdk-pixbuf2-devel >= 2.14.0 |
---|
20 | BuildRequires: freetype2-devel |
---|
21 | BuildRequires: libpng-devel >= 1.2.0 |
---|
22 | |
---|
23 | %description |
---|
24 | Tumbler is a D-Bus service for applications to request thumbnails for |
---|
25 | various URI schemes and MIME types. It is an implementation of the |
---|
26 | thumbnail management D-Bus specification described on |
---|
27 | |
---|
28 | http://live.gnome.org/ThumbnailerSpec |
---|
29 | |
---|
30 | written in an object-oriented fashion using GLib and GObject. Its |
---|
31 | modular architecture makes it very flexible and useful in many |
---|
32 | situations. It provides plugin interfaces for extending the URI schemes |
---|
33 | and MIME types for which thumbnails can be generated as well as |
---|
34 | for replacing the storage backend that is used to store the thumbnails |
---|
35 | on disk. Tumbler's functionality can also be extended via specialized |
---|
36 | thumbnailer services implemented in accordance to the thumbnail |
---|
37 | management D-Bus specification. |
---|
38 | |
---|
39 | |
---|
40 | %package devel |
---|
41 | Summary: Development tools for tumbler |
---|
42 | Summary(ja): tumbler の開発環境 |
---|
43 | Group: Development/Libraries |
---|
44 | Requires: %{name} = %{version}-%{release} |
---|
45 | Requires: pkgconfig |
---|
46 | |
---|
47 | %description devel |
---|
48 | Header files and libraries for building a extension library for the |
---|
49 | tumbler. |
---|
50 | |
---|
51 | |
---|
52 | %package doc |
---|
53 | Summary: Documentation for tumbler |
---|
54 | Summary(ja): tumbler 用のドキュメント |
---|
55 | Group: Documentation |
---|
56 | Requires: %{name} = %{version}-%{release} |
---|
57 | BuildArch: noarch |
---|
58 | |
---|
59 | |
---|
60 | %description doc |
---|
61 | This package contains documentation for tumbler. |
---|
62 | |
---|
63 | |
---|
64 | %prep |
---|
65 | %setup -q |
---|
66 | |
---|
67 | %build |
---|
68 | %configure --disable-static |
---|
69 | make %{?_smp_mflags} |
---|
70 | |
---|
71 | |
---|
72 | %install |
---|
73 | rm -rf $RPM_BUILD_ROOT |
---|
74 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
75 | |
---|
76 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
77 | |
---|
78 | %find_lang %{name} |
---|
79 | |
---|
80 | |
---|
81 | %clean |
---|
82 | rm -rf $RPM_BUILD_ROOT |
---|
83 | |
---|
84 | |
---|
85 | %post -p /sbin/ldconfig |
---|
86 | |
---|
87 | %postun -p /sbin/ldconfig |
---|
88 | |
---|
89 | |
---|
90 | %files -f %{name}.lang |
---|
91 | %defattr(-,root,root,-) |
---|
92 | %doc AUTHORS ChangeLog NEWS README |
---|
93 | %{_libdir}/libtumbler-1.so.* |
---|
94 | %{_libdir}/tumbler-1 |
---|
95 | %{_datadir}/dbus-1/services/*.service |
---|
96 | |
---|
97 | |
---|
98 | %files devel |
---|
99 | %defattr(-,root,root,-) |
---|
100 | %{_includedir}/tumbler-1 |
---|
101 | %{_libdir}/libtumbler-1.so |
---|
102 | %{_libdir}/pkgconfig/tumbler-1.pc |
---|
103 | |
---|
104 | %files doc |
---|
105 | %defattr(-,root,root,-) |
---|
106 | %{_datadir}/gtk-doc/html/%{name} |
---|
107 | |
---|
108 | |
---|
109 | %changelog |
---|
110 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.1.25-1 |
---|
111 | - initial build for Vine Linux |
---|
112 | |
---|