X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdarktable.git;a=blobdiff_plain;f=darktable.spec;h=d2a666802761deef074b9f8cba8cf5cac1118dc7;hp=cc719e57438cde6a1f81cb3b3aa0d6fe8c7d967d;hb=e76c52a2587fccc844532e1632866958f39470fa;hpb=8829df84de8a06da1cc0f48bf53c8b601141e015 diff --git a/darktable.spec b/darktable.spec index cc719e5..d2a6668 100644 --- a/darktable.spec +++ b/darktable.spec @@ -5,19 +5,20 @@ 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 -Release: 1 +Version: 1.4 +Release: 6 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 @@ -40,6 +41,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 @@ -58,13 +60,13 @@ darktable to wirtualny podświetlany stół i ciemnia dla fotografów %prep %setup -q +%patch0 -p1 %build install -d build cd build %cmake \ -DCMAKE_LIBRARY_PATH:PATH=%{_libdir} \ - -DDONT_INSTALL_GCONF_SCHEMAS:BOOLEAN=ON \ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ -DBINARY_PACKAGE_BUILD=1 \ -DPROJECT_VERSION:STRING="%{name}-%{version}-%{release}" \ @@ -75,11 +77,12 @@ cd build %install rm -rf $RPM_BUILD_ROOT %{__make} -C build install \ - GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \ DESTDIR=$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 @@ -88,23 +91,23 @@ rm -rf $RPM_BUILD_ROOT %post %update_desktop_database_post %update_icon_cache hicolor -%gconf_schema_install: %postun %update_desktop_database_postun %update_icon_cache hicolor -%gconf_schema_uninstall %files -f %{name}.lang %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 @@ -118,4 +121,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*