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