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