- initial, works
[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:        1
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:  lcms-devel
19 BuildRequires:  lensfun-devel
20 BuildRequires:  libglade2-devel
21 BuildRequires:  libgnome-keyring-devel
22 BuildRequires:  libgomp-devel
23 BuildRequires:  libgphoto2-devel
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  libtiff-devel
26 BuildRequires:  sqlite3-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 darktable is a virtual lighttable and darkroom for photographers
31
32 %description -l pl.UTF-8
33 darktable to wirtualny podświetlany stół i ciemnia dla fotografów
34
35 %prep
36 %setup -q
37
38 %build
39
40 %configure \
41         --disable-static
42
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %find_lang %{name} --with-gnome --with-omf
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 %update_desktop_database_post
57 %update_icon_cache hicolor
58 %gconf_schema_install:
59
60 %postun
61 %update_desktop_database_postun
62 %update_icon_cache hicolor
63 %gconf_schema_uninstall
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc AUTHORS README
68 %attr(755,root,root)  %{_bindir}/darktable
69 %{_datadir}/darktable
70 %{_desktopdir}/darktable.desktop
71 %{_iconsdir}/hicolor/*/apps/darktable.png
72 %{_iconsdir}/hicolor/scalable/apps/darktable.svg
73 %dir %{_libdir}/darktable
74 %dir %{_libdir}/darktable/plugins
75 %dir %{_libdir}/darktable/plugins/imageio
76 %dir %{_libdir}/darktable/plugins/imageio/format
77 %dir %{_libdir}/darktable/plugins/imageio/storage
78 %dir %{_libdir}/darktable/plugins/lighttable
79 %dir %{_libdir}/darktable/views
80 %attr(755,root,root) %{_libdir}/darktable/libdarktable.so
81 %attr(755,root,root) %{_libdir}/darktable/plugins/*.so
82 %attr(755,root,root) %{_libdir}/darktable/plugins/imageio/format/*.so
83 %attr(755,root,root) %{_libdir}/darktable/plugins/imageio/storage/*.so
84 %attr(755,root,root) %{_libdir}/darktable/plugins/lighttable/*.so
85 %attr(755,root,root) %{_libdir}/darktable/views/*.so
86 %{_mandir}/man1/darktable.*
87 %{_sysconfdir}/gconf/schemas/darktable.schemas
This page took 0.053988 seconds and 4 git commands to generate.