source: projects/specs/branches/6/r/raw-thumbnailer/raw-thumbnailer-vl.spec @ 4131

Revision 4131, 2.6 KB checked in by iwaim, 13 years ago (diff)

raw-thumbnailer-0.99.1-1

Line 
1Name:           raw-thumbnailer
2Version:        0.99.1
3Release:        1%{?_dist_release}
4Summary:        Nautilus file manager thumbnailer for RAW images
5
6Group:          Applications/Multimedia
7License:        GPLv2+
8URL:            http://libopenraw.freedesktop.org/wiki/RawThumbnailer
9Source0:        http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12Requires(pre): GConf2
13Requires(post): GConf2
14Requires(preun): GConf2
15
16BuildRequires:  libgsf-devel
17BuildRequires:  libopenraw-gnome-devel
18BuildRequires:  perl(XML::Parser)
19BuildRequires:  gnome-vfs2-devel
20BuildRequires:  gtk2-devel
21
22%description
23RawThumbnailer 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
31make %{?_smp_mflags}
32
33
34%install
35rm -rf $RPM_BUILD_ROOT
36make install DESTDIR=$RPM_BUILD_ROOT
37
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%pre
43if [ "$1" -gt 1 ] ; then
44export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
45gconftool-2 --makefile-uninstall-rule \
46%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
47fi
48
49%post
50export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
51gconftool-2 --makefile-install-rule \
52%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
53update-mime-database %{_datadir}/mime &> /dev/null || :
54
55%preun
56if [ "$1" -eq 0 ] ; then
57export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
58gconftool-2 --makefile-uninstall-rule \
59%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
60fi
61
62%postun
63update-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
Note: See TracBrowser for help on using the repository browser.