]>
Commit | Line | Data |
---|---|---|
542fb54c | 1 | # |
ad6a12d4 | 2 | %define _beta rc2 |
b939ed32 | 3 | %define qtver 4.4.3 |
f1d85640 | 4 | %define kdever 4.1.96 |
b939ed32 | 5 | |
71912001 | 6 | Summary: A KDE frontend for gphoto2 |
9336ef07 | 7 | Summary(pl.UTF-8): Interfejs KDE do gphoto2 |
71912001 | 8 | Name: digikam |
e8a4598c | 9 | Version: 0.10.0 |
e5426923 | 10 | Release: 0.%{_beta}.2 |
71912001 | 11 | License: GPL |
bbee21d4 | 12 | Group: X11/Applications/Graphics |
542fb54c | 13 | Source0: http://dl.sourceforge.net/digikam/%{name}-%{version}-%{_beta}.tar.bz2 |
ad6a12d4 | 14 | # Source0-md5: 7e149f44b3ba743ee6f8880ba748c282 |
71912001 | 15 | URL: http://digikam.sourceforge.net/ |
f1d85640 | 16 | Patch0: %{name}-link.patch |
ad6a12d4 | 17 | BuildRequires: Qt3Support-devel >= %{qtver} |
b939ed32 | 18 | BuildRequires: QtCore-devel >= %{qtver} |
19 | BuildRequires: QtSql-devel >= %{qtver} | |
ad6a12d4 | 20 | BuildRequires: QtSvg-devel >= %{qtver} |
54e075b6 | 21 | BuildRequires: automoc4 |
27f6a145 | 22 | BuildRequires: cmake >= 2.6.2 |
ad6a12d4 | 23 | BuildRequires: jasper-devel |
f1d85640 | 24 | BuildRequires: kde4-kdegraphics-devel >= %{kdever} |
25 | BuildRequires: kde4-kdepimlibs-devel >= %{kdever} | |
ad6a12d4 | 26 | BuildRequires: lcms-devel |
29465dd2 | 27 | BuildRequires: lensfun-devel |
ad6a12d4 | 28 | BuildRequires: libgphoto2-devel |
4bd81adb | 29 | BuildRequires: pkgconfig >= 1:0.9.0 |
ad6a12d4 | 30 | BuildRequires: qt4-qmake >= %{qtver} |
16f9da1b | 31 | BuildRequires: rpmbuild(macros) >= 1.129 |
08c8f1c6 | 32 | BuildRequires: sed >= 4.0 |
b76f708a | 33 | Requires: QtSql-sqlite3 |
09901b94 | 34 | Obsoletes: digikamimageplugins |
71912001 | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
71912001 | 37 | %description |
38 | Designed to be a standalone application to preview and download images | |
5d9f4722 JB |
39 | from a digital camera on a Linux machine. |
40 | ||
c2abdcf5 JR |
41 | %description -l pl.UTF-8 |
42 | Samodzielna aplikacja do oglądania i ściągania obrazków z aparatów | |
5d9f4722 | 43 | cyfrowych pod Linuksem. |
71912001 | 44 | |
16378764 | 45 | %package devel |
46 | Summary: A KDE frontend for gphoto2 - header files | |
9336ef07 | 47 | Summary(pl.UTF-8): Interfejs KDE do gphoto2 - pliki nagłówkowe |
16378764 | 48 | Group: Development/Libraries |
b58138fb | 49 | Requires: %{name} = %{version}-%{release} |
16378764 | 50 | |
51 | %description devel | |
b58138fb | 52 | A KDE frontend for gphoto2 - header files. |
16378764 | 53 | |
c2abdcf5 JR |
54 | %description devel -l pl.UTF-8 |
55 | Interfejs KDE do gphoto2 - pliki nagłówkowe. | |
16378764 | 56 | |
71912001 | 57 | %prep |
542fb54c | 58 | %setup -q -n %{name}-%{version}-%{_beta} |
f1d85640 | 59 | %patch0 -p0 |
71912001 | 60 | |
028efeaa | 61 | %build |
54e075b6 AM |
62 | install -d build |
63 | cd build | |
64 | %cmake \ | |
b939ed32 | 65 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
66 | -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \ | |
af5d9803 | 67 | %if "%{_lib}" == "lib64" |
b939ed32 | 68 | -DLIB_SUFFIX=64 \ |
af5d9803 | 69 | %endif |
b939ed32 | 70 | ../ |
54e075b6 | 71 | |
71912001 | 72 | %{__make} |
73 | ||
71912001 | 74 | %install |
75 | rm -rf $RPM_BUILD_ROOT | |
5d9f4722 | 76 | |
25125ed6 | 77 | %{__make} -C build install \ |
20118f11 | 78 | DESTDIR=$RPM_BUILD_ROOT \ |
b91f9341 | 79 | kde_htmldir=%{_kdedocdir} \ |
80 | kde_libs_htmldir=%{_kdedocdir} | |
81 | ||
08c8f1c6 | 82 | %find_lang %{name} --with-kde --all-name |
71912001 | 83 | |
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
e8f56759 | 87 | %post -p /sbin/ldconfig |
88 | %postun -p /sbin/ldconfig | |
b58138fb | 89 | |
23238fb9 | 90 | %files -f %{name}.lang |
71912001 | 91 | %defattr(644,root,root,755) |
08c8f1c6 | 92 | %doc AUTHORS ChangeLog README |
25125ed6 | 93 | %attr(755,root,root) %{_bindir}/digikam |
e5426923 | 94 | %dir %{_datadir}/apps/digikam/utils |
f1d85640 | 95 | %attr(755,root,root) %{_datadir}/apps/digikam/utils/digikam-camera |
25125ed6 RT |
96 | %attr(755,root,root) %{_bindir}/digikamthemedesigner |
97 | %attr(755,root,root) %{_bindir}/digitaglinktree | |
98 | %attr(755,root,root) %{_bindir}/showfoto | |
7499557c | 99 | %attr(755,root,root) %ghost %{_libdir}/libdigikamdatabase.so.1 |
25125ed6 | 100 | %attr(755,root,root) %{_libdir}/libdigikamdatabase.so.*.*.* |
7499557c | 101 | %attr(755,root,root) %ghost %{_libdir}/libdigikamcore.so.1 |
a7ef1db7 | 102 | %attr(755,root,root) %{_libdir}/libdigikamcore.so.*.*.* |
25125ed6 RT |
103 | %attr(755,root,root) %{_libdir}/kde4/digikamimageplugin_*.so |
104 | %attr(755,root,root) %{_libdir}/kde4/kio_digikamalbums.so | |
105 | %attr(755,root,root) %{_libdir}/kde4/kio_digikamdates.so | |
106 | %attr(755,root,root) %{_libdir}/kde4/kio_digikamsearch.so | |
107 | %attr(755,root,root) %{_libdir}/kde4/kio_digikamtags.so | |
7499557c | 108 | %{_mandir}/man1/digitaglinktree.1* |
c36996c2 | 109 | %dir %{_datadir}/apps/digikam |
c36996c2 | 110 | %{_datadir}/apps/digikam/about |
7499557c | 111 | %{_datadir}/apps/digikam/cameraui.rc |
c36996c2 | 112 | %{_datadir}/apps/digikam/data |
25125ed6 RT |
113 | %{_datadir}/apps/digikam/digikamimageplugin_*.rc |
114 | %{_datadir}/apps/digikam/digikamimagewindowui.rc | |
115 | %{_datadir}/apps/digikam/digikamui.rc | |
7499557c | 116 | %{_datadir}/apps/digikam/icons |
25125ed6 | 117 | %{_datadir}/apps/digikam/lighttablewindowui.rc |
7499557c ER |
118 | %{_datadir}/apps/digikam/themes |
119 | %{_datadir}/apps/digikam/tips | |
319a89db | 120 | %{_datadir}/apps/showfoto |
25125ed6 RT |
121 | %{_datadir}/kde4/services/digikamalbums.protocol |
122 | %{_datadir}/kde4/services/digikamdates.protocol | |
7499557c | 123 | %{_datadir}/kde4/services/digikamimageplugin_*.desktop |
25125ed6 RT |
124 | %{_datadir}/kde4/services/digikamsearch.protocol |
125 | %{_datadir}/kde4/services/digikamtags.protocol | |
f1d85640 | 126 | %{_datadir}/apps/solid/actions/digikam-opencamera.desktop |
25125ed6 | 127 | %{_datadir}/kde4/servicetypes/digikamimageplugin.desktop |
25125ed6 | 128 | %{_desktopdir}/kde4/*.desktop |
2ddecc23 | 129 | %exclude %{_iconsdir}/*/scalable |
25125ed6 RT |
130 | %{_iconsdir}/*/*/actions/adjustcurves.* |
131 | %{_iconsdir}/*/*/actions/adjusthsl.* | |
132 | %{_iconsdir}/*/*/actions/adjustlevels.* | |
133 | %{_iconsdir}/*/*/actions/adjustrgb.* | |
25125ed6 RT |
134 | %{_iconsdir}/*/*/actions/antivignetting.* |
135 | %{_iconsdir}/*/*/actions/autocorrection.* | |
136 | %{_iconsdir}/*/*/actions/blurfx.* | |
137 | %{_iconsdir}/*/*/actions/blurimage.* | |
138 | %{_iconsdir}/*/*/actions/bordertool.* | |
139 | %{_iconsdir}/*/*/actions/bwtonal.* | |
140 | %{_iconsdir}/*/*/actions/channelmixer.* | |
141 | %{_iconsdir}/*/*/actions/charcoaltool.* | |
142 | %{_iconsdir}/*/*/actions/colorfx.* | |
143 | %{_iconsdir}/*/*/actions/colormanagement.* | |
144 | %{_iconsdir}/*/*/actions/contrast.* | |
25125ed6 RT |
145 | %{_iconsdir}/*/*/actions/depth16to8.* |
146 | %{_iconsdir}/*/*/actions/depth8to16.* | |
25125ed6 RT |
147 | %{_iconsdir}/*/*/actions/distortionfx.* |
148 | %{_iconsdir}/*/*/actions/editimage.* | |
149 | %{_iconsdir}/*/*/actions/embosstool.* | |
150 | %{_iconsdir}/*/*/actions/exifinfo.* | |
151 | %{_iconsdir}/*/*/actions/filmgrain.* | |
152 | %{_iconsdir}/*/*/actions/freerotation.* | |
25125ed6 RT |
153 | %{_iconsdir}/*/*/actions/hotpixels.* |
154 | %{_iconsdir}/*/*/actions/imagecomment.* | |
25125ed6 RT |
155 | %{_iconsdir}/*/*/actions/infrared.* |
156 | %{_iconsdir}/*/*/actions/inpainting.* | |
25125ed6 RT |
157 | %{_iconsdir}/*/*/actions/invertimage.* |
158 | %{_iconsdir}/*/*/actions/lensdistortion.* | |
7499557c ER |
159 | %{_iconsdir}/*/*/actions/lighttable.* |
160 | %{_iconsdir}/*/*/actions/lighttableadd.* | |
25125ed6 RT |
161 | %{_iconsdir}/*/*/actions/noisereduction.* |
162 | %{_iconsdir}/*/*/actions/oilpaint.* | |
163 | %{_iconsdir}/*/*/actions/perspective.* | |
164 | %{_iconsdir}/*/*/actions/raindrop.* | |
165 | %{_iconsdir}/*/*/actions/ratiocrop.* | |
166 | %{_iconsdir}/*/*/actions/redeyes.* | |
25125ed6 RT |
167 | %{_iconsdir}/*/*/actions/restoration.* |
168 | %{_iconsdir}/*/*/actions/sharpenimage.* | |
169 | %{_iconsdir}/*/*/actions/shear.* | |
170 | %{_iconsdir}/*/*/actions/superimpose.* | |
171 | %{_iconsdir}/*/*/actions/texture.* | |
7499557c | 172 | %{_iconsdir}/*/*/actions/transform-crop-and-resize.* |
25125ed6 | 173 | %{_iconsdir}/*/*/actions/viewimage.* |
7499557c ER |
174 | %{_iconsdir}/*/*/actions/view-object-histogram-linear.* |
175 | %{_iconsdir}/*/*/actions/view-object-histogram-logarithmic.* | |
25125ed6 | 176 | %{_iconsdir}/*/*/actions/whitebalance.* |
25125ed6 | 177 | %{_iconsdir}/*/*/actions/zoom-select-fit.* |
7499557c | 178 | %{_iconsdir}/*/*/apps/digikam.* |
7499557c | 179 | %{_iconsdir}/*/*/apps/showfoto.* |
25125ed6 | 180 | %{_iconsdir}/*/*/mimetypes/raw.* |
16378764 | 181 | |
182 | %files devel | |
b58138fb | 183 | %defattr(644,root,root,755) |
a7ef1db7 | 184 | %attr(755,root,root) %{_libdir}/libdigikamcore.so |
25125ed6 | 185 | %attr(755,root,root) %{_libdir}/libdigikamdatabase.so |
78244360 | 186 | %{_includedir}/*.h |
b58138fb | 187 | %{_includedir}/digikam |