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