X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdarktable.git;a=blobdiff_plain;f=darktable.spec;h=e9d9f49d97949a2a24d4a28e6ffe0d19da6ba477;hp=43e239238e71c0e9ce9531bbcaa752b52b7ec7b8;hb=dcfc9a0f2e6691332636da110010005720cfadef;hpb=e41de393a1e56bcde20991a67bb4df4d41ce8d84 diff --git a/darktable.spec b/darktable.spec index 43e2392..e9d9f49 100644 --- a/darktable.spec +++ b/darktable.spec @@ -5,20 +5,22 @@ Summary: darktable is a virtual lighttable and darkroom for photographers Summary(pl.UTF-8): darktable to wirtualny podświetlany stół i ciemnia dla fotografów Name: darktable -Version: 1.0.5 +Version: 1.4 Release: 1 License: GPL v3 Group: X11/Applications/Graphics -Source0: http://downloads.sourceforge.net/darktable/%{name}-%{version}.tar.gz -# Source0-md5: 9ad88a1a6b9761fce28c8073d8f47941 +Source0: http://downloads.sourceforge.net/darktable/%{name}-%{version}.tar.xz +# Source0-md5: 896416931ded4579f528cd11edad470c Patch0: cmake-glib.patch URL: http://darktable.sourceforge.net/ BuildRequires: GConf2 BuildRequires: GConf2-devel -BuildRequires: OpenEXR-devel >= 1.6 +BuildRequires: GraphicsMagick-devel +BuildRequires: OpenEXR-devel >= 2.0 BuildRequires: SDL-devel BuildRequires: cairo-devel BuildRequires: cmake +BuildRequires: colord-devel BuildRequires: curl-devel >= 7.18.0 BuildRequires: dbus-glib-devel >= 0.80 BuildRequires: desktop-file-utils @@ -41,6 +43,7 @@ BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: librsvg-devel >= 1:2.26 BuildRequires: libtiff-devel +BuildRequires: lua52-devel BuildRequires: pkgconfig >= 0.22 BuildRequires: sqlite-devel BuildRequires: sqlite3-devel @@ -59,7 +62,7 @@ darktable to wirtualny podświetlany stół i ciemnia dla fotografów %prep %setup -q -%patch0 +%patch0 -p1 %build install -d build @@ -82,6 +85,8 @@ rm -rf $RPM_BUILD_ROOT %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} +%{__mv} $RPM_BUILD_ROOT%{_localedir}/pt{_PT,} + %find_lang %{name} --with-gnome --with-omf %clean @@ -101,12 +106,14 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc doc/README doc/AUTHORS doc/LICENSE doc/TRANSLATORS %attr(755,root,root) %{_bindir}/darktable +%attr(755,root,root) %{_bindir}/darktable-cli %attr(755,root,root) %{_bindir}/darktable-cltest %attr(755,root,root) %{_bindir}/darktable-viewer +%{_datadir}/appdata/darktable.appdata.xml %{_datadir}/darktable %{_desktopdir}/darktable.desktop %{_iconsdir}/hicolor/*/apps/darktable.png -%{_iconsdir}/hicolor/scalable/apps/darktable.svg +%{_iconsdir}/hicolor/scalable/apps/darktable*.svg %dir %{_libdir}/darktable %dir %{_libdir}/darktable/plugins %dir %{_libdir}/darktable/plugins/imageio @@ -120,4 +127,5 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/darktable/plugins/imageio/storage/*.so %attr(755,root,root) %{_libdir}/darktable/plugins/lighttable/*.so %attr(755,root,root) %{_libdir}/darktable/views/*.so -%{_mandir}/man1/darktable.* +%{_mandir}/man1/darktable.1* +%{_mandir}/man1/darktable-cli.1*