1 | Name: raw-thumbnailer |
---|
2 | Version: 0.99.1 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Nautilus file manager thumbnailer for RAW images |
---|
5 | |
---|
6 | Group: Applications/Multimedia |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://libopenraw.freedesktop.org/wiki/RawThumbnailer |
---|
9 | Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | |
---|
12 | Requires(pre): GConf2 |
---|
13 | Requires(post): GConf2 |
---|
14 | Requires(preun): GConf2 |
---|
15 | |
---|
16 | BuildRequires: libgsf-devel |
---|
17 | BuildRequires: libopenraw-gnome-devel |
---|
18 | BuildRequires: perl(XML::Parser) |
---|
19 | BuildRequires: gnome-vfs2-devel |
---|
20 | BuildRequires: gtk2-devel |
---|
21 | |
---|
22 | %description |
---|
23 | RawThumbnailer is a thumbnailer for RAW files that works with Nautilus. |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q |
---|
27 | |
---|
28 | |
---|
29 | %build |
---|
30 | %configure --disable-schemas-install |
---|
31 | make %{?_smp_mflags} |
---|
32 | |
---|
33 | |
---|
34 | %install |
---|
35 | rm -rf $RPM_BUILD_ROOT |
---|
36 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
37 | |
---|
38 | |
---|
39 | %clean |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | %pre |
---|
43 | if [ "$1" -gt 1 ] ; then |
---|
44 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
45 | gconftool-2 --makefile-uninstall-rule \ |
---|
46 | %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || : |
---|
47 | fi |
---|
48 | |
---|
49 | %post |
---|
50 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
51 | gconftool-2 --makefile-install-rule \ |
---|
52 | %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : |
---|
53 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
54 | |
---|
55 | %preun |
---|
56 | if [ "$1" -eq 0 ] ; then |
---|
57 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
58 | gconftool-2 --makefile-uninstall-rule \ |
---|
59 | %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : |
---|
60 | fi |
---|
61 | |
---|
62 | %postun |
---|
63 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
64 | |
---|
65 | %files |
---|
66 | %defattr(-,root,root,-) |
---|
67 | %{_bindir}/raw-thumbnailer |
---|
68 | %{_datadir}/mime/packages/*.xml |
---|
69 | %doc AUTHORS COPYING NEWS |
---|
70 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
---|
71 | |
---|
72 | |
---|
73 | %changelog |
---|
74 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1-6 |
---|
75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
76 | |
---|
77 | * Mon Feb 22 2010 Victor Bogado <victor@bogado.net> - 0.99.1-5 |
---|
78 | - License tag |
---|
79 | - gconf schemas don't recieve the "config" macro. |
---|
80 | |
---|
81 | * Mon Feb 08 2010 Victor Bogado <victor@bogado.net> - 0.99.1-4 |
---|
82 | - More adjustments, fine tunnings, sugjested by ELMORABITY Mohamed in (https://bugzilla.redhat.com/show_bug.cgi?id=533887#c6). |
---|
83 | |
---|
84 | * Wed Dec 30 2009 Victor Bogado <victor@bogado.net> - 0.99.1-3 |
---|
85 | - Fixed problems pointed out by ELMORABITY Mohamed in (https://bugzilla.redhat.com/show_bug.cgi?id=533887#c2). |
---|
86 | |
---|
87 | * Mon Nov 09 2009 Victor Bogado <victor@bogado.net> - 0.99.1-2 |
---|
88 | - Compleated some missing some build requires. |
---|
89 | |
---|
90 | * Mon Nov 09 2009 Victor Bogado <victor@bogado.net> - 0.99.1-1 |
---|
91 | - Initial spec file |
---|