]> git.pld-linux.org Git - packages/digikam.git/blame - digikam.spec
- BR added
[packages/digikam.git] / digikam.spec
CommitLineData
542fb54c 1#
b939ed32 2%define qtver 4.4.3
c34b6b99 3%define kdever 4.2.1
b939ed32 4
71912001 5Summary: A KDE frontend for gphoto2
9336ef07 6Summary(pl.UTF-8): Interfejs KDE do gphoto2
71912001 7Name: digikam
e8a4598c 8Version: 0.10.0
bd8bfccb 9Release: 4
71912001 10License: GPL
bbee21d4 11Group: X11/Applications/Graphics
c34b6b99
AM
12Source0: http://dl.sourceforge.net/digikam/%{name}-%{version}.tar.bz2
13# Source0-md5: 6c6daf958ff4fe93974f1074ba967cd9
c97fe0ce 14URL: http://www.digikam.org/
f1d85640 15Patch0: %{name}-link.patch
ad6a12d4 16BuildRequires: Qt3Support-devel >= %{qtver}
b939ed32 17BuildRequires: QtCore-devel >= %{qtver}
2e4093ff 18BuildRequires: QtDesigner-devel >= %{qtver}
b939ed32 19BuildRequires: QtSql-devel >= %{qtver}
ad6a12d4 20BuildRequires: QtSvg-devel >= %{qtver}
54e075b6 21BuildRequires: automoc4
27f6a145 22BuildRequires: cmake >= 2.6.2
ad6a12d4 23BuildRequires: jasper-devel
0a708609 24BuildRequires: kde4-kdeedu-devel >= %{kdever}
f1d85640 25BuildRequires: kde4-kdegraphics-devel >= %{kdever}
26BuildRequires: kde4-kdepimlibs-devel >= %{kdever}
ad6a12d4 27BuildRequires: lcms-devel
29465dd2 28BuildRequires: lensfun-devel
ad6a12d4 29BuildRequires: libgphoto2-devel
819ae4a0 30BuildRequires: libtiff-devel
4bd81adb 31BuildRequires: pkgconfig >= 1:0.9.0
ad6a12d4 32BuildRequires: qt4-qmake >= %{qtver}
16f9da1b 33BuildRequires: rpmbuild(macros) >= 1.129
08c8f1c6 34BuildRequires: sed >= 4.0
b76f708a 35Requires: QtSql-sqlite3
09901b94 36Obsoletes: digikamimageplugins
71912001 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
71912001 39%description
40Designed to be a standalone application to preview and download images
5d9f4722
JB
41from a digital camera on a Linux machine.
42
c2abdcf5
JR
43%description -l pl.UTF-8
44Samodzielna aplikacja do oglądania i ściągania obrazków z aparatów
5d9f4722 45cyfrowych pod Linuksem.
71912001 46
16378764 47%package devel
48Summary: A KDE frontend for gphoto2 - header files
9336ef07 49Summary(pl.UTF-8): Interfejs KDE do gphoto2 - pliki nagłówkowe
16378764 50Group: Development/Libraries
b58138fb 51Requires: %{name} = %{version}-%{release}
16378764 52
53%description devel
b58138fb 54A KDE frontend for gphoto2 - header files.
16378764 55
c2abdcf5
JR
56%description devel -l pl.UTF-8
57Interfejs KDE do gphoto2 - pliki nagłówkowe.
16378764 58
71912001 59%prep
c34b6b99 60%setup -q
f1d85640 61%patch0 -p0
71912001 62
028efeaa 63%build
54e075b6
AM
64install -d build
65cd build
66%cmake \
b939ed32 67 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
e8010219 68 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
b939ed32 69 -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
af5d9803 70%if "%{_lib}" == "lib64"
b939ed32 71 -DLIB_SUFFIX=64 \
af5d9803 72%endif
b939ed32 73 ../
54e075b6 74
71912001 75%{__make}
76
71912001 77%install
78rm -rf $RPM_BUILD_ROOT
5d9f4722 79
25125ed6 80%{__make} -C build install \
20118f11 81 DESTDIR=$RPM_BUILD_ROOT \
b91f9341 82 kde_htmldir=%{_kdedocdir} \
83 kde_libs_htmldir=%{_kdedocdir}
84
08c8f1c6 85%find_lang %{name} --with-kde --all-name
71912001 86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
e8f56759 90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
b58138fb 92
23238fb9 93%files -f %{name}.lang
71912001 94%defattr(644,root,root,755)
08c8f1c6 95%doc AUTHORS ChangeLog README
25125ed6 96%attr(755,root,root) %{_bindir}/digikam
e5426923 97%dir %{_datadir}/apps/digikam/utils
f1d85640 98%attr(755,root,root) %{_datadir}/apps/digikam/utils/digikam-camera
25125ed6
RT
99%attr(755,root,root) %{_bindir}/digikamthemedesigner
100%attr(755,root,root) %{_bindir}/digitaglinktree
101%attr(755,root,root) %{_bindir}/showfoto
7499557c 102%attr(755,root,root) %ghost %{_libdir}/libdigikamdatabase.so.1
25125ed6 103%attr(755,root,root) %{_libdir}/libdigikamdatabase.so.*.*.*
7499557c 104%attr(755,root,root) %ghost %{_libdir}/libdigikamcore.so.1
a7ef1db7 105%attr(755,root,root) %{_libdir}/libdigikamcore.so.*.*.*
25125ed6
RT
106%attr(755,root,root) %{_libdir}/kde4/digikamimageplugin_*.so
107%attr(755,root,root) %{_libdir}/kde4/kio_digikamalbums.so
108%attr(755,root,root) %{_libdir}/kde4/kio_digikamdates.so
109%attr(755,root,root) %{_libdir}/kde4/kio_digikamsearch.so
110%attr(755,root,root) %{_libdir}/kde4/kio_digikamtags.so
7499557c 111%{_mandir}/man1/digitaglinktree.1*
c36996c2 112%dir %{_datadir}/apps/digikam
c36996c2 113%{_datadir}/apps/digikam/about
7499557c 114%{_datadir}/apps/digikam/cameraui.rc
c36996c2 115%{_datadir}/apps/digikam/data
25125ed6
RT
116%{_datadir}/apps/digikam/digikamimageplugin_*.rc
117%{_datadir}/apps/digikam/digikamimagewindowui.rc
118%{_datadir}/apps/digikam/digikamui.rc
7499557c 119%{_datadir}/apps/digikam/icons
25125ed6 120%{_datadir}/apps/digikam/lighttablewindowui.rc
7499557c
ER
121%{_datadir}/apps/digikam/themes
122%{_datadir}/apps/digikam/tips
319a89db 123%{_datadir}/apps/showfoto
25125ed6
RT
124%{_datadir}/kde4/services/digikamalbums.protocol
125%{_datadir}/kde4/services/digikamdates.protocol
7499557c 126%{_datadir}/kde4/services/digikamimageplugin_*.desktop
25125ed6
RT
127%{_datadir}/kde4/services/digikamsearch.protocol
128%{_datadir}/kde4/services/digikamtags.protocol
f1d85640 129%{_datadir}/apps/solid/actions/digikam-opencamera.desktop
25125ed6 130%{_datadir}/kde4/servicetypes/digikamimageplugin.desktop
25125ed6 131%{_desktopdir}/kde4/*.desktop
16378764 132
133%files devel
b58138fb 134%defattr(644,root,root,755)
a7ef1db7 135%attr(755,root,root) %{_libdir}/libdigikamcore.so
25125ed6 136%attr(755,root,root) %{_libdir}/libdigikamdatabase.so
78244360 137%{_includedir}/*.h
b58138fb 138%{_includedir}/digikam
This page took 0.074759 seconds and 4 git commands to generate.