]> git.pld-linux.org Git - packages/digikam.git/blame - digikam.spec
- release 5 (by relup.sh)
[packages/digikam.git] / digikam.spec
CommitLineData
542fb54c 1#
d6f862d3 2%define qtver 4.8.3
44a32c2e 3%define kdever 4.10.0
b939ed32 4
71912001 5Summary: A KDE frontend for gphoto2
9336ef07 6Summary(pl.UTF-8): Interfejs KDE do gphoto2
71912001 7Name: digikam
c70dd883 8Version: 4.13.0
26e1bd6e 9Release: 5
71912001 10License: GPL
bbee21d4 11Group: X11/Applications/Graphics
5dae3618 12Source0: http://download.kde.org/stable/digikam/%{name}-%{version}.tar.bz2
c70dd883 13# Source0-md5: 930b9a89244afd1f28490d0acabbecc5
3847bb61 14Patch0: %{name}-build.patch
2010d8d7 15Patch1: sendimages-icedove.diff
e028b4c5 16Patch2: opencv3.patch
aa085c25 17Patch3: disable-videoslideshow.patch
c97fe0ce 18URL: http://www.digikam.org/
44a32c2e 19BuildRequires: ImageMagick-devel
ad6a12d4 20BuildRequires: Qt3Support-devel >= %{qtver}
b939ed32 21BuildRequires: QtCore-devel >= %{qtver}
2e4093ff 22BuildRequires: QtDesigner-devel >= %{qtver}
b939ed32 23BuildRequires: QtSql-devel >= %{qtver}
ad6a12d4 24BuildRequires: QtSvg-devel >= %{qtver}
93cbaab2 25BuildRequires: QtXmlPatterns-devel >= %{qtver}
54e075b6 26BuildRequires: automoc4
c373d0b8 27BuildRequires: clapack-devel
53105e77 28BuildRequires: cmake >= 2.8.0
5262d002 29BuildRequires: eigen3
670a830d 30BuildRequires: gettext-tools
ad6a12d4 31BuildRequires: jasper-devel
c4744ada 32BuildRequires: java-opencv
d5554f8c 33BuildRequires: kde4-baloo-devel >= %{kdever}
0459e5cb 34BuildRequires: kde4-kdelibs-devel >= %{kdever}
f1d85640 35BuildRequires: kde4-kdepimlibs-devel >= %{kdever}
ad6a12d4 36BuildRequires: lcms-devel
44a32c2e 37BuildRequires: lensfun-devel >= 0.2.6
3847bb61 38BuildRequires: libf2c-devel >= 20110801
ad6a12d4 39BuildRequires: libgphoto2-devel
93cbaab2
AM
40BuildRequires: kde4-libkdcraw-devel >= %{kdever}
41BuildRequires: kde4-libkdeedu-devel >= %{kdever}
42BuildRequires: kde4-libkexiv2-devel >= %{kdever}
43BuildRequires: kde4-libkipi-devel >= %{kdever}
44BuildRequires: kde4-libksane-devel >= %{kdever}
8fed4c5b 45BuildRequires: liblqr-devel >= 0.4.0
c373d0b8 46BuildRequires: libpgf-devel
0459e5cb 47BuildRequires: libtiff-devel
93cbaab2 48BuildRequires: kde4-marble-devel >= %{kdever}
08d3e3c0 49# fixed mysql_install_db in this version
2ea6fb31 50BuildRequires: mysql-extras >= 5.5.9-2
a49afd90 51BuildRequires: opencv-devel
4bd81adb 52BuildRequires: pkgconfig >= 1:0.9.0
c373d0b8 53BuildRequires: qjson-devel >= 0.5
53105e77 54BuildRequires: qt4-build >= %{qtver}
ad6a12d4 55BuildRequires: qt4-qmake >= %{qtver}
44a32c2e 56BuildRequires: qt-gstreamer-devel
38779549 57BuildRequires: rpmbuild(macros) >= 1.606
08c8f1c6 58BuildRequires: sed >= 4.0
9177f2c6 59BuildRequires: shared-desktop-ontologies-devel >= 0.2
0459e5cb 60BuildRequires: soprano-devel
b76f708a 61Requires: QtSql-sqlite3
09901b94 62Obsoletes: digikamimageplugins
269bc1de 63Obsoletes: kipi-plugins
71912001 64BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
65
71912001 66%description
67Designed to be a standalone application to preview and download images
5d9f4722
JB
68from a digital camera on a Linux machine.
69
c2abdcf5
JR
70%description -l pl.UTF-8
71Samodzielna aplikacja do oglądania i ściągania obrazków z aparatów
5d9f4722 72cyfrowych pod Linuksem.
71912001 73
16378764 74%package devel
75Summary: A KDE frontend for gphoto2 - header files
9336ef07 76Summary(pl.UTF-8): Interfejs KDE do gphoto2 - pliki nagłówkowe
16378764 77Group: Development/Libraries
b58138fb 78Requires: %{name} = %{version}-%{release}
16378764 79
80%description devel
b58138fb 81A KDE frontend for gphoto2 - header files.
16378764 82
c2abdcf5
JR
83%description devel -l pl.UTF-8
84Interfejs KDE do gphoto2 - pliki nagłówkowe.
16378764 85
71912001 86%prep
c34b6b99 87%setup -q
3847bb61 88%patch0 -p1
2010d8d7 89%patch1 -p1
e028b4c5 90%patch2 -p1
1e3eb4c3 91%patch3 -p1
71912001 92
53a63809 93# use kde one
efe5eb2e 94rm cmake/modules/FindK{Sane,exiv2,ipi}.cmake
53a63809 95
028efeaa 96%build
54e075b6
AM
97install -d build
98cd build
99%cmake \
c373d0b8 100 -DSERVERCMD_MYSQL=%{_sbindir}/mysqld \
44a32c2e 101 -DENABLE_RAWSPEED=ON \
5ce372d4
AM
102 -DDIGIKAMSC_COMPILE_LIBKFACE:BOOL=ON \
103 -DDIGIKAMSC_COMPILE_LIBKGEOMAP:BOOL=ON \
104 -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI:BOOL=ON \
105 -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE:BOOL=ON \
e028b4c5 106 -DENABLE_OPENCV3:BOOL=ON \
b939ed32 107 ../
54e075b6 108
71912001 109%{__make}
110
71912001 111%install
112rm -rf $RPM_BUILD_ROOT
5d9f4722 113
25125ed6 114%{__make} -C build install \
20118f11 115 DESTDIR=$RPM_BUILD_ROOT \
b91f9341 116 kde_htmldir=%{_kdedocdir} \
117 kde_libs_htmldir=%{_kdedocdir}
118
08c8f1c6 119%find_lang %{name} --with-kde --all-name
71912001 120
448c0f84
JR
121# libkipi belongs to kde4-libkipi and libkipi.mo belongs to kde4-l10n
122%{__sed} -i -e '/.*\/libkipi.mo$/d' %{name}.lang
123
71912001 124%clean
125rm -rf $RPM_BUILD_ROOT
126
e8f56759 127%post -p /sbin/ldconfig
128%postun -p /sbin/ldconfig
b58138fb 129
23238fb9 130%files -f %{name}.lang
71912001 131%defattr(644,root,root,755)
bf209cc5 132%doc README
8fed4c5b 133%attr(755,root,root) %{_bindir}/cleanup_digikamdb
25125ed6 134%attr(755,root,root) %{_bindir}/digikam
bf209cc5 135%attr(755,root,root) %{_bindir}/dngconverter
bf209cc5 136%attr(755,root,root) %{_bindir}/expoblending
5ce372d4 137%attr(755,root,root) %{_bindir}/libkgeomap_demo
291eb8d8 138%attr(755,root,root) %{_bindir}/panoramagui
963f3c1c 139%attr(755,root,root) %{_bindir}/photolayoutseditor
bf209cc5 140%attr(755,root,root) %{_bindir}/scangui
e5426923 141%dir %{_datadir}/apps/digikam/utils
f1d85640 142%attr(755,root,root) %{_datadir}/apps/digikam/utils/digikam-camera
a2d2f379
AM
143%dir %{_datadir}/apps/digikam/database
144%{_datadir}/apps/digikam/database/dbconfig.xml
145%{_datadir}/apps/digikam/database/mysql-global.conf
38f1c629 146%{_datadir}/apps/kconf_update/adjustlevelstool.upd
25125ed6
RT
147%attr(755,root,root) %{_bindir}/digitaglinktree
148%attr(755,root,root) %{_bindir}/showfoto
25125ed6 149%attr(755,root,root) %{_libdir}/libdigikamdatabase.so.*.*.*
bf209cc5 150%attr(755,root,root) %{_libdir}/libkface.so.*.*.*
efe5eb2e 151%attr(755,root,root) %ghost %{_libdir}/libkface.so.3
bf209cc5 152%attr(755,root,root) %{_libdir}/libkgeomap.so.*.*.*
efe5eb2e 153%attr(755,root,root) %ghost %{_libdir}/libkgeomap.so.2
bf209cc5 154%attr(755,root,root) %{_libdir}/libkipiplugins.so.*.*.*
bf209cc5
AM
155%attr(755,root,root) %{_libdir}/libmediawiki.so.*.*.*
156%attr(755,root,root) %ghost %{_libdir}/libmediawiki.so.1
291eb8d8
AM
157%attr(755,root,root) %{_libdir}/libkvkontakte.so.*.*.*
158%attr(755,root,root) %ghost %{_libdir}/libkvkontakte.so.1
a7ef1db7 159%attr(755,root,root) %{_libdir}/libdigikamcore.so.*.*.*
25125ed6
RT
160%attr(755,root,root) %{_libdir}/kde4/digikamimageplugin_*.so
161%attr(755,root,root) %{_libdir}/kde4/kio_digikamalbums.so
162%attr(755,root,root) %{_libdir}/kde4/kio_digikamdates.so
bf209cc5 163%attr(755,root,root) %{_libdir}/kde4/kio_digikammapimages.so
25125ed6
RT
164%attr(755,root,root) %{_libdir}/kde4/kio_digikamsearch.so
165%attr(755,root,root) %{_libdir}/kde4/kio_digikamtags.so
bf209cc5 166%attr(755,root,root) %{_libdir}/kde4/kipiplugin_*.so
7499557c 167%{_mandir}/man1/digitaglinktree.1*
8fed4c5b 168%{_mandir}/man1/cleanup_digikamdb.1*
d8fc6a3f
AM
169%{_datadir}/appdata/digiKam*.xml
170%{_datadir}/appdata/digikam*.xml
171%{_datadir}/appdata/showfoto.appdata.xml
c36996c2 172%dir %{_datadir}/apps/digikam
c36996c2 173%{_datadir}/apps/digikam/about
44a32c2e 174%{_datadir}/apps/digikam/importui.rc
c36996c2 175%{_datadir}/apps/digikam/data
25125ed6
RT
176%{_datadir}/apps/digikam/digikamimageplugin_*.rc
177%{_datadir}/apps/digikam/digikamimagewindowui.rc
178%{_datadir}/apps/digikam/digikamui.rc
7499557c 179%{_datadir}/apps/digikam/icons
25125ed6 180%{_datadir}/apps/digikam/lighttablewindowui.rc
8fed4c5b 181%{_datadir}/apps/digikam/queuemgrwindowui.rc
7499557c 182%{_datadir}/apps/digikam/tips
bf209cc5 183%{_datadir}/apps/gpssync
3847bb61 184%{_datadir}/apps/kipi
bf209cc5
AM
185%{_datadir}/apps/kipiplugin_*
186%{_datadir}/apps/libkface
187%{_datadir}/apps/libkgeomap
963f3c1c 188%{_datadir}/apps/photolayoutseditor
319a89db 189%{_datadir}/apps/showfoto
25125ed6
RT
190%{_datadir}/kde4/services/digikamalbums.protocol
191%{_datadir}/kde4/services/digikamdates.protocol
7499557c 192%{_datadir}/kde4/services/digikamimageplugin_*.desktop
bf209cc5 193%{_datadir}/kde4/services/digikammapimages.protocol
25125ed6
RT
194%{_datadir}/kde4/services/digikamsearch.protocol
195%{_datadir}/kde4/services/digikamtags.protocol
bf209cc5 196%{_datadir}/kde4/services/kipiplugin_*.desktop
8fed4c5b 197%{_datadir}/apps/digikam/digikam.notifyrc
f1d85640 198%{_datadir}/apps/solid/actions/digikam-opencamera.desktop
25125ed6 199%{_datadir}/kde4/servicetypes/digikamimageplugin.desktop
963f3c1c
AA
200%{_datadir}/kde4/servicetypes/photolayoutseditorborderplugin.desktop
201%{_datadir}/kde4/servicetypes/photolayoutseditoreffectplugin.desktop
38f1c629 202%{_datadir}/templates/kipiplugins_photolayoutseditor
5262d002 203%{_datadir}/config.kcfg/photolayoutseditor.kcfg
bf209cc5 204%{_iconsdir}/*/*/actions/*.png
8fed4c5b 205%{_iconsdir}/*/*/apps/*.png
bf209cc5 206%{_iconsdir}/*/*/apps/*.svgz
25125ed6 207%{_desktopdir}/kde4/*.desktop
16378764 208
209%files devel
b58138fb 210%defattr(644,root,root,755)
a7ef1db7 211%attr(755,root,root) %{_libdir}/libdigikamcore.so
25125ed6 212%attr(755,root,root) %{_libdir}/libdigikamdatabase.so
bf209cc5
AM
213%attr(755,root,root) %{_libdir}/libkface.so
214%attr(755,root,root) %{_libdir}/libkgeomap.so
215%attr(755,root,root) %{_libdir}/libkipiplugins.so
216%attr(755,root,root) %{_libdir}/libmediawiki.so
291eb8d8 217%attr(755,root,root) %{_libdir}/libkvkontakte.so
efe5eb2e 218%{_libdir}/cmake/Kface-*
291eb8d8 219%{_libdir}/cmake/LibKVkontakte
This page took 0.125564 seconds and 4 git commands to generate.