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