- Requires(post,postun): gtk-update-icon-cache
[packages/darktable.git] / darktable.spec
1 Summary:        darktable is a virtual lighttable and darkroom for photographers
2 Summary(pl.UTF-8):      darktable to wirtualny podświetlany stół i ciemnia dla fotografów
3 Name:           darktable
4 Version:        0.6
5 Release:        2
6 License:        GPL v3
7 Group:          X11/Applications/Graphics
8 Source0:        http://downloads.sourceforge.net/darktable/%{name}-%{version}.tar.gz
9 # Source0-md5:  64a0c4ba2000605137ba2e57434ee3fe
10 URL:            http://darktable.sourceforge.net/
11 BuildRequires:  GConf2-devel
12 BuildRequires:  OpenEXR-devel
13 BuildRequires:  curl-devel
14 BuildRequires:  dbus-glib-devel
15 BuildRequires:  exiv2-devel
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel
18 BuildRequires:  intltool
19 BuildRequires:  lcms-devel
20 BuildRequires:  lensfun-devel
21 BuildRequires:  libglade2-devel
22 BuildRequires:  libgnome-keyring-devel
23 BuildRequires:  libgomp-devel
24 BuildRequires:  libgphoto2-devel
25 BuildRequires:  libjpeg-devel
26 BuildRequires:  libtiff-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  sqlite3-devel
29 Requires(post,postun):  gtk-update-icon-cache
30 Requires(post,postun):  hicolor-icon-theme
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 darktable is a virtual lighttable and darkroom for photographers
35
36 %description -l pl.UTF-8
37 darktable to wirtualny podświetlany stół i ciemnia dla fotografów
38
39 %prep
40 %setup -q
41
42 %build
43
44 %configure \
45         --disable-static
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %find_lang %{name} --with-gnome --with-omf
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 %update_desktop_database_post
61 %update_icon_cache hicolor
62 %gconf_schema_install:
63
64 %postun
65 %update_desktop_database_postun
66 %update_icon_cache hicolor
67 %gconf_schema_uninstall
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc AUTHORS README
72 %attr(755,root,root)  %{_bindir}/darktable
73 %{_datadir}/darktable
74 %{_desktopdir}/darktable.desktop
75 %{_iconsdir}/hicolor/*/apps/darktable.png
76 %{_iconsdir}/hicolor/scalable/apps/darktable.svg
77 %dir %{_libdir}/darktable
78 %dir %{_libdir}/darktable/plugins
79 %dir %{_libdir}/darktable/plugins/imageio
80 %dir %{_libdir}/darktable/plugins/imageio/format
81 %dir %{_libdir}/darktable/plugins/imageio/storage
82 %dir %{_libdir}/darktable/plugins/lighttable
83 %dir %{_libdir}/darktable/views
84 %attr(755,root,root) %{_libdir}/darktable/libdarktable.so
85 %attr(755,root,root) %{_libdir}/darktable/plugins/*.so
86 %attr(755,root,root) %{_libdir}/darktable/plugins/imageio/format/*.so
87 %attr(755,root,root) %{_libdir}/darktable/plugins/imageio/storage/*.so
88 %attr(755,root,root) %{_libdir}/darktable/plugins/lighttable/*.so
89 %attr(755,root,root) %{_libdir}/darktable/views/*.so
90 %{_mandir}/man1/darktable.*
91 %{_sysconfdir}/gconf/schemas/darktable.schemas
This page took 0.074695 seconds and 4 git commands to generate.